Public Member Functions | Public Attributes | Private Attributes | List of all members
RecordGenerator Class Reference

Public Member Functions

void apply ()
 
void applyAndGotoNextTimestep ()
 
void applyAndGotoNextTimestep (const uint32_t n)
 
void dynamicReconfCallback (asr_ism::recordGenConfig &config, uint32_t level)
 
void filterViaVgOut (boost::filesystem::path vgOutFile)
 
std::vector< ISM::ObjectPtr > getCurrentInvisibleObjects ()
 
std::vector< ISM::ObjectPtr > getCurrentVisibleObjects ()
 
std::vector< ISM::ObjectPtr > getObjects (unsigned int from, unsigned int to)
 
std::vector< ISM::ObjectPtr > getOldObjects ()
 
void parseXml (path xmlFile)
 
 RecordGenerator (std::string dbFile, std::string patternName="pattern0", bool doPublish=false)
 
void showFromTo (const std_msgs::Float64MultiArray::ConstPtr &msg)
 
void writeToDb ()
 
void writeToDb (const std_msgs::Empty)
 

Public Attributes

std::string mDbFile
 
bool mDoPublish
 
bool mFilterViaVgOut
 
std::string mPatternName
 
std::map< std::string, std::string > mPatternToRef
 
std::map< std::pair< std::string, std::string >, std::set< uint32_t > > mPatternTypeToVoxelReps
 
std::set< std::tuple< uint32_t, uint32_t, RecordGenPointPtr >, cmpFromToPointTuplemPoints
 
bool mShowCurrent
 
uint32_t mShowFrom
 
uint32_t mShowTo
 
unsigned int mTimestep
 
std::vector< ISM::TrackPtr > mTracks
 
ISM::RecorderPtr rec
 

Private Attributes

dynamic_reconfigure::Server< asr_ism::recordGenConfig > mDynReconfServer
 
std::vector< int32_t > mIdXmlPoints
 
int32_t mNextId
 
std::map< RecordGenPointPtr, std::vector< unsigned int > > mTimestampVisibleXmlPoints
 

Detailed Description

Definition at line 605 of file recordGen.cpp.

Constructor & Destructor Documentation

RecordGenerator::RecordGenerator ( std::string  dbFile,
std::string  patternName = "pattern0",
bool  doPublish = false 
)
inline

Definition at line 731 of file recordGen.cpp.

Member Function Documentation

void RecordGenerator::apply ( )
inline

Definition at line 824 of file recordGen.cpp.

void RecordGenerator::applyAndGotoNextTimestep ( )
inline

Definition at line 801 of file recordGen.cpp.

void RecordGenerator::applyAndGotoNextTimestep ( const uint32_t  n)
inline

Definition at line 846 of file recordGen.cpp.

void RecordGenerator::dynamicReconfCallback ( asr_ism::recordGenConfig &  config,
uint32_t  level 
)
inline

Definition at line 725 of file recordGen.cpp.

void RecordGenerator::filterViaVgOut ( boost::filesystem::path  vgOutFile)
inline

Definition at line 750 of file recordGen.cpp.

std::vector<ISM::ObjectPtr> RecordGenerator::getCurrentInvisibleObjects ( )
inline

Definition at line 872 of file recordGen.cpp.

std::vector<ISM::ObjectPtr> RecordGenerator::getCurrentVisibleObjects ( )
inline

Definition at line 854 of file recordGen.cpp.

std::vector<ISM::ObjectPtr> RecordGenerator::getObjects ( unsigned int  from,
unsigned int  to 
)
inline

Definition at line 898 of file recordGen.cpp.

std::vector<ISM::ObjectPtr> RecordGenerator::getOldObjects ( )
inline

Definition at line 987 of file recordGen.cpp.

void RecordGenerator::parseXml ( path  xmlFile)
inline

Definition at line 608 of file recordGen.cpp.

void RecordGenerator::showFromTo ( const std_msgs::Float64MultiArray::ConstPtr &  msg)
inline

Definition at line 891 of file recordGen.cpp.

void RecordGenerator::writeToDb ( )
inline

Definition at line 996 of file recordGen.cpp.

void RecordGenerator::writeToDb ( const std_msgs::Empty  )
inline

Definition at line 1014 of file recordGen.cpp.

Member Data Documentation

std::string RecordGenerator::mDbFile

Definition at line 1027 of file recordGen.cpp.

bool RecordGenerator::mDoPublish

Definition at line 1037 of file recordGen.cpp.

dynamic_reconfigure::Server<asr_ism::recordGenConfig> RecordGenerator::mDynReconfServer
private

Definition at line 1023 of file recordGen.cpp.

bool RecordGenerator::mFilterViaVgOut

Definition at line 1028 of file recordGen.cpp.

std::vector<int32_t> RecordGenerator::mIdXmlPoints
private

Definition at line 1021 of file recordGen.cpp.

int32_t RecordGenerator::mNextId
private

Definition at line 1020 of file recordGen.cpp.

std::string RecordGenerator::mPatternName

Definition at line 1031 of file recordGen.cpp.

std::map<std::string, std::string> RecordGenerator::mPatternToRef

Definition at line 1030 of file recordGen.cpp.

std::map<std::pair<std::string, std::string>, std::set<uint32_t> > RecordGenerator::mPatternTypeToVoxelReps

Definition at line 1029 of file recordGen.cpp.

std::set<std::tuple<uint32_t,uint32_t,RecordGenPointPtr>, cmpFromToPointTuple> RecordGenerator::mPoints

Definition at line 1033 of file recordGen.cpp.

bool RecordGenerator::mShowCurrent

Definition at line 1036 of file recordGen.cpp.

uint32_t RecordGenerator::mShowFrom

Definition at line 1038 of file recordGen.cpp.

uint32_t RecordGenerator::mShowTo

Definition at line 1039 of file recordGen.cpp.

std::map<RecordGenPointPtr, std::vector<unsigned int> > RecordGenerator::mTimestampVisibleXmlPoints
private

Definition at line 1022 of file recordGen.cpp.

unsigned int RecordGenerator::mTimestep

Definition at line 1026 of file recordGen.cpp.

std::vector<ISM::TrackPtr> RecordGenerator::mTracks

Definition at line 1034 of file recordGen.cpp.

ISM::RecorderPtr RecordGenerator::rec

Definition at line 1035 of file recordGen.cpp.


The documentation for this class was generated from the following file:


asr_ism
Author(s): Borella Jocelyn, Hanselmann Fabian, Heller Florian, Heizmann Heinrich, Kübler Marcel, Mehlhaus Jonas, Meißner Pascal, Qattan Mohamad, Reckling Reno, Stroh Daniel
autogenerated on Thu Jan 9 2020 07:20:58