Terms are part of the user front end of the ArmarX condition mechanism.
More...
#include <ArmarXCore/observers/condition/Term.h>
|
| std::ostream & | operator<< (std::ostream &stream, const Term &rhs) |
| | Streaming operator.
|
| |
Terms are part of the user front end of the ArmarX condition mechanism.
Terms describe boolean expressions of condition checks. The logical operations AND, OR and NOT are implemented for terms. Terms are composed of several Literals which correspond to condition checks.
- See also
- Conditions
-
Literal
Definition at line 111 of file Term.h.
◆ Term() [1/3]
Construct an empty term.
For empty terms, the first operations is interpreted as assignment. An empty term is always evaluated to 'true'.
Definition at line 30 of file Term.cpp.
◆ Term() [2/3]
Copy constructor.
- Parameters
-
Definition at line 35 of file Term.cpp.
◆ Term() [3/3]
Construct term by term implementation.
- Parameters
-
| implementation | (will not be copied) |
Definition at line 47 of file Term.cpp.
◆ getImpl()
Retrieve term implementation object as used in the ArmarX Framework in order to build distributed expression trees.
- Returns
- the term implementation
Definition at line 108 of file Term.cpp.
◆ operator!()
| Term operator! |
( |
void | | ) |
const |
The logical NOT operator.
- Returns
- the resulting expression
Definition at line 80 of file Term.cpp.
◆ operator&&()
| Term operator&& |
( |
const Term & | right | ) |
const |
The logical AND operator.
- Parameters
-
- Returns
- the resulting expression
Definition at line 53 of file Term.cpp.
◆ operator=()
The assignment operator.
- Parameters
-
- Returns
- the term
Definition at line 93 of file Term.cpp.
◆ operator||()
| Term operator|| |
( |
const Term & | right | ) |
const |
The logical OR operator.
- Parameters
-
- Returns
- the resulting expression
Definition at line 67 of file Term.cpp.
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & | stream, |
|
|
const Term & | rhs ) |
|
friend |
Streaming operator.
Calls the streaming operator of the implementation
- Parameters
-
| stream | stream |
| rhs | right hand side |
- Returns
- stream
Definition at line 180 of file Term.h.
◆ termImpl
The documentation for this class was generated from the following files:
- ArmarXCore/observers/condition/Term.h
- ArmarXCore/observers/condition/Term.cpp