knowrob  2.1.0
A Knowledge Base System for Cognition-enabled Robots
ReasonerEvent.cpp File Reference
#include "knowrob/reasoner/ReasonerEvent.h"
#include "knowrob/integration/python/utils.h"
Include dependency graph for ReasonerEvent.cpp:

Go to the source code of this file.

Namespaces

 knowrob
 
 knowrob::py
 

Functions

template<typename T >
void createTriples (std::vector< TriplePtr > &triples)
 
template<>
void knowrob::py::createType< reasoner::Event > ()
 

Function Documentation

◆ createTriples()

template<typename T >
void createTriples ( std::vector< TriplePtr > &  triples)

Definition at line 13 of file ReasonerEvent.cpp.

13  {
14  for (auto &triple: triples) {
15  triple.ptr = new T();
16  triple.owned = true;
17  }
18 }