A helper class registering and deregistering a CANDevice from the bus. More...
#include <CANDeviceRegistrator.hpp>
Public Member Functions | |
CANDeviceRegistrator (CANDeviceInterface *dev, CANBusInterface *bus) | |
Register a CANDeviceInterface to a bus. | |
virtual | ~CANDeviceRegistrator () |
Removes the CANDeviceInterface from the CANBus. | |
Protected Attributes | |
CANBusInterface * | myBus |
CANDeviceInterface * | myDev |
A helper class registering and deregistering a CANDevice from the bus.
Definition at line 41 of file CANDeviceRegistrator.hpp.
CANDeviceRegistrator | ( | CANDeviceInterface * | dev, | |
CANBusInterface * | bus | |||
) | [inline] |
Register a CANDeviceInterface to a bus.
bus | The bus to be registered to. | |
dev | The device to be registered to the bus. |
Definition at line 50 of file CANDeviceRegistrator.hpp.