30 #ifndef M_ENVIRONMENT_H
31 #define M_ENVIRONMENT_H
43 virtual void run() = 0;
76 virtual void discard()=0;
90 virtual void wait(
unsigned long nMSec)=0;
95 virtual void getTitle(
char* str)=0;
96 virtual void setTitle(
char* str)=0;
101 virtual void message(M_BOOL bSilent,
const char* strText, ...)=0;
102 virtual void mlog(
char* location,
const char* strText, ...)=0;
laTimer * getTimer()
Get inegrated timer.
virtual void thread(laThread *pThread)=0
Create new thread object.
virtual void terminate()=0
Terminate application.
virtual void message(M_BOOL bSilent, const char *strText,...)=0
Display message box.
virtual void create()=0
Create OS environment.
laEnvironment(char *strOS)
Constructor only sets OS name, and specific work is in children.
void printWelcome()
Print initial message to the log file.
virtual void mlog(char *location, const char *strText,...)=0
Print message to the log file.
class laTimer * _pTimer
Timer integrated in the OS message loop and used throughout the system.
char _strOS[128]
Text identifier of the actual operating system.
virtual void wait(unsigned long nMSec)=0
Suspend current thread.
char * getOSName()
Get OS name.
Engine Sub-systems Integrator.
virtual void run()=0
Virtual execution function can be defined by children.
Engine abstract OS environment.
Engine multi-threading class.