|
BAOS SDK v2
1.2.1
An SDK providing access to IP-BAOS devices through BAOS binary protocol version 2.x
|
This structure represents the status flags provided by some BAOS devices server item ServerItemId::StatusFlags. More...
#include <baos/protocol/Defines.h>
Public Member Functions | |
| StatusFlags (const ServerItem_StatusFlagType val) | |
| Construct from a existing ServerItem_StatusFlagType value. | |
| StatusFlags (const Buffer &data) | |
| Construct from an array of bytes. | |
| StatusFlags (bool running, bool loaded, bool tl_connected, bool secure) | |
| Construct a new Status Flags object. More... | |
| bool | isRunning () const |
| Return the value of the running element as boolean. | |
| bool | isLoaded () const |
| Return if the ETS applicatiopn is loaded or not. | |
| bool | isTLConnected () const |
| Returns if the transport layer is connected. | |
| bool | isSecure () const |
| Returns if the device is on secure mode. | |
| operator ServerItem_StatusFlagType () const | |
| Conversion operator to ServerItem_StatusFlagType. | |
This structure represents the status flags provided by some BAOS devices server item ServerItemId::StatusFlags.
|
inline |
Construct a new Status Flags object.
| running | The run state of the application |
| loaded | The load sate of the application |
| tl_connected | Connection state of the transport layer |
| secure | Data security enabled |