lib_config
Public Member Functions | Static Public Member Functions | List of all members
libConfig::Bundle Class Reference

#include <Bundle.hpp>

Public Member Functions

const std::string & getLogDirectory ()
 
const std::string & getConfigurationDirectory ()
 
std::string getConfigurationPath (const std::string &task)
 
const std::string & getDataDirectory ()
 
std::string findFile (const std::string &relativePath)
 

Static Public Member Functions

static BundlegetInstance ()
 

Member Function Documentation

std::string Bundle::findFile ( const std::string &  relativePath)
const std::string & Bundle::getConfigurationDirectory ( )

Returns the path to the directory containing the orogen config files.

std::string Bundle::getConfigurationPath ( const std::string &  task)

Returns the path to the directory containing the orogen config files. It checks all the available bundles.

const std::string & Bundle::getDataDirectory ( )

Returns the path to the directory containing the data files.

Bundle & Bundle::getInstance ( )
static
const std::string & Bundle::getLogDirectory ( )

Returns the log directory path. If the log directory has not been created yet, it will get created while calling this function.


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