00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef ORO_DEPLOYER_FUNCS_HPP
00023 #define ORO_DEPLOYER_FUNCS_HPP
00024
00025 #include <string>
00026 #include <boost/program_options.hpp>
00027 #include <rtt/rtt-config.h>
00028
00029 namespace OCL
00030 {
00031
00052 extern int deployerParseCmdLine(
00053 int argc,
00054 char** argv,
00055 std::string& siteFile,
00056 std::vector<std::string>& scriptFiles,
00057 std::string& name,
00058 bool& requireNameService,
00059 boost::program_options::variables_map& vm,
00060 boost::program_options::options_description* otherOptions=NULL);
00061
00062
00063 #ifdef ORO_BUILD_RTALLOC
00064
00069 struct memorySize
00070 {
00071 public:
00072 memorySize() :
00073 size(0)
00074 {}
00075 memorySize(size_t s) :
00076 size(s)
00077 {}
00078 size_t size;
00079 };
00080
00084 inline std::ostream& operator<<(std::ostream& os, memorySize m)
00085 {
00086 os << m.size;
00087 return os;
00088 }
00089
00092 extern boost::program_options::options_description deployerRtallocOptions(
00093 memorySize& rtallocMemorySize);
00094
00095 #if defined(ORO_BUILD_LOGGING) && defined(OROSEM_LOG4CPP_LOGGING)
00096
00098 extern boost::program_options::options_description deployerRttLog4cppOptions(
00099 std::string& rttLog4cppConfigFile);
00100
00109 extern int deployerConfigureRttLog4cppCategory(const std::string& rttLog4cppConfigFile);
00110
00111 #endif
00112
00113 #endif
00114
00115
00116 }
00117
00118 #endif