Namespaces | Macros | Functions | Variables
deployer-funcs.cpp File Reference
#include "deployer-funcs.hpp"
#include <rtt/Logger.hpp>
#include <cstdio>
#include <iostream>
#include <sstream>
#include <string>
#include <functional>
#include <boost/program_options.hpp>
#include <boost/program_options/positional_options.hpp>
#include <boost/assign/list_of.hpp>
#include <boost/algorithm/string/case_conv.hpp>
Include dependency graph for deployer-funcs.cpp:

Go to the source code of this file.

Namespaces

 OCL
 

Macros

#define ORO_str(s)   #s
 
#define ORO_xstr(s)   ORO_str(s)
 

Functions

int OCL::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)
 
prior to calling

Parse the command line arguments for a deployer program The caller can set defaults for and this function. If the user requests a log level for RTT::Logger, then the logging level is set internally by this function. If the user requests help, then the function displays the help and returns a non-0 value. Any error causes the program usage to be displayed, and a non-0 return value.

Parameters
argcNumber of command line arguments
argvCommand line arguments
siteFileName of the site CPF/XML file for the deployer to load up front
scriptFilesNames of the XML files for the deployer to load and run
nameName of the deployer task
requireNameServiceWhether to require the CORBA name service, or not
minNumberCPUThe minimum number of CPUs required for deployment (0 == no minimum)
vmThe variables map into which the options are parsed.
otherOptionsCaller can pass in other options to check for. If NULL, then is ignored.
Returns
0 if successful, otherwise an error code
int OCL::enforceMinNumberCPU (const int minNumberCPU)
 

Variables

std::map< std::string, RTT::Logger::LogLevelOCL::logMap
 

Macro Definition Documentation

#define ORO_str (   s)    #s

Definition at line 66 of file deployer-funcs.cpp.

#define ORO_xstr (   s)    ORO_str(s)

Definition at line 65 of file deployer-funcs.cpp.



ocl
Author(s): OCL Development Team
autogenerated on Wed Jun 26 2019 19:26:27