![]() |
MAK Data Logger API Documentation for DIS
|
The message pipeline which takes messages from the input, passes them through the state and ultimately sends the to the output. More...
Collaboration diagram for MAKLogger::DtMessagePipeline:Public Member Functions | |
| DtMessagePipeline () | |
| CTOR. More... | |
| virtual | ~DtMessagePipeline () |
| DTOR. More... | |
| virtual void | tick () |
| Tick the pipeline moving packets from the input to the output. More... | |
| virtual void | bufferInputAndDiff (const DtAbsoluteTime &time, bool inclusive, bool includeInteractions) |
| Compound operation which stores the current state, compiles a new state up to the given time and sends the differences between the current state and new state. More... | |
| virtual void | reset () |
| Resets the pipeline. More... | |
| virtual void | activate () |
| Activate the pipeline. More... | |
| virtual void | deactivate () |
| Deactivate the pipeline. More... | |
| virtual void | activateOutput () |
| Activate the output in the pipeline (assumes input and state already active) More... | |
| virtual void | deactivateOutput () |
| Deactivate the output in the pipeline (assumes input and state remain active) More... | |
| virtual bool | wasListeningOnIdle () |
| Return true if pipeline was listening on idle when reset (had input and state but no output) More... | |
| virtual bool | isListeningOnIdle () |
| Return true if pipeline is listening on idle (has input and state but no output) More... | |
| virtual bool | inputFlag () const |
| Return the input flag. More... | |
| virtual bool | outputFlag () const |
| Return the output flag. More... | |
| virtual bool | stateFlag () const |
| Return the state flag. More... | |
| virtual void | setInputFlag (bool onOff) |
| Set the input flag. More... | |
| virtual void | setOutputFlag (bool onOff) |
| Set the output flag. More... | |
| virtual void | setStateFlag (bool onOff) |
| Set the state flag. More... | |
| virtual const DtMessageInput * | input () const |
| Return the input. More... | |
| virtual DtMessageInput * | input () |
| Return the input. More... | |
| virtual const DtMessageOutput * | output () const |
| Return the output. More... | |
| virtual DtMessageOutput * | output () |
| Return the output. More... | |
| virtual const DtMessageState * | state () const |
| Return the state. More... | |
| virtual DtMessageState * | state () |
| Return the state. More... | |
| virtual DtRelativeTime | startTime () |
| Return the time of the first packet received. More... | |
| virtual DtRelativeTime | endTime () |
| Return the time of the last packet received. More... | |
| virtual void | setInput (DtMessageInput *input) |
| Set the input. More... | |
| virtual void | setOutput (DtMessageOutput *output) |
| Set the output. More... | |
| virtual void | setState (DtMessageState *state) |
| Set the state. More... | |
| virtual void | addOutputListener (DtLgrMessageOutputListener *listener) |
| Add an output listener. More... | |
| virtual void | removeOutputListener (DtLgrMessageOutputListener *listener) |
| Remove an output listener, the caller is responsible for deallocating the listener. More... | |
| virtual void | setPlaybackReadTimeLimit (double limit) |
| Set the time limit on reads during playback. More... | |
| virtual double | playbackReadTimeLimit () const |
| Get the time limit on reads during playback. More... | |
Protected Types | |
| typedef std::list < DtLgrMessageOutputListener * > | OutputListeners |
Protected Member Functions | |
| DtMessagePipeline (const DtMessagePipeline &) | |
| CopyCTOR not implemented. More... | |
| DtMessagePipeline & | operator= (const DtMessagePipeline &) |
| Assignment operator not implemented. More... | |
Protected Attributes | |
| bool | myInputFlag |
| Controls if the Message Controller reads Messages from the Input. More... | |
| bool | myOutputFlag |
| Controls if the Message Controller sends Messages to Output. More... | |
| bool | myStateFlag |
| Controls if the Message Controller sends Messages to State. More... | |
| DtMessageInput * | myInput |
| The message input source which the Message Controller gets Messages from. More... | |
| DtMessageOutput * | myOutput |
| The message output source which the Message Controller sends Messages to. More... | |
| DtMessageState * | myState |
| The state which the Message Controller maintains. More... | |
| OutputListeners | myListeners |
| double | myPlaybackReadTimeLimit |
| DtClock | myLimitClock |
| DtRelativeTime | myStartTime |
| DtRelativeTime | myEndTime |
| bool | myPriorInputFlag |
| Maintains flags status prior to reset. More... | |
| bool | myPriorOutputFlag |
| Maintains flags status prior to reset. More... | |
| bool | myPriorStateFlag |
| Maintains flags status prior to reset. More... | |
The message pipeline which takes messages from the input, passes them through the state and ultimately sends the to the output.
|
protected |
| MAKLogger::DtMessagePipeline::DtMessagePipeline | ( | ) |
CTOR.
|
virtual |
DTOR.
|
protected |
CopyCTOR not implemented.
|
virtual |
Activate the pipeline.
|
virtual |
Activate the output in the pipeline (assumes input and state already active)
|
virtual |
Add an output listener.
If there is a valid output the listener will attach to it. The listener is owned by the pipeline unless removed.
|
virtual |
Compound operation which stores the current state, compiles a new state up to the given time and sends the differences between the current state and new state.
New state will include changes from the given time or not based on provided flag.
|
virtual |
Deactivate the pipeline.
|
virtual |
Deactivate the output in the pipeline (assumes input and state remain active)
|
virtual |
Return the time of the last packet received.
|
virtual |
Return the input.
|
virtual |
Return the input.
|
virtual |
Return the input flag.
|
virtual |
Return true if pipeline is listening on idle (has input and state but no output)
|
protected |
Assignment operator not implemented.
|
virtual |
Return the output.
|
virtual |
Return the output.
|
virtual |
Return the output flag.
|
virtual |
Get the time limit on reads during playback.
Units are seconds. A value less than zero indicates no limit.
|
virtual |
Remove an output listener, the caller is responsible for deallocating the listener.
|
virtual |
Resets the pipeline.
This call is used internally when different drivers what to have control over the pipeline.
|
virtual |
Set the input.
|
virtual |
Set the input flag.
|
virtual |
Set the output.
|
virtual |
Set the output flag.
|
virtual |
Set the time limit on reads during playback.
Units are seconds. A value less than zero indicates no limit.
|
virtual |
Set the state.
|
virtual |
Set the state flag.
|
virtual |
Return the time of the first packet received.
|
virtual |
Return the state.
|
virtual |
Return the state.
|
virtual |
Return the state flag.
|
virtual |
Tick the pipeline moving packets from the input to the output.
|
virtual |
Return true if pipeline was listening on idle when reset (had input and state but no output)
|
protected |
|
protected |
The message input source which the Message Controller gets Messages from.
|
protected |
Controls if the Message Controller reads Messages from the Input.
|
protected |
|
protected |
|
protected |
The message output source which the Message Controller sends Messages to.
|
protected |
Controls if the Message Controller sends Messages to Output.
|
protected |
|
protected |
Maintains flags status prior to reset.
|
protected |
Maintains flags status prior to reset.
|
protected |
Maintains flags status prior to reset.
|
protected |
|
protected |
The state which the Message Controller maintains.
|
protected |
Controls if the Message Controller sends Messages to State.