Recorder.cpp
Go to the documentation of this file.
1 
18 #include "Recorder.hpp"
19 #include <vector>
20 
21 namespace ISM {
22  Recorder::Recorder(const std::string& dbfilename) {
23  this->tableHelper.reset(new TableHelper(dbfilename));
24  }
25 
26  /*Recorder::~Recorder() {
27  //std::cout<<"recorder destroyed"<<std::endl;
28  }*/
29 
30  void Recorder::insert(const ObjectSetPtr& set, const std::string& patternName) {
31  std::cout<<"inserting set for pattern "<<patternName<<". With Objects: "<<set<<std::endl;
32  this->tableHelper->insertRecordedObjectSet(set, patternName);
33  }
34 }
std::string patternName
TableHelperPtr tableHelper
Definition: Recorder.hpp:32
void insert(const ObjectSetPtr &set, const std::string &patternName)
Definition: Recorder.cpp:30
boost::shared_ptr< ObjectSet > ObjectSetPtr
Definition: ObjectSet.hpp:53
this namespace contains all generally usable classes.
Recorder(const std::string &dbfilename)
Definition: Recorder.cpp:22


asr_lib_ism
Author(s): Hanselmann Fabian, Heller Florian, Heizmann Heinrich, Kübler Marcel, Mehlhaus Jonas, Meißner Pascal, Qattan Mohamad, Reckling Reno, Stroh Daniel
autogenerated on Wed Jan 8 2020 04:02:40