deployer-funcs.hpp
Go to the documentation of this file.
00001 /***************************************************************************
00002  Copyright (c) 2008 S Roderick <xxxkiwi DOT xxxnet AT macxxx DOT comxxx>
00003                                (remove the x's above)
00004 
00005  ***************************************************************************
00006  *   This library is free software; you can redistribute it and/or         *
00007  *   modify it under the terms of the GNU Lesser General Public            *
00008  *   License as published by the Free Software Foundation; either          *
00009  *   version 2.1 of the License, or (at your option) any later version.    *
00010  *                                                                         *
00011  *   This library is distributed in the hope that it will be useful,       *
00012  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00013  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU     *
00014  *   Lesser General Public License for more details.                       *
00015  *                                                                         *
00016  *   You should have received a copy of the GNU Lesser General Public      *
00017  *   License along with this library; if not, write to the Free Software   *
00018  *   Foundation, Inc., 59 Temple Place,                                    *
00019  *   Suite 330, Boston, MA  02111-1307  USA                                *
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 // namespace
00116 }
00117 
00118 #endif


ocl
Author(s): OCL Development Team
autogenerated on Thu Jan 2 2014 11:38:08