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


Public Member Functions | |
| ReasonerRunner ()=default | |
| void | run () override |
| ReasonerRunner ()=default | |
| void | run () override |
Public Member Functions inherited from knowrob::ThreadPool::Runner | |
| Runner () | |
| virtual | ~Runner () |
| Runner (const Runner &)=delete | |
| void | join () |
| void | stop (bool wait) |
| bool | hasStopRequest () const |
| bool | isTerminated () const |
| Runner () | |
| virtual | ~Runner () |
| Runner (const Runner &)=delete | |
| void | join () |
| void | stop (bool wait) |
| bool | hasStopRequest () const |
| bool | isTerminated () const |
Public Attributes | |
| std::shared_ptr< GoalDrivenReasoner > | reasoner |
| std::shared_ptr< Goal > | query |
Additional Inherited Members | |
Protected Member Functions inherited from knowrob::ThreadPool::Runner | |
| void | runInternal () |
| void | setExceptionHandler (ExceptionHandler exceptionHandler) |
| void | runInternal () |
| void | setExceptionHandler (ExceptionHandler exceptionHandler) |
Protected Attributes inherited from knowrob::ThreadPool::Runner | |
| std::atomic< bool > | isTerminated_ |
| std::atomic< bool > | isRunning_ |
| std::atomic< bool > | hasStopRequest_ |
| std::mutex | mutex_ |
| std::condition_variable | finishedCV_ |
| ExceptionHandler | exceptionHandler_ |
A runner that can be used to evaluate a query in a thread pool.
Definition at line 134 of file GoalDrivenReasoner.h.
|
default |
|
default |
|
overridevirtual |
Run the computation in a worker thread.
Implements knowrob::ThreadPool::Runner.
Definition at line 59 of file GoalDrivenReasoner.cpp.
|
overridevirtual |
Run the computation in a worker thread.
Implements knowrob::ThreadPool::Runner.
| std::shared_ptr< Goal > knowrob::ReasonerRunner::query |
Definition at line 137 of file GoalDrivenReasoner.h.
| std::shared_ptr< GoalDrivenReasoner > knowrob::ReasonerRunner::reasoner |
Definition at line 136 of file GoalDrivenReasoner.h.