iCub-main
Loading...
Searching...
No Matches
Public Member Functions | List of all members
yarp::dev::IServerLogger Class Referenceabstract

Interface for a server that logs status messages. More...

#include <LoggerInterfaces.h>

Public Member Functions

virtual bool log (const std::string &key, const yarp::os::Value &data)=0
 Get a reference to log server data.
 
virtual bool log (const yarp::os::Bottle &data)=0
 Log data to server.
 

Detailed Description

Interface for a server that logs status messages.

Definition at line 107 of file LoggerInterfaces.h.

Member Function Documentation

◆ log() [1/2]

virtual bool yarp::dev::IServerLogger::log ( const std::string &  key,
const yarp::os::Value &  data 
)
pure virtual

Get a reference to log server data.

Parameters
keyvalue identifier/address.
Returns
pointer to a data access interface or NULL if key is not found. Log data to server.
Parameters
keyvalue identifier/address
data
Returns
true/false on success failure (failure is notified if the format of the message is unknown)

◆ log() [2/2]

virtual bool yarp::dev::IServerLogger::log ( const yarp::os::Bottle &  data)
pure virtual

Log data to server.

Parameters
dataa bottle contains the data to log
Returns
true/false on success failure (failure is notified if the format of the message is unknown)

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