#include <Switch.h>
Public Member Functions | |
virtual void | deviceAck (const DeviceAck *ack) |
Switch (byte id, TransportLayer *transportLayer, byte pin, std::string topicName) | |
virtual void | update (const DeviceMessage *deviceMessage) |
virtual void | write () |
Protected Member Functions | |
virtual void | buildDevice () |
Private Attributes | |
byte | _pin |
ros::Publisher | _switchState |
std::string | _topicName |
robotican_hardware::Switch::Switch | ( | byte | id, |
TransportLayer * | transportLayer, | ||
byte | pin, | ||
std::string | topicName | ||
) |
Definition at line 33 of file Switch.cpp.
void robotican_hardware::Switch::buildDevice | ( | ) | [protected, virtual] |
Implements robotican_hardware::Device.
Definition at line 20 of file Switch.cpp.
void robotican_hardware::Switch::deviceAck | ( | const DeviceAck * | ack | ) | [virtual] |
Reimplemented from robotican_hardware::Device.
Definition at line 38 of file Switch.cpp.
void robotican_hardware::Switch::update | ( | const DeviceMessage * | deviceMessage | ) | [virtual] |
Implements robotican_hardware::Device.
Definition at line 7 of file Switch.cpp.
void robotican_hardware::Switch::write | ( | ) | [virtual] |
Implements robotican_hardware::Device.
Definition at line 16 of file Switch.cpp.
byte robotican_hardware::Switch::_pin [private] |