11 #define PROGRAM_NAME "utkscan" 17 int main(
int argc,
char *argv[]){
19 cout <<
"utkscan.cpp : Instancing the UtkScanInterface" << endl;
23 cout <<
"utkscan.cpp : Setting the Program Name" << endl;
27 cout <<
"utkscan.cpp : Performing the setup routine" << endl;
28 scanner.
Setup(argc, argv);
31 cout <<
"utkscan.cpp : Performing Execute method" << endl;
35 }
catch(std::exception &ex) {
40 cout <<
"utkscan.cpp : Closing things out" << endl;
bool Close()
Shutdown cleanly.
bool Setup(int argc, char *argv[])
Setup user options and initialize all required objects.
UtkScanInterface * scanner
void SetProgramName(const std::string &head_)
Set the header string used to prefix output messages.
Class derived from ScanInterface to handle UI for the scan.
std::string ErrorStr(const std::string &str="[ERROR]")
int main(int argc, char *argv[])
int Execute()
Run the program.