OpenLCB Message type.
More...
OpenLCB Message type.
Options (fields):
- -mti The MTI Header bitfield.
- -sourcenid The source Node ID.
- -destnid The destination Node ID or null if this is not an addressed message.
- -eventid The Event ID or null if there is no Event ID associated with this message.
- -data Any additional data associated with this message.
◆ OpenLCBMessage()
lcc::OpenLCBMessage::OpenLCBMessage |
( |
name |
, |
|
|
|
... |
|
) |
| |
Construct a OpenLCB Message oject.
- Parameters
-
name | The name of the object |
... | Options (fields):
- -mti The MTI Header bitfield.
- -sourcenid The source Node ID.
- -destnid The destination Node ID or null if this is not an addressed message.
- -eventid The Event ID or null if there is no Event ID associated with this message.
- -data Any additional data associated with this message.
|
◆ _cgetdata()
lcc::OpenLCBMessage::_cgetdata |
( |
option |
| ) |
|
|
private |
Cget method for data.
- Parameters
-
- Returns
- Data vector (a list of bytes).
◆ _configuredata()
lcc::OpenLCBMessage::_configuredata |
( |
option |
, |
|
|
value |
|
|
) |
| |
|
private |
Configure method for data.
- Parameters
-
option | Always -data . |
value | A list of bytes. |
◆ toString()
lcc::OpenLCBMessage::toString |
( |
| ) |
|
Return the object as a printable string.
- Returns
- A string representation of the object.
References FileEntry::cget().
◆ validate()
static lcc::OpenLCBMessage::validate |
( |
object |
| ) |
|
|
static |