Control Libraries 7.4.0
Loading...
Searching...
No Matches
Predicate.hpp
1#pragma once
2
3#include "state_representation/parameters/Parameter.hpp"
4
5namespace state_representation {
6
11class Predicate : public Parameter<bool> {
12public:
16 explicit Predicate(const std::string& name);
17
23 explicit Predicate(const std::string& name, bool value);
24
31 friend std::ostream& operator<<(std::ostream& os, const Predicate& predicate);
32};
33}// namespace state_representation
Class to represent name-value pairs of different types.
Definition Parameter.hpp:18
A predicate is a boolean parameter as in the logic formalism.
Definition Predicate.hpp:11
friend std::ostream & operator<<(std::ostream &os, const Predicate &predicate)
Overload the ostream operator for printing.
Definition Predicate.cpp:9
Core state variables and objects.