orocos_cpp
Public Member Functions | List of all members
orocos_cpp::ConfigurationHelper Class Reference

#include <ConfigurationHelper.hpp>

Public Member Functions

bool applyConfig (RTT::TaskContext *context, const libConfig::Configuration &config)
 
bool applyConfig (const std::string &configFilePath, RTT::TaskContext *context, const std::vector< std::string > &names)
 
bool applyConfig (RTT::TaskContext *context, const std::vector< std::string > &names)
 
bool applyConfig (RTT::TaskContext *context, const std::string &conf1)
 
bool applyConfig (RTT::TaskContext *context, const std::string &conf1, const std::string &conf2)
 
bool applyConfig (RTT::TaskContext *context, const std::string &conf1, const std::string &conf2, const std::string &conf3)
 
bool applyConfig (RTT::TaskContext *context, const std::string &conf1, const std::string &conf2, const std::string &conf3, const std::string &conf4)
 
bool registerOverride (const std::string &taskName, libConfig::Configuration &config)
 
bool applyConfigValueOnDSB (RTT::base::DataSourceBase::shared_ptr dsb, const RTT::types::TypeInfo *typeInfo, const libConfig::ConfigValue &value)
 Function applying configuration value on a DataSourceBase object. More...
 

Member Function Documentation

bool orocos_cpp::ConfigurationHelper::applyConfig ( RTT::TaskContext *  context,
const libConfig::Configuration &  config 
)

Applies the given configuration to the task.

Parameters
confThe configuration to be set,
contextto the given context.
Returns
True on success otherwise false.
bool ConfigurationHelper::applyConfig ( const std::string &  configFilePath,
RTT::TaskContext *  context,
const std::vector< std::string > &  names 
)
bool ConfigurationHelper::applyConfig ( RTT::TaskContext *  context,
const std::vector< std::string > &  names 
)
bool ConfigurationHelper::applyConfig ( RTT::TaskContext *  context,
const std::string &  conf1 
)
bool ConfigurationHelper::applyConfig ( RTT::TaskContext *  context,
const std::string &  conf1,
const std::string &  conf2 
)
bool ConfigurationHelper::applyConfig ( RTT::TaskContext *  context,
const std::string &  conf1,
const std::string &  conf2,
const std::string &  conf3 
)
bool ConfigurationHelper::applyConfig ( RTT::TaskContext *  context,
const std::string &  conf1,
const std::string &  conf2,
const std::string &  conf3,
const std::string &  conf4 
)
bool ConfigurationHelper::applyConfigValueOnDSB ( RTT::base::DataSourceBase::shared_ptr  dsb,
const RTT::types::TypeInfo *  typeInfo,
const libConfig::ConfigValue &  value 
)

Function applying configuration value on a DataSourceBase object.

Parameters
dsbThe shared pointer object pointing to the DataSourceBase object. This will be modified!
typeInfoTypeInfo object containing the type information.
valueIs the ConfigValue object which will be applied.
Returns
True if it runs through (probably correct), false if an error was detected.
bool ConfigurationHelper::registerOverride ( const std::string &  taskName,
libConfig::Configuration &  config 
)

The documentation for this class was generated from the following files: