knowrob
2.1.0
A Knowledge Base System for Cognition-enabled Robots
|
#include <ReasonerEvent.h>
Public Member Functions | |
TripleEvent (Type eventType, uint32_t tripleCount, bool copy=true) | |
auto & | triples () const |
auto & | triple (uint32_t index) |
TripleEvent (Type eventType, uint32_t tripleCount, bool copy=true) | |
auto & | triples () const |
auto & | triple (uint32_t index) |
Public Member Functions inherited from knowrob::reasoner::Event | |
Event (Type eventType) | |
Type | eventType () const |
Event (Type eventType) | |
Type | eventType () const |
Protected Attributes | |
std::vector< TriplePtr > | triples_ |
Protected Attributes inherited from knowrob::reasoner::Event | |
const Type | eventType_ |
Additional Inherited Members | |
Public Types inherited from knowrob::reasoner::Event | |
enum | Type { Assertion , Retraction , Replacement , Invalidation , Assertion , Retraction , Replacement , Invalidation } |
enum | Type { Assertion , Retraction , Replacement , Invalidation , Assertion , Retraction , Replacement , Invalidation } |
An event that contains a set of triples.
Definition at line 56 of file ReasonerEvent.h.
TripleEvent::TripleEvent | ( | Type | eventType, |
uint32_t | tripleCount, | ||
bool | copy = true |
||
) |
eventType | the type of the event. |
tripleCount | the number of triples in this event. |
copy | whether to use std::string (true) or std::string_view (false) for triples. |
Definition at line 20 of file ReasonerEvent.cpp.
knowrob::reasoner::TripleEvent::TripleEvent | ( | Type | eventType, |
uint32_t | tripleCount, | ||
bool | copy = true |
||
) |
eventType | the type of the event. |
tripleCount | the number of triples in this event. |
copy | whether to use std::string (true) or std::string_view (false) for triples. |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
Definition at line 76 of file ReasonerEvent.h.