YARP  2.3.68+272-20170522.1+git50f0ae7
Yet Another Robot Platform
yarp::os::PortReport Class Referenceabstract

A base class for objects that want information about port status changes. More...

#include <yarp/os/PortReport.h>

+ Inheritance diagram for yarp::os::PortReport:

Public Member Functions

virtual ~PortReport ()
 Destructor. More...
 
virtual void report (const PortInfo &info)=0
 Callback for port event/state information. More...
 

Detailed Description

A base class for objects that want information about port status changes.

Definition at line 26 of file PortReport.h.

Constructor & Destructor Documentation

◆ ~PortReport()

yarp::os::PortReport::~PortReport ( )
virtual

Destructor.

Definition at line 10 of file PortReport.cpp.

Member Function Documentation

◆ report()

virtual void yarp::os::PortReport::report ( const PortInfo info)
pure virtual

Callback for port event/state information.

This callback must be careful about performing any operation on the port it is receiving information about, since that port is locked until this callback completes. To avoid deadlocks, take action based on port reports in a separate thread.

Parameters
infoPort event/state information

Implemented in ROSReport.


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