00001 #ifndef MOTOR_H 00002 #define MOTOR_H 00003 #include "rdo.h" 00007 namespace dynamic 00008 { 00013 class motor:public rdo 00014 { 00015 private: 00016 bool m_switch_on; 00017 protected: 00018 public: 00019 motor(); 00020 ~motor(); 00024 void switch_on(); 00028 void switch_off(); 00029 }; 00030 } 00031 #endif //MOTOR_H