YARP
Yet Another Robot Platform
MonitorEventRecord Class Reference

A singleton class to record the port monitor events. More...

#include <portmonitor_carrier/MonitorEvent.h>

Public Types

typedef std::vector< MonitorEventvector_type
 
typedef vector_type::iterator iterator
 
typedef vector_type::const_iterator const_iterator
 

Public Member Functions

void setEvent (const char *name, MonitorBinding *owner, double lifetime=-1.0)
 
void unsetEvent (const char *name, MonitorBinding *owner)
 
bool hasEvent (const char *name)
 
void lock ()
 
void unlock ()
 

Static Public Member Functions

static MonitorEventRecordgetInstance ()
 

Detailed Description

A singleton class to record the port monitor events.

Definition at line 41 of file MonitorEvent.h.

Member Typedef Documentation

◆ const_iterator

typedef vector_type::const_iterator MonitorEventRecord::const_iterator

Definition at line 46 of file MonitorEvent.h.

◆ iterator

typedef vector_type::iterator MonitorEventRecord::iterator

Definition at line 45 of file MonitorEvent.h.

◆ vector_type

Definition at line 44 of file MonitorEvent.h.

Member Function Documentation

◆ getInstance()

static MonitorEventRecord& MonitorEventRecord::getInstance ( )
inlinestatic

Definition at line 99 of file MonitorEvent.h.

◆ hasEvent()

bool MonitorEventRecord::hasEvent ( const char *  name)
inline

Definition at line 70 of file MonitorEvent.h.

◆ lock()

void MonitorEventRecord::lock ( )
inline

Definition at line 89 of file MonitorEvent.h.

◆ setEvent()

void MonitorEventRecord::setEvent ( const char *  name,
MonitorBinding owner,
double  lifetime = -1.0 
)
inline

Definition at line 48 of file MonitorEvent.h.

◆ unlock()

void MonitorEventRecord::unlock ( )
inline

Definition at line 94 of file MonitorEvent.h.

◆ unsetEvent()

void MonitorEventRecord::unsetEvent ( const char *  name,
MonitorBinding owner 
)
inline

Definition at line 61 of file MonitorEvent.h.


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