#include <NetLighthouseShutter.h>
Inherits ManagedObject.
◆ NetLighthouseShutter()
NetLighthouseShutter::NetLighthouseShutter |
( |
| ) |
|
|
protected |
◆ ~NetLighthouseShutter()
virtual NetLighthouse::NetLighthouseShutter::~NetLighthouseShutter |
( |
| ) |
|
|
inlinevirtual |
◆ getInstance()
◆ getShutterState()
net_lh_open_state_t NetLighthouseShutter::getShutterState |
( |
unsigned int | deviceID, |
|
|
int % | errorCode ) |
|
virtual |
.getShutterState Determine the current shutter state.
- See also
- setShutterState()
- Parameters
-
deviceID | the identifier of the device as returned by getDeviceIDs. |
errorCode | see LHErrorCode. |
- Returns
- "open" if the shutter is open, "closed" if the shutter is closed, or on error.
◆ setShutterState()
void NetLighthouseShutter::setShutterState |
( |
unsigned int | deviceID, |
|
|
int % | errorCode, |
|
|
net_lh_open_state_t | state ) |
|
virtual |
.setShutterState Set the shutter state to open or closed.
- See also
- getShutterState()
- Parameters
-
deviceID | the identifier of the device as returned by getDeviceIDs. |
errorCode | see LHErrorCode. |
state | "open" to open the shutter, "closed" to close the shutter. |
◆ shutter
The documentation for this class was generated from the following files: