10 #ifndef lgrSystemInterface_H_
11 #define lgrSystemInterface_H_
19 #include <vlutil/vlTime.h>
25 class DtLgrSystemCommandFactory;
26 class DtLgrMessageOutputListener;
45 DtLgrSystemInterface(const DtLgrSystemInterface&);
47 DtLgrSystemInterface& operator=(const DtLgrSystemInterface&);
51 virtual
void issueTextCommand(const DtString& commandString) const;
54 virtual
void cancelLongOperation() const;
57 virtual
void deleteFile(const DtString& filename) const;
60 virtual
void setNotifyLevel(
int vlLevel,
int lgrLevel) const;
63 virtual
void shutdown() const;
66 virtual
bool timeToShutdown() const;
69 virtual const DtString& operationName() const;
72 virtual const DtString& operationMessage() const;
75 virtual
int operationProgress() const;
78 virtual
bool operationInterruptible() const;
81 virtual
bool wasOperationCanceled() const;
84 virtual
void installOutputListener(
110 bool basicGuiFlag() const;
113 void setGuiConfigFilename(DtString guiConfigFilename);
116 DtString guiConfigFilename() const;
119 void setPerformanceWarning(
bool behind, DtTime amountBehind);
122 bool isPerformanceWarningEnabled() const;
125 DtTime tickOverheadTime() const;
129 void (DtLgrSystemInterface::* function)(
DtResponse));
131 void messageReceived(DtResponse);
132 void consoleMessageReceived(DtResponse);
133 void requestShutdown(DtResponse);
135 void basicGuiFlagSet(DtResponse);
137 void longOperationStarted(DtResponse);
138 void longOperationFinished(DtResponse);
139 void longOperationUpdated(DtResponse);
141 void setGuiConfigFilename(DtResponse);
142 void performanceWarningReceived(DtResponse);
146 DtString myConsoleMessage;
148 DtString myOperationName;
149 DtString myOperationMessage;
150 bool myOperationRunningFlag;
151 int myOperationProgress;
152 bool myOperationInterruptible;
153 bool myOperationCanceledFlag;
155 bool myTimeToShutdown;
157 bool myPerformanceWarning;
158 DtString myGuiConfigFilename;
159 DtTime myTickOverheadTime;
Contains MAKLogger::DtSlot and MAKLogger::DtFunctionSlot and MAKLogger::DtMemberSlot and MAKLogger::S...
The base class for command interface which allows an interface to send and receive commands...
Definition: lgrInterface.h:33
#define DT_VIRTUAL_CTR(CLASS_NAME, ARG_TYPES_LIST)
Declare a Virtual Constructor Create using DT_VIRTUAL_CTR(CLASS_NAME,ARG_TYPES_LIST) Where CLASS_NAME...
Definition: virtualConstructor.h:34
The factory for creating logger system commands.
Definition: lgrSystemCommandFactory.h:26
DtBoost::shared_ptr< const DtCommand > DtResponse
Definition: lgrCommand.h:174
Contains DT_VIRTUAL_CTR DT_VIRTUAL_CTR_DEFAULTS DT_VIRTUAL_COPY_ASSIGN DT_VIRTUAL_BASE_CTR DT_PURE_VI...
Contains MAKLogger::DtScopedSequenceLock and MAKLogger::DtThreadSafe classes.
DtLgrSystemCommandFactory Factory
Definition: lgrSystemInterface.h:35
Base class for an output listener.
Definition: messageOutputListener.h:20
a thread safe interface to a value.
Definition: threadSafe.h:101
#define DT_DLL_LGRCORE
Definition: lgrCore.h:19
The class responsible for interfacing with the low level logger system functions. ...
Definition: lgrSystemInterface.h:31
DtLogger provides the core system structure and controls the execution model for the underlying objec...
Definition: logger.h:35
short DtLgrCommandId
Definition: lgrCommand.h:25
Contains MAKLogger::DtCommandInterface class.
Contains lgrCore library definitions.
Definition: signalSlot.h:163