libalcommon  2.4.3.28-r2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Typedefs | Functions
Main Function

Typedefs

typedef boost::function1< int,
boost::shared_ptr
< AL::ALBroker > > 
TMainType
 main entry point function pointer. More...
 

Functions

int ALTools::mainFunction (const std::string &pBrokerName, int argc, char *argv[], const TMainType &callback)
 main function for remote modules More...
 

Detailed Description

Typedef Documentation

typedef boost::function1< int, boost::shared_ptr<AL::ALBroker> > TMainType

main entry point function pointer.

Definition at line 24 of file altoolsmain.h.

Function Documentation

int ALTools::mainFunction ( const std::string &  pBrokerName,
int  argc,
char *  argv[],
const TMainType callback 
)

main function for remote modules

Parameters
pBrokerNamename used for the main broker, should be the module name
argcmain argc
argvmain argv
callbacka function pointer to _createModule