#include <eva4-ffi-sdk.hpp>
◆ OID() [1/2]
eva::OID::OID |
( |
string |
s | ) |
|
|
inline |
Constructs OID from a string
- Parameters
-
- Exceptions
-
◆ OID() [2/2]
eva::OID::OID |
( |
string |
s, |
|
|
bool |
fromPath |
|
) |
| |
|
inline |
Constructs OID from a string or a path
- Parameters
-
s | OID string or path |
fromPath | true if the string is a path |
- Exceptions
-
◆ fullId()
string eva::OID::fullId |
( |
| ) |
|
|
inline |
Gets item full id (without a kind)
- Returns
- item full id
◆ markError()
void eva::OID::markError |
( |
| ) |
|
|
inline |
Sets item status to -1 (ERROR) for the current OID
- Exceptions
-
◆ markOk()
void eva::OID::markOk |
( |
| ) |
|
|
inline |
Sets item status to 1 (OK) for the current OID
- Exceptions
-
◆ setState()
template<typename T >
void eva::OID::setState |
( |
T |
value | ) |
|
|
inline |
Sets item state to status=1 (OK) and the specified value
- Template Parameters
-
- Parameters
-
- Exceptions
-
◆ kind
◆ path
◆ rawTopic
string eva::OID::rawTopic |
item raw state bus topic for the current OID
The documentation for this class was generated from the following file: