libalcommon  2.0.6.8
/home/opennao/work/master/sdk/libnaoqi/libalcommon/alcommon/altoolsmain.h
Go to the documentation of this file.
00001 
00007 #pragma once
00008 #ifndef _LIBALCOMMON_ALCOMMON_ALTOOLSMAIN_H_
00009 #define _LIBALCOMMON_ALCOMMON_ALTOOLSMAIN_H_
00010 
00011 #include <alcommon/api.h>
00012 #include <boost/shared_ptr.hpp>
00013 #include <boost/function/function_fwd.hpp>
00014 
00016 namespace AL
00017 {
00018   class ALBroker;
00019 }
00020 
00024 typedef boost::function1< int, boost::shared_ptr<AL::ALBroker> > TMainType;
00025 
00027 namespace ALTools
00028 {
00036   int mainFunction(const std::string &pBrokerName, int argc, char *argv[], const TMainType &callback);
00037 }
00038 
00039 #endif  // _LIBALCOMMON_ALCOMMON_ALTOOLSMAIN_H_
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines