22 #ifndef ORO_DEPLOYER_FUNCS_HPP 23 #define ORO_DEPLOYER_FUNCS_HPP 26 #include <boost/program_options.hpp> 27 #include <rtt/rtt-config.h> 56 std::string& siteFile,
57 std::vector<std::string>& scriptFiles,
59 bool& requireNameService,
60 bool& deploymentOnlyChecked,
62 boost::program_options::variables_map& vm,
63 boost::program_options::options_description* otherOptions=NULL);
79 #ifdef ORO_BUILD_RTALLOC 91 memorySize(
size_t s) :
100 inline std::ostream&
operator<<(std::ostream& os, memorySize m)
108 extern boost::program_options::options_description deployerRtallocOptions(
109 memorySize& rtallocMemorySize);
126 bool initialize(
const size_t memSize);
141 extern void deployerDumpTLSF();
143 #if defined(ORO_BUILD_LOGGING) && defined(OROSEM_LOG4CPP_LOGGING) 146 extern boost::program_options::options_description deployerRttLog4cppOptions(
147 std::string& rttLog4cppConfigFile);
157 extern int deployerConfigureRttLog4cppCategory(
const std::string& rttLog4cppConfigFile);
std::ostream & operator<<(std::ostream &os, comcol f)
int deployerParseCmdLine(int argc, char **argv, std::string &siteFile, std::vector< std::string > &scriptFiles, std::string &name, bool &requireNameService, bool &deploymentOnlyChecked, int &minNumberCPU, po::variables_map &vm, po::options_description *otherOptions)
int enforceMinNumberCPU(const int minNumberCPU)