yarp-devices
Public Member Functions | Private Attributes | List of all members
roboticslab::OneWayMonitor Class Reference

Registers load statistics per single CAN bus.

#include <BusLoadMonitor.hpp>

Inheritance diagram for roboticslab::OneWayMonitor:
roboticslab::ICanMessageNotifier

Public Member Functions

bool notifyMessage (const can_message &msg) override
 Tell observers a new CAN message has arrived.
 
unsigned int reset ()
 Return stored value and clear counter.
 
- Public Member Functions inherited from roboticslab::ICanMessageNotifier
virtual ~ICanMessageNotifier ()=default
 Virtual destructor.
 

Private Attributes

std::atomic< unsigned int > bits
 

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