#include <LOW_compToggleSwitch.h>
Inheritance diagram for LOW_compToggleSwitch:
Public Types | |
typedef std::vector< LOW_compToggleSwitch * > | compToggleSwitchPtrVec_t |
typedef LOW_compTwinSwitch::actionReceiver | actionReceiver |
typedef std::vector< LOW_compTwinSwitch * > | compTwinSwitchPtrVec_t |
Public Member Functions | |
class_DERIVE_FROM_EXCEPTION (compToggleSwitch_error, component_error) | |
LOW_compToggleSwitch (const LOW_devDS2406 &inPIODevice, actionReceiver &inActionRcv, const bool inDetectShortClicks) | |
virtual | ~LOW_compToggleSwitch () |
class_DERIVE_FROM_EXCEPTION (compTwinSwitch_error, component_error) | |
virtual void | handleAlarm () |
void | alarmPollLoop () |
bool | getDetectShortClicks () |
const LOW_devDS2406 & | getPioDevice () const |
Private Types | |
enum | tgSwState_t { noLock_state = 0, locked_state } |
Private Member Functions | |
void | switchAction (LOW_compTwinSwitch *inCaller, const unsigned int inSwitchNum, const bool inValue) |
void | shortSwitchAction (LOW_compTwinSwitch *inCaller, const unsigned int inSwitchNum) |
Private Attributes | |
actionReceiver & | toggleActionRcv |
tgSwState_t | toggleState |
unsigned int | lockedSwitch |
Definition at line 30 of file LOW_compToggleSwitch.h.
|
Definition at line 51 of file LOW_compToggleSwitch.h. |
|
Definition at line 49 of file LOW_compToggleSwitch.h. |
|
Definition at line 50 of file LOW_compTwinSwitch.h. |
|
Definition at line 75 of file LOW_compToggleSwitch.h. |
|
Definition at line 27 of file LOW_compToggleSwitch.cpp. References noLock_state, and toggleState. |
|
Definition at line 36 of file LOW_compToggleSwitch.cpp. |
|
Definition at line 83 of file LOW_compTwinSwitch.cpp. References LOW_compTwinSwitch::pioDevice, and LOW_device::verifyDevice(). |
|
|
|
|
|
Definition at line 89 of file LOW_compTwinSwitch.cpp. References LOW_compTwinSwitch::detectShortClicks. |
|
Definition at line 94 of file LOW_compTwinSwitch.cpp. References LOW_compTwinSwitch::pioDevice. |
|
|
Implements LOW_compTwinSwitch::actionReceiver. Definition at line 78 of file LOW_compToggleSwitch.cpp. References noLock_state, LOW_compTwinSwitch::actionReceiver::shortSwitchAction(), toggleActionRcv, and toggleState. |
|
Implements LOW_compTwinSwitch::actionReceiver. Definition at line 47 of file LOW_compToggleSwitch.cpp. References locked_state, lockedSwitch, noLock_state, LOW_compTwinSwitch::actionReceiver::switchAction(), toggleActionRcv, and toggleState. |
|
Definition at line 86 of file LOW_compToggleSwitch.h. Referenced by switchAction(). |
|
Definition at line 84 of file LOW_compToggleSwitch.h. Referenced by shortSwitchAction(), and switchAction(). |
|
Definition at line 85 of file LOW_compToggleSwitch.h. Referenced by LOW_compToggleSwitch(), shortSwitchAction(), and switchAction(). |