![]() |
MAK Data Logger API Documentation for DIS
|
Responsible for invoking system commands and processing system responses. More...
Inheritance diagram for MAKLogger::DtRemoteControlSystemInterface:
Collaboration diagram for MAKLogger::DtRemoteControlSystemInterface:Public Member Functions | |
| virtual | ~DtRemoteControlSystemInterface () |
| Destructor. More... | |
| virtual void | processResponse (const DtLgrResponsePdu &responsePdu) |
| Process a playback response PDU. More... | |
| virtual void | clearReceivedResponseCounts () |
| Clear received responses counts. More... | |
System Commands | |
| virtual DtSequenceNumber | shutdown (const DtEntityIdentifier &destination=DtRemoteControlInterface::wildcardAddress()) |
| Shutdown the logger execution. More... | |
| virtual DtSequenceNumber | deleteFile (const DtFilename &filename, const DtEntityIdentifier &destination=DtRemoteControlInterface::wildcardAddress()) |
| Remote logger will delete specified file Note: No response provided. More... | |
| virtual DtSequenceNumber | requestStateUpdate (const DtEntityIdentifier &id=DtRemoteControlInterface::wildcardAddress()) |
| Request a total state update. More... | |
| virtual DtSequenceNumber | requestToggleFlag (DtLgrCtrlFlagStates flag, const DtEntityIdentifier &id) |
| Toggle the given flag. More... | |
Public Member Functions inherited from MAKLogger::DtRemoteControlDomainInterface | |
| DtRemoteControlDomainInterface (DtRemoteControlInterface *remoteControlInterface, int domainId) | |
| Constructor. More... | |
| virtual | ~DtRemoteControlDomainInterface () |
| Destructor. More... | |
| virtual void | commandAccepted (DtSequenceNumber sequenceNumber) |
| Command accepted. More... | |
| virtual void | commandRejected (const DtEntityIdentifier &source, DtSequenceNumber sequenceNumber) |
| Command rejected. More... | |
| virtual void | commandTimedOut (DtSequenceNumber sequenceNumber) |
| Command timedOut. More... | |
| virtual DtLgrCommandId | lastSentCommand () const |
| The last sent command ID. More... | |
| virtual const DtEntityIdSet & | sourcesPendingResponse () const |
| Get the sources whose response is pending. More... | |
| virtual void | setSourcesPendingResponse (const DtEntityIdSet &sourceIds) |
| Set the sources whose response is pending. More... | |
| virtual bool | isResponsePending () const |
| At least one source is pending response. More... | |
| virtual const DtSequenceNumberSet & | pendingCommands () const |
| Pending command sequence number Sequence number equal to 0 indicates command not pending. More... | |
| virtual void | clearPendingCommand (DtSequenceNumber number=0) |
| Clear pending command sequence number Clear all if number = 0. More... | |
| virtual const DtString & | boolToString (bool value) const |
| Convert the bool value to a string. More... | |
Static Public Member Functions | |
| static const char * | commandToString (int command) |
| Convert the command/response identifier to a string. More... | |
| static void | processTotalState (DtLgrTotalStatePdu *totalStatePdu, void *usr) |
| Callback for total state. More... | |
Protected Member Functions | |
| virtual void | processTotalState (DtLgrTotalStatePdu *totalStatePdu) |
| Total state info. More... | |
| virtual void | receivedTotalState () |
| Total state info Called after all connected loggers have responded individually. More... | |
| virtual void | fileDeleted (const DtString &fileName) |
| The specified file was deleted from all loggers. More... | |
| virtual void | fileDeletionResult (const DtEntityIdentifier &source, const DtString &fileName, int deleteResult) |
| The deletion of the specified file was not successful. More... | |
Process system response | |
| virtual void | message (const DtEntityIdentifier &source, const DtString &message) |
| Text message. More... | |
| virtual void | consoleMessage (const DtEntityIdentifier &source, const DtString &message) |
| Text message for console. More... | |
| virtual void | startLongOperation (const DtEntityIdentifier &source, const DtString &name, bool interruptable) |
| A long operation was started. Indicate if it is interruptable. More... | |
| virtual void | finishLongOperation (const DtEntityIdentifier &source, bool canceled) |
| A long operation has completed. Indicate if it finished because it was canceled. More... | |
| virtual void | fileDelete (const DtEntityIdentifier &source, const DtString &fileName, int deleteResult) |
| The specified file was deleted from all loggers. More... | |
Protected Attributes | |
| bool | myPendingFileDelete |
| DtString | myDeleteFileName |
| int | myReceivedTotalState |
| int | myReceivedFileDelete |
Protected Attributes inherited from MAKLogger::DtRemoteControlDomainInterface | |
| int | myDomainId |
| DtString | myDomainName |
| DtRemoteControlInterface * | myInterface |
| DtEntityIdSet | mySourcesPendingResponse |
| DtSequenceNumberSet | myPendingCommands |
| DtLgrCommandId | myLastSentCommand |
| const DtString | myTrueString |
| const DtString | myFalseString |
Private Member Functions | |
| DtRemoteControlSystemInterface (const DtRemoteControlSystemInterface &) | |
| Not Implemented. More... | |
| DtRemoteControlSystemInterface & | operator= (const DtRemoteControlSystemInterface &) |
| Not Implemented. More... | |
Responsible for invoking system commands and processing system responses.
|
virtual |
Destructor.
|
private |
Not Implemented.
|
virtual |
Clear received responses counts.
|
static |
Convert the command/response identifier to a string.
|
protectedvirtual |
Text message for console.
|
virtual |
Remote logger will delete specified file Note: No response provided.
|
protectedvirtual |
The specified file was deleted from all loggers.
|
protectedvirtual |
The specified file was deleted from all loggers.
Reimplemented in DtSystemInterfacePrinter.
|
protectedvirtual |
The deletion of the specified file was not successful.
Reimplemented in DtSystemInterfacePrinter.
|
protectedvirtual |
A long operation has completed. Indicate if it finished because it was canceled.
|
protectedvirtual |
Text message.
|
private |
Not Implemented.
|
virtual |
Process a playback response PDU.
Implements MAKLogger::DtRemoteControlDomainInterface.
|
static |
Callback for total state.
|
protectedvirtual |
Total state info.
|
protectedvirtual |
Total state info Called after all connected loggers have responded individually.
Reimplemented in DtSystemInterfacePrinter.
|
virtual |
Request a total state update.
|
virtual |
Toggle the given flag.
|
virtual |
Shutdown the logger execution.
|
protectedvirtual |
A long operation was started. Indicate if it is interruptable.
|
protected |
|
protected |
|
protected |
|
protected |