Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions
MAKLogger::DtLgrSystemInterface Class Reference

The class responsible for interfacing with the low level logger system functions. More...

+ Inheritance diagram for MAKLogger::DtLgrSystemInterface:
+ Collaboration diagram for MAKLogger::DtLgrSystemInterface:

List of all members.

Public Types

typedef DtLgrSystemCommandFactory Factory

Public Member Functions

virtual ~DtLgrSystemInterface ()
 Constructor takes logger ref the interface will be attached to.
virtual void issueTextCommand (const DtString &commandString) const
 Issue a text command to the logger to parse and execute.
virtual void cancelLongOperation () const
 Attempt to cancel a long operation.
virtual void deleteFile (const DtString &filename) const
 Delete a file.
virtual void setNotifyLevel (int vlLevel, int lgrLevel) const
 Change the notify level.
virtual void shutdown () const
 Tell the logger to shut down.
virtual bool timeToShutdown () const
 Is it time to shut down.
virtual const DtStringoperationName () const
 Get the current operation name.
virtual const DtStringoperationMessage () const
 Get the current operation message.
virtual int operationProgress () const
 Get the current operation progress.
virtual bool operationInterruptible () const
 Is the current operation interruptible.
virtual bool wasOperationCanceled () const
 Check to see if the last operation was canceled.
virtual void installOutputListener (std::auto_ptr< DtLgrMessageOutputListener > listener) const
 Install an output listener.
bool basicGuiFlag () const
 get the current basic gui flag.

Public Attributes

DtValueSignal< DtStringmessageSignal
 Message Response signal.
DtValueSignal< DtStringconsoleMessageSignal
 Message Response for console message.
DtValueSignal< bool > operationSignal
 Operation signal which changes when an operation starts and stops ( true and false accordingly)
DtValueSignal< bool > shutdownSignal
 Operation signal that is sent when a shutdown is initiated.
DtValueSignal< DtStringoperationMessageSignal
 Operation message signal.
DtValueSignal< int > operationProgressSignal
 Operation progress signal.

Protected Member Functions

void connectResponseHandler (DtLgrCommandId id, void(DtLgrSystemInterface::*function)(DtResponse))
void messageReceived (DtResponse)
void consoleMessageReceived (DtResponse)
void requestShutdown (DtResponse)
void basicGuiFlagSet (DtResponse)
void longOperationStarted (DtResponse)
void longOperationFinished (DtResponse)
void longOperationUpdated (DtResponse)

Protected Attributes

DtThreadSafe< bool > * myCancelFlag
DtString myMessage
DtString myConsoleMessage
DtString myOperationName
DtString myOperationMessage
bool myOperationRunningFlag
int myOperationProgress
bool myOperationInterruptible
bool myOperationCanceledFlag
bool myTimeToShutdown
bool myBasicGuiFlag

Private Member Functions

 DtLgrSystemInterface (const DtLgrSystemInterface &)
 Not Implemented.
DtLgrSystemInterfaceoperator= (const DtLgrSystemInterface &)
 Not Implemented.

Detailed Description

The class responsible for interfacing with the low level logger system functions.


Constructor & Destructor Documentation

virtual MAKLogger::DtLgrSystemInterface::~DtLgrSystemInterface ( ) [virtual]

Constructor takes logger ref the interface will be attached to.

DTOR.


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

Document ID: Generated on Tue Oct 11 19:41:03 EDT 2011 from SVN revision 107422
Copyright © 2005-2011 VT MÄK Inc. All Rights Reserved (www.mak.com)