A base class for objects that want information about port status changes. More...
#include <yarp/os/PortReport.h>
Public Member Functions | |
virtual | ~PortReport () |
Destructor. More... | |
virtual void | report (const PortInfo &info)=0 |
Callback for port event/state information. More... | |
A base class for objects that want information about port status changes.
Definition at line 30 of file PortReport.h.
|
virtualdefault |
Destructor.
|
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.
info | Port event/state information |
Implemented in ROSReport.