00001 00013 #include <cmath> 00014 #include <iostream> 00015 #include <sstream> 00016 #include <string> 00017 #include <vector> 00018 00019 #include "popassert.h" 00020 #include "CColor.h" 00021 #include "CVector3f.h" 00022 #include "CVectBase.h" 00023 #include "compute.h" 00024 #include "CMathExpression.h" 00025 #include "CRenderObj.h" 00026 #include "CCommand.h" 00027 #include "CCommandExecutor.h" 00028 #include "CCommandParser.h" 00029 00037 class CSingletonHandler 00038 { 00039 public: 00044 CSingletonHandler() 00045 { 00046 CCommandExecutor::getInstance(); 00047 CCommandParser::getInstance(); 00048 } 00049 00054 ~CSingletonHandler() 00055 { 00056 CCommandParser::freeInstance(); 00057 CCommandExecutor::freeInstance(); 00058 } 00059 }; 00060 00065 static CSingletonHandler singletonHandler; 00066
1.5.4