Files
mir_server/server/robot/RobotConfig.h

39 lines
931 B
C
Raw Normal View History

2025-01-09 17:45:40 +08:00
#pragma once
class CRobotManager;
/*
*,ip地址等东西
*/
class CRobotConfig
: public CCustomLuaConfig
{
public:
/*
* Comments:
* Param CRobotManager * lpSSManager:
* Param const char * sConfigFile:
* @Return bool:truefalse
*/
bool loadConfig(CRobotManager *lpSSManager, const char * sConfigFile);
protected:
void showError(LPCTSTR sError);
/*
* Comments:
* Param CRobotManager * lpSSManager:
* @Return bool:truefalse
*/
bool readConfig(CRobotManager *lpSSManager);
/*
* Comments:
* Param CRobotManager * lpSSManager:
* @Return bool:
* @Remark:
*/
bool readMapPoints(CRobotManager *lpSSManager);
};