libalcommon
2.5.7.1
|
Typedefs | |
typedef boost::function1< int, boost::shared_ptr < AL::ALBroker > > | TMainType |
main entry point function pointer. More... | |
Functions | |
ALCOMMON_API int | ALTools::mainFunction (const std::string &pBrokerName, int argc, char *argv[], const TMainType &callback) |
main function for remote modules More... | |
typedef boost::function1< int, boost::shared_ptr<AL::ALBroker> > TMainType |
main entry point function pointer.
Definition at line 24 of file altoolsmain.h.
ALCOMMON_API int ALTools::mainFunction | ( | const std::string & | pBrokerName, |
int | argc, | ||
char * | argv[], | ||
const TMainType & | callback | ||
) |
main function for remote modules
pBrokerName | name used for the main broker, should be the module name |
argc | main argc |
argv | main argv |
callback | a function pointer to _createModule |