Public Member Functions | Protected Member Functions | Private Attributes
robotican_hardware::Switch Class Reference

#include <Switch.h>

Inheritance diagram for robotican_hardware::Switch:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Definition at line 14 of file Switch.h.


Constructor & Destructor Documentation

robotican_hardware::Switch::Switch ( byte  id,
TransportLayer transportLayer,
byte  pin,
std::string  topicName 
)

Definition at line 33 of file Switch.cpp.


Member Function Documentation

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.

Implements robotican_hardware::Device.

Definition at line 16 of file Switch.cpp.


Member Data Documentation

Definition at line 16 of file Switch.h.

Definition at line 18 of file Switch.h.

Definition at line 17 of file Switch.h.


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


robotican_hardware_interface
Author(s):
autogenerated on Fri Oct 27 2017 03:02:48