orocos_cpp
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
orocos_cpp::LoggerProxy Class Reference

#include <LoggerProxy.hpp>

Inheritance diagram for orocos_cpp::LoggerProxy:
orocos_cpp::LoggerProxyInitializer

Public Member Functions

 LoggerProxy (std::string location, bool is_ior=false)
 
void synchronize ()
 
bool reportComponent (::std::string const &name)
 
bool unreportComponent (::std::string const &name)
 
bool reportPort (::std::string const &component, ::std::string const &port)
 
bool unreportPort (::std::string const &component, ::std::string const &port)
 
bool createLoggingPort (::std::string const &port_name, ::std::string const &type_name)
 
bool removeLoggingPort (::std::string const &port_name)
 
void clear ()
 
::std::string getModelName ()
 
boost::int32_t __orogen_getTID ()
 
- Public Member Functions inherited from orocos_cpp::LoggerProxyInitializer
 LoggerProxyInitializer (std::string location, bool is_ior=false)
 

Public Attributes

OutputProxyPort< boost::int32_t > state
 
RTT::Property< ::std::string > & file
 
RTT::Property< bool > & overwrite_existing_files
 

Static Public Attributes

static const std::string ModelName
 

Additional Inherited Members

- Static Public Member Functions inherited from orocos_cpp::LoggerProxyInitializer
static void initTypes ()
 

Constructor & Destructor Documentation

◆ LoggerProxy()

orocos_cpp::LoggerProxy::LoggerProxy ( std::string  location,
bool  is_ior = false 
)

TaskContext constructor for Logger

Parameters
nameName of the task. This name needs to be unique to make it identifiable via nameservices.
initial_stateThe initial TaskState of the TaskContext. Default is Stopped state.

Member Function Documentation

◆ __orogen_getTID()

boost::int32_t orocos_cpp::LoggerProxy::__orogen_getTID ( )

◆ clear()

void orocos_cpp::LoggerProxy::clear ( )

◆ createLoggingPort()

bool orocos_cpp::LoggerProxy::createLoggingPort ( ::std::string const &  port_name,
::std::string const &  type_name 
)

◆ getModelName()

std::string orocos_cpp::LoggerProxy::getModelName ( )

◆ removeLoggingPort()

bool orocos_cpp::LoggerProxy::removeLoggingPort ( ::std::string const &  port_name)

◆ reportComponent()

bool orocos_cpp::LoggerProxy::reportComponent ( ::std::string const &  name)

◆ reportPort()

bool orocos_cpp::LoggerProxy::reportPort ( ::std::string const &  component,
::std::string const &  port 
)

◆ synchronize()

void orocos_cpp::LoggerProxy::synchronize ( )

◆ unreportComponent()

bool orocos_cpp::LoggerProxy::unreportComponent ( ::std::string const &  name)

◆ unreportPort()

bool orocos_cpp::LoggerProxy::unreportPort ( ::std::string const &  component,
::std::string const &  port 
)

Member Data Documentation

◆ file

RTT::Property< ::std::string >& orocos_cpp::LoggerProxy::file

◆ ModelName

const std::string orocos_cpp::LoggerProxy::ModelName
static

◆ overwrite_existing_files

RTT::Property< bool >& orocos_cpp::LoggerProxy::overwrite_existing_files

◆ state

OutputProxyPort< boost::int32_t > orocos_cpp::LoggerProxy::state

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