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);
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);
150 bool myOperationRunningFlag;
151 int myOperationProgress;
152 bool myOperationInterruptible;
153 bool myOperationCanceledFlag;
155 bool myTimeToShutdown;
157 bool myPerformanceWarning;
159 DtTime myTickOverheadTime;