#include <LOW_compTwinSwitch.h>
Inheritance diagram for LOW_compTwinSwitch:
Public Types | |
typedef std::vector< LOW_compTwinSwitch * > | compTwinSwitchPtrVec_t |
Public Member Functions | |
class_DERIVE_FROM_EXCEPTION (compTwinSwitch_error, component_error) | |
LOW_compTwinSwitch (const LOW_devDS2406 &inPIODevice, actionReceiver &inActionRcv, const bool inDetectShortClicks) | |
virtual | ~LOW_compTwinSwitch () |
virtual void | handleAlarm () |
void | alarmPollLoop () |
bool | getDetectShortClicks () |
const LOW_devDS2406 & | getPioDevice () const |
Private Member Functions | |
void | setAlarmCondition () |
void | readStatus (LOW_devDS2406::cmd_ChannelAccess::channelInfo_t &outChannelInfo) |
void | resetLatches (LOW_devDS2406::cmd_ChannelAccess::channelInfo_t &outChannelInfo) |
void | doSwitchAction (const unsigned int inSwitchNum, const bool inSensedLevel) |
Private Attributes | |
const LOW_devDS2406 & | pioDevice |
actionReceiver & | actionRcv |
const bool | detectShortClicks |
std::vector< bool > | switchStatesVec |
Definition at line 31 of file LOW_compTwinSwitch.h.
|
Definition at line 50 of file LOW_compTwinSwitch.h. |
|
Definition at line 29 of file LOW_compTwinSwitch.cpp. References LOW_netSegment::getHasExternalPower(), LOW_devDS2406::getHasPioB(), LOW_device::getNetSegment(), pioDevice, resetLatches(), setAlarmCondition(), and switchStatesVec. |
|
Definition at line 50 of file LOW_compTwinSwitch.cpp. |
|
Definition at line 83 of file LOW_compTwinSwitch.cpp. References pioDevice, and LOW_device::verifyDevice(). |
|
|
|
Definition at line 162 of file LOW_compTwinSwitch.cpp. References actionRcv, detectShortClicks, LOW_compTwinSwitch::actionReceiver::shortSwitchAction(), LOW_compTwinSwitch::actionReceiver::switchAction(), and switchStatesVec. Referenced by handleAlarm(). |
|
Definition at line 89 of file LOW_compTwinSwitch.cpp. References detectShortClicks. |
|
Definition at line 94 of file LOW_compTwinSwitch.cpp. References pioDevice. |
|
|
|
|
Definition at line 106 of file LOW_compTwinSwitch.cpp. References LOW_devDS2406::activeHigh, LOW_devDS2406::chanBothSelect, LOW_devDS2406::latchSelect, pioDevice, LOW_devDS2406::pioTransistorOff, and LOW_devDS2406::setSearchCondition(). Referenced by LOW_compTwinSwitch(). |
|
Definition at line 108 of file LOW_compTwinSwitch.h. Referenced by doSwitchAction(). |
|
Definition at line 109 of file LOW_compTwinSwitch.h. Referenced by doSwitchAction(), and getDetectShortClicks(). |
|
Definition at line 107 of file LOW_compTwinSwitch.h. Referenced by alarmPollLoop(), getPioDevice(), handleAlarm(), LOW_compTwinSwitch(), readStatus(), resetLatches(), and setAlarmCondition(). |
|
Definition at line 110 of file LOW_compTwinSwitch.h. Referenced by doSwitchAction(), and LOW_compTwinSwitch(). |