YARP  2.3.68+272-20170522.1+git50f0ae7
Yet Another Robot Platform
yarp::os::LogForwarder Class Reference

#include <yarp/os/impl/LogForwarder.h>

Public Member Functions

void forward (const std::string &message)
 

Static Public Member Functions

static LogForwardergetInstance ()
 
static void clearInstance ()
 

Protected Member Functions

 LogForwarder ()
 
 ~LogForwarder ()
 

Private Member Functions

 LogForwarder (LogForwarder const &)
 
LogForwarderoperator= (LogForwarder const &)
 

Private Attributes

char logPortName [MAX_STRING_SIZE]
 
yarp::os::BufferedPort< yarp::os::Bottle > * outputPort
 

Static Private Attributes

static yarp::os::Semaphoresem = YARP_NULLPTR
 
static LogForwarderinstance = YARP_NULLPTR
 

Detailed Description

Definition at line 22 of file LogForwarder.h.

Constructor & Destructor Documentation

◆ LogForwarder() [1/2]

yarp::os::LogForwarder::LogForwarder ( )
protected

Definition at line 49 of file LogForwarder.cpp.

◆ ~LogForwarder()

yarp::os::LogForwarder::~LogForwarder ( )
protected

Definition at line 76 of file LogForwarder.cpp.

◆ LogForwarder() [2/2]

yarp::os::LogForwarder::LogForwarder ( LogForwarder const &  )
inlineprivate

Definition at line 36 of file LogForwarder.h.

Member Function Documentation

◆ clearInstance()

void yarp::os::LogForwarder::clearInstance ( )
static

Definition at line 25 of file LogForwarder.cpp.

◆ forward()

void yarp::os::LogForwarder::forward ( const std::string &  message)

Definition at line 33 of file LogForwarder.cpp.

◆ getInstance()

yarp::os::LogForwarder * yarp::os::LogForwarder::getInstance ( )
static

Definition at line 16 of file LogForwarder.cpp.

◆ operator=()

LogForwarder& yarp::os::LogForwarder::operator= ( LogForwarder const &  )
inlineprivate

Definition at line 37 of file LogForwarder.h.

Member Data Documentation

◆ instance

yarp::os::LogForwarder * yarp::os::LogForwarder::instance = YARP_NULLPTR
staticprivate

Definition at line 37 of file LogForwarder.h.

◆ logPortName

char yarp::os::LogForwarder::logPortName[MAX_STRING_SIZE]
private

Definition at line 33 of file LogForwarder.h.

◆ outputPort

yarp::os::BufferedPort<yarp::os::Bottle>* yarp::os::LogForwarder::outputPort
private

Definition at line 34 of file LogForwarder.h.

◆ sem

yarp::os::Semaphore * yarp::os::LogForwarder::sem = YARP_NULLPTR
staticprivate

Definition at line 32 of file LogForwarder.h.


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