Standard interface of a generic motion sensor (device). More...
#include <H:/WOSH/win32_vc2010/src/interfaces/building/SensorSecurity.h>
Public Member Functions | |
| virtual bool | isAlertDetected () const |
Evaluate if the light state is ALERT_DETECTED. Provided for convenience. | |
| virtual bool | isAlertNotDetected () const |
Evaluate if the light state is ALERT_CLEAR. Provided for convenience. | |
| virtual const char * | getAlertStateAsString () const |
| Get light state as a literal string. | |
SensorSecurity Interface | |
| virtual WRESULT | reset (const SecurityToken *security=NULL)=0 |
SensorSecurity Interface - Getters | |
| virtual ALERT_STATE | getAlertState () const =0 |
| Evaluate motion's state. Implemented by inherited classes. | |
|
virtual wosh::interfaces::building::SensorSecurityListener * | getSensorSecurityListener ()=0 |
SensorSecurity Interface - Setters | |
| virtual WRESULT | setSensorSecurityListener (wosh::interfaces::building::SensorSecurityListener *ptr)=0 |
Standard interface of a generic motion sensor (device).
Definition at line 94 of file SensorSecurity.h.
| virtual ALERT_STATE wosh::interfaces::building::SensorSecurity::getAlertState | ( | ) | const [pure virtual] |
Evaluate motion's state. Implemented by inherited classes.
Implemented in wosh::rmi::stubs::SensorSecurity.
Referenced by getAlertStateAsString(), isAlertDetected(), and isAlertNotDetected().
| virtual const char* wosh::interfaces::building::SensorSecurity::getAlertStateAsString | ( | ) | const [inline, virtual] |
Get light state as a literal string.
Definition at line 114 of file SensorSecurity.h.
References getAlertState().
| virtual bool wosh::interfaces::building::SensorSecurity::isAlertDetected | ( | ) | const [inline, virtual] |
Evaluate if the light state is ALERT_DETECTED. Provided for convenience.
Definition at line 103 of file SensorSecurity.h.
References getAlertState().
| virtual bool wosh::interfaces::building::SensorSecurity::isAlertNotDetected | ( | ) | const [inline, virtual] |
Evaluate if the light state is ALERT_CLEAR. Provided for convenience.
Definition at line 108 of file SensorSecurity.h.
References getAlertState().