|
knowrob
2.1.0
A Knowledge Base System for Cognition-enabled Robots
|
#include <Goal.h>


Protected Member Functions | |
| void | write (std::ostream &os) const override |
| void | write (std::ostream &os) const override |
Protected Attributes | |
| std::shared_ptr< const QueryContext > | ctx_ |
| std::shared_ptr< TokenBuffer > | answerBuffer_ |
| std::shared_ptr< TokenStream::Channel > | outputChannel_ |
| std::shared_ptr< SimpleConjunction > | formula_ |
Protected Attributes inherited from knowrob::Query | |
| QueryContextPtr | ctx_ |
|
explicit |
| formula | a formula. |
| ctx | a query context. |
Definition at line 57 of file Goal.cpp.
|
explicit |
| Goal::Goal | ( | SimpleConjunctionPtr | formula, |
| const Goal & | goal | ||
| ) |
|
override |
|
explicit |
| formula | a formula. |
| ctx | a query context. |
|
explicit |
| literal | a literal. |
| ctx | a query context. |
| knowrob::Goal::Goal | ( | SimpleConjunctionPtr | formula, |
| const Goal & | goal | ||
| ) |
| formula | a formula. |
| goal | a goal. |
|
override |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void Goal::push | ( | const AnswerPtr & | answer | ) |
Pushes an answer into the output channel.
| answer | an answer. |
| void knowrob::Goal::push | ( | const AnswerPtr & | answer | ) |
Pushes an answer into the output channel.
| answer | an answer. |
| void Goal::push | ( | const BindingsPtr & | bindings | ) |
Pushes a positive answer into the output channel.
| bindings | the bindings under which the query is true. |
Definition at line 79 of file Goal.cpp.
| void knowrob::Goal::push | ( | const BindingsPtr & | bindings | ) |
Pushes a positive answer into the output channel.
| bindings | the bindings under which the query is true. |
|
inlineoverrideprotectedvirtual |
Print this object to a stream.
| os | the stream to print to. |
Implements knowrob::Printable.
Definition at line 81 of file Goal.h.
|
inlineoverrideprotectedvirtual |
Print this object to a stream.
| os | the stream to print to. |
Implements knowrob::Printable.
Definition at line 81 of file Goal.h.
|
protected |
|
protected |
|
protected |
|
protected |