Definition at line 313 of file Node.hpp.
◆ dw::framework::ISensorNode::DataEvent
struct dw::framework::ISensorNode::DataEvent |
Class Members |
DataEventType |
dataEventType |
The type of event
|
dwStatus |
status |
The status of the node-run. invalid if dataEventType is DROP DW_SUCCESS if the node-run produced data. DW_TIME_OUT, DW_NOT_AVAILABLE, etc, sensor had not data for node-run. DW_END_OF_STREAM if sensor reached end of stream.
|
dwTime_t |
timestamp |
The timestamp of involved data. invalid if dataEventType is NONE.
|
◆ DataEventReadCallback
◆ DataEventWriteCallback
◆ DataEventType
Enumerator |
---|
PRODUCE | |
DROP | |
NONE | |
Definition at line 358 of file Node.hpp.
◆ getNextTimestamp()
virtual dwStatus dw::framework::ISensorNode::getNextTimestamp |
( |
dwTime_t & |
nextTimestamp | ) |
|
|
pure virtual |
◆ isEnabled()
virtual dwStatus dw::framework::ISensorNode::isEnabled |
( |
bool & |
isEnabled | ) |
|
|
pure virtual |
◆ isVirtual()
virtual dwStatus dw::framework::ISensorNode::isVirtual |
( |
bool * |
isVirtualBool | ) |
|
|
pure virtual |
◆ setAffinityMask()
virtual dwStatus dw::framework::ISensorNode::setAffinityMask |
( |
uint |
| ) |
|
|
pure virtual |
◆ setDataEventReadCallback()
Set read timestamp function for dataset replay. Timestamps not in the sequence returned by the callback will be dropped.
- Returns
- DW_SUCCESS, DW_FAILURE
Implemented in dw::framework::ExceptionSafeSensorNode.
◆ setDataEventWriteCallback()
Set write timestamp function for live case. Each timestamp of data output from the node will be passed to this callback.
- Returns
- DW_SUCCESS, DW_FAILURE
Implemented in dw::framework::ExceptionSafeSensorNode.
◆ setEndTime()
virtual dwStatus dw::framework::ISensorNode::setEndTime |
( |
dwTime_t |
| ) |
|
|
pure virtual |
◆ setLockstepDeterministicMode()
virtual dwStatus dw::framework::ISensorNode::setLockstepDeterministicMode |
( |
bool |
enable | ) |
|
|
pure virtual |
Set whether replay is running in lockstep deterministic mode.
- Parameters
-
enable | enables replay in lockstep deterministic mode |
- Returns
- DW_SUCCESS
Implemented in dw::framework::ExceptionSafeSensorNode.
◆ setStartTime()
virtual dwStatus dw::framework::ISensorNode::setStartTime |
( |
dwTime_t |
| ) |
|
|
pure virtual |
◆ setThreadPriority()
virtual dwStatus dw::framework::ISensorNode::setThreadPriority |
( |
int |
| ) |
|
|
pure virtual |
◆ start()
virtual dwStatus dw::framework::ISensorNode::start |
( |
| ) |
|
|
pure virtual |
◆ stop()
virtual dwStatus dw::framework::ISensorNode::stop |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: