Class ProblemExpertClient

Inheritance Relationships

Base Type

Class Documentation

class ProblemExpertClient : public plansys2::ProblemExpertInterface

Public Functions

ProblemExpertClient()
virtual std::vector<plansys2::Instance> getInstances()
virtual bool addInstance(const plansys2::Instance &instance)
virtual bool removeInstance(const plansys2::Instance &instance)
virtual std::optional<plansys2::Instance> getInstance(const std::string &name)
virtual std::vector<plansys2::Predicate> getPredicates()
virtual bool addPredicate(const plansys2::Predicate &predicate)
virtual bool removePredicate(const plansys2::Predicate &predicate)
virtual bool existPredicate(const plansys2::Predicate &predicate)
virtual std::optional<plansys2::Predicate> getPredicate(const std::string &predicate)
virtual std::vector<plansys2::Function> getFunctions()
virtual bool addFunction(const plansys2::Function &function)
virtual bool removeFunction(const plansys2::Function &function)
virtual bool existFunction(const plansys2::Function &function)
virtual bool updateFunction(const plansys2::Function &function)
virtual std::optional<plansys2::Function> getFunction(const std::string &function)
virtual plansys2::Goal getGoal()
virtual bool setGoal(const plansys2::Goal &goal)
virtual bool isGoalSatisfied(const plansys2::Goal &goal)
virtual bool clearGoal()
virtual bool clearKnowledge()
virtual std::string getProblem()
virtual bool addProblem(const std::string &problem_str)
inline rclcpp::Time getUpdateTime() const