knowrob
2.1.0
A Knowledge Base System for Cognition-enabled Robots
|
#include <QueryPipeline.h>
Public Member Functions | |
AnswerBuffer_WithReference (const std::shared_ptr< QueryPipeline > &pipeline) | |
AnswerBuffer_WithReference (const std::shared_ptr< QueryPipeline > &pipeline) | |
Public Member Functions inherited from knowrob::TokenBuffer | |
TokenBuffer () | |
void | stopBuffering () |
std::shared_ptr< TokenQueue > | createQueue () |
TokenBuffer () | |
void | stopBuffering () |
std::shared_ptr< TokenQueue > | createQueue () |
Public Member Functions inherited from knowrob::TokenBroadcaster | |
TokenBroadcaster () | |
~TokenBroadcaster () override | |
void | addSubscriber (const std::shared_ptr< Channel > &subscriber) |
void | removeSubscriber (const std::shared_ptr< Channel > &subscriber) |
TokenBroadcaster () | |
~TokenBroadcaster () override | |
void | addSubscriber (const std::shared_ptr< Channel > &subscriber) |
void | removeSubscriber (const std::shared_ptr< Channel > &subscriber) |
Public Member Functions inherited from knowrob::TokenStream | |
TokenStream () | |
virtual | ~TokenStream () |
TokenStream (const TokenStream &)=delete | |
virtual void | close () |
bool | isOpened () const |
TokenStream () | |
virtual | ~TokenStream () |
TokenStream (const TokenStream &)=delete | |
virtual void | close () |
bool | isOpened () const |
Protected Attributes | |
std::shared_ptr< QueryPipeline > | pipeline_ |
Protected Attributes inherited from knowrob::TokenBuffer | |
std::mutex | bufferMutex_ |
std::atomic< bool > | isBuffering_ |
std::list< TokenPtr > | buffer_ |
Protected Attributes inherited from knowrob::TokenBroadcaster | |
std::list< std::shared_ptr< Channel > > | subscribers_ |
std::mutex | mtx_ |
Protected Attributes inherited from knowrob::TokenStream | |
std::list< std::shared_ptr< Channel > > | channels_ |
std::atomic< bool > | isOpened_ |
std::mutex | channel_mutex_ |
Additional Inherited Members | |
Protected Member Functions inherited from knowrob::TokenBuffer | |
void | push (const TokenPtr &tok) override |
void | push (const TokenPtr &tok) override |
Protected Member Functions inherited from knowrob::TokenBroadcaster | |
virtual void | pushToBroadcast (const TokenPtr &tok) |
virtual void | pushToBroadcast (const TokenPtr &tok) |
Protected Member Functions inherited from knowrob::TokenStream | |
virtual void | push (Channel &channel, const TokenPtr &tok) |
virtual void | push (Channel &channel, const TokenPtr &tok) |
A buffer that holds a reference to a query pipeline. This is used such that the underlying pipeline is destroyed once the user drops the reference to the buffer.
Definition at line 79 of file QueryPipeline.h.
|
inlineexplicit |
Definition at line 81 of file QueryPipeline.h.
|
inlineexplicit |
Definition at line 81 of file QueryPipeline.h.
|
protected |
Definition at line 85 of file QueryPipeline.h.