#ifndef __BASICENGINE_H_INCL__ #define __BASICENGINE_H_INCL__ #include "basicObject.h" #include "basicMutex.h" /** * TODO: Add class description * * @author Gagua */ #define ENG_WM_UNBORN 0x00 #define ENG_WM_DEAD 0xFF class basicEngine: public basicObject { private: basicMutex m_mWMProtector; uint8_t m_bWM; uint8_t m_bOWM; public: // Constructor basicEngine(); // Destructor virtual ~basicEngine(); virtual bool startService(){ return false; }; virtual bool stopService(){ return true; }; bool setWM( uint8_t s, bool hard = true ); uint8_t getWM( void ); uint8_t getOWM( void ); void setBackOWM( void ); }; // TODO: Uncomment the copy constructor when you need it. //inline basicEngine::basicEngine(const basicEngine& src) //{ // // TODO: copy //} // TODO: Uncomment the assignment operator when you need it. //inline basicEngine& basicEngine::operator=(const basicEngine& rhs) //{ // if (this == &rhs) { // return *this; // } // // // TODO: assignment // // return *this; //} #endif // __BASICENGINE_H_INCL__