MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions
DtSystemInterfacePrinter Class Reference

Prints message for received system responses. More...

+ Inheritance diagram for DtSystemInterfacePrinter:
+ Collaboration diagram for DtSystemInterfacePrinter:

Public Member Functions

 DtSystemInterfacePrinter (MAKLogger::DtRemoteControlInterface *rci)
 Constructor.
virtual ~DtSystemInterfacePrinter ()
 Destructor.
- Public Member Functions inherited from MAKLogger::DtRemoteControlSystemInterface
virtual ~DtRemoteControlSystemInterface ()
 Destructor.
virtual void processResponse (const DtLgrResponsePdu &responsePdu)
 Process a playback response PDU.
virtual void clearReceivedResponseCounts ()
 Clear received responses counts.
virtual DtSequenceNumber shutdown (const DtEntityIdentifier &destination=DtRemoteControlInterface::wildcardAddress())
 Shutdown the logger execution.
virtual DtSequenceNumber deleteFile (const DtFilename &filename, const DtEntityIdentifier &destination=DtRemoteControlInterface::wildcardAddress())
 Remote logger will delete specified file Note: No response provided.
virtual DtSequenceNumber requestStateUpdate (const DtEntityIdentifier &id=DtRemoteControlInterface::wildcardAddress())
 Request a total state update.
virtual DtSequenceNumber requestToggleFlag (DtLgrCtrlFlagStates flag, const DtEntityIdentifier &id)
 Toggle the given flag.
- Public Member Functions inherited from MAKLogger::DtRemoteControlDomainInterface
 DtRemoteControlDomainInterface (DtRemoteControlInterface *remoteControlInterface, int domainId)
 Constructor.
virtual ~DtRemoteControlDomainInterface ()
 Destructor.
virtual void commandAccepted (DtSequenceNumber sequenceNumber)
 Command accepted.
virtual void commandRejected (const DtEntityIdentifier &source, DtSequenceNumber sequenceNumber)
 Command rejected.
virtual void commandTimedOut (DtSequenceNumber sequenceNumber)
 Command timedOut.
virtual DtLgrCommandId lastSentCommand () const
 The last sent command ID.
virtual const DtEntityIdSetsourcesPendingResponse () const
 Get the sources whose response is pending.
virtual void setSourcesPendingResponse (const DtEntityIdSet &sourceIds)
 Set the sources whose response is pending.
virtual bool isResponsePending () const
 At least one source is pending response.
virtual const DtSequenceNumberSetpendingCommands () const
 Pending command sequence number Sequence number equal to 0 indicates command not pending.
virtual void clearPendingCommand (DtSequenceNumber number=0)
 Clear pending command sequence number Clear all if number = 0.
virtual const DtString & boolToString (bool value) const
 Convert the bool value to a string.

Static Public Member Functions

static
MAKLogger::DtRemoteControlSystemInterface
create (MAKLogger::DtRemoteControlInterface *rci)
- Static Public Member Functions inherited from MAKLogger::DtRemoteControlSystemInterface
static const char * commandToString (int command)
 Convert the command/response identifier to a string.
static void processTotalState (DtLgrTotalStatePdu *totalStatePdu, void *usr)
 Callback for total state.

Protected Member Functions

Process system responses
virtual void receivedTotalState ()
 Total state info Called after all connected loggers have responded individually.
virtual void fileDeleted (const DtString &fileName)
 The specified file was deleted from all loggers.
virtual void fileDeletionResult (const DtEntityIdentifier &source, const DtString &fileName, int deleteResult)
 The deletion of the specified file was not successful.
- Protected Member Functions inherited from MAKLogger::DtRemoteControlSystemInterface
virtual void processTotalState (DtLgrTotalStatePdu *totalStatePdu)
 Total state info.
virtual void message (const DtEntityIdentifier &source, const DtString &message)
 Text message.
virtual void consoleMessage (const DtEntityIdentifier &source, const DtString &message)
 Text message for console.
virtual void startLongOperation (const DtEntityIdentifier &source, const DtString &name, bool interruptable)
 A long operation was started. Indicate if it is interruptable.
virtual void finishLongOperation (const DtEntityIdentifier &source, bool canceled)
 A long operation has completed. Indicate if it finished because it was canceled.
virtual void fileDelete (const DtEntityIdentifier &source, const DtString &fileName, int deleteResult)
 The specified file was deleted from all loggers.

Private Member Functions

 DtSystemInterfacePrinter (const DtSystemInterfacePrinter &)
 Not Implemented.
DtSystemInterfacePrinteroperator= (const DtSystemInterfacePrinter &)
 Not Implemented.

Additional Inherited Members

- Protected Attributes inherited from MAKLogger::DtRemoteControlSystemInterface
bool myPendingFileDelete
DtString myDeleteFileName
int myReceivedTotalState
int myReceivedFileDelete

Detailed Description

Prints message for received system responses.

Constructor & Destructor Documentation

DtSystemInterfacePrinter::DtSystemInterfacePrinter ( MAKLogger::DtRemoteControlInterface rci)

Constructor.

virtual DtSystemInterfacePrinter::~DtSystemInterfacePrinter ( )
virtual

Destructor.

DtSystemInterfacePrinter::DtSystemInterfacePrinter ( const DtSystemInterfacePrinter )
private

Not Implemented.

Member Function Documentation

static MAKLogger::DtRemoteControlSystemInterface* DtSystemInterfacePrinter::create ( MAKLogger::DtRemoteControlInterface rci)
static
virtual void DtSystemInterfacePrinter::fileDeleted ( const DtString &  fileName)
protectedvirtual

The specified file was deleted from all loggers.

Reimplemented from MAKLogger::DtRemoteControlSystemInterface.

virtual void DtSystemInterfacePrinter::fileDeletionResult ( const DtEntityIdentifier &  source,
const DtString &  fileName,
int  deleteResult 
)
protectedvirtual

The deletion of the specified file was not successful.

Reimplemented from MAKLogger::DtRemoteControlSystemInterface.

DtSystemInterfacePrinter& DtSystemInterfacePrinter::operator= ( const DtSystemInterfacePrinter )
private

Not Implemented.

virtual void DtSystemInterfacePrinter::receivedTotalState ( )
protectedvirtual

Total state info Called after all connected loggers have responded individually.

Reimplemented from MAKLogger::DtRemoteControlSystemInterface.


The documentation for this class was generated from the following file:

Document ID: Generated on Wed Jun 5 18:45:18 EDT 2019 from SVN revision 198968
Copyright © 2019 VT MAK. All Rights Reserved (www.mak.com)