8 #ifndef _LIBALCOMMON_ALCOMMON_ALTOOLSMAIN_H_
9 #define _LIBALCOMMON_ALCOMMON_ALTOOLSMAIN_H_
12 #include <boost/shared_ptr.hpp>
13 #include <boost/function/function_fwd.hpp>
24 typedef boost::function1< int, boost::shared_ptr<AL::ALBroker> >
TMainType;
39 #endif // _LIBALCOMMON_ALCOMMON_ALTOOLSMAIN_H_
int mainFunction(const std::string &pBrokerName, int argc, char *argv[], const TMainType &callback)
main function for remote modules
boost::function1< int, boost::shared_ptr< AL::ALBroker > > TMainType
main entry point function pointer.