.
This commit is contained in:
@@ -14,16 +14,22 @@ namespace utils {
|
||||
|
||||
|
||||
|
||||
class SchemaLoader: public libvariant::SchemaLoader {
|
||||
class SchemaLoader
|
||||
: public libvariant::SchemaLoader {
|
||||
|
||||
private:
|
||||
std::string ros_param_ns;
|
||||
std::string prefix;
|
||||
ros::NodeHandle nodeHandle;
|
||||
|
||||
bool loadTypeSchema(std::string schema);
|
||||
|
||||
public:
|
||||
SchemaLoader(std::string ns = "/hos/types/repository", std::string prefix = "hos:schema://")
|
||||
SchemaLoader(const std::string& ns = "/hos/types/repository", const std::string& prefix = "hos:schema://")
|
||||
: ros_param_ns(ns), prefix(prefix), nodeHandle("~") {}
|
||||
virtual bool HandleMissing(const std::string &uri, LoaderError &error);
|
||||
|
||||
virtual bool HandleMissing(const std::string &uri, LoaderError &error) override;
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user