00001 #ifndef TOKENMAPLOADER_H_ 00002 #define TOKENMAPLOADER_H_ 00003 00004 #include <string> 00005 #include "tinyxml.h" 00006 #include "nasa_common_logging/Logger.h" 00007 #include "robot_instance/DataMaps.h" 00008 #include "robot_instance/TokenFactory.h" 00009 #include "robot_instance/RobotInstance.h" 00010 00011 namespace TokenMapLoader 00012 { 00013 void loadElements(RobotInstancePtr instance, TokenMapPtr tokenMap); 00014 00015 namespace Private 00016 { 00017 void loadElementsFromFile(const std::string& filename, const std::string& namePrefix, TokenMapPtr tokenMap); 00018 }; 00019 00020 }; 00021 00022 #endif /* TOKENMAPLOADER_H_ */