#include <input_record_repeat.h>
Public Member Functions | |
| void | ClearBuffer () |
| InputRecordRepeat (const std::string &var_record_prefix) | |
| void | LoadBuffer (const std::string &filename) |
| void | PlayBuffer () |
| void | PlayBuffer (int start, int end) |
| void | Record () |
| void | SaveBuffer (const std::string &filename) |
| void | SetIndex (int id) |
| int | Size () |
| void | Stop () |
| void | UpdateVariable (const std::string &name) |
| template<typename T > | |
| void | UpdateVariable (const Var< T > &var) |
| ~InputRecordRepeat () | |
Static Protected Member Functions | |
| static void | GuiVarChanged (void *data, const std::string &name, _Var &var) |
Protected Attributes | |
| std::ofstream | file |
| std::string | filename |
| int | index |
| bool | play |
| std::list< FrameInput > | play_queue |
| bool | record |
| std::list< FrameInput > | record_queue |
Definition at line 45 of file input_record_repeat.h.
| pangolin::InputRecordRepeat::InputRecordRepeat | ( | const std::string & | var_record_prefix | ) |
Definition at line 8 of file input_record_repeat.cpp.
Definition at line 14 of file input_record_repeat.cpp.
Definition at line 49 of file input_record_repeat.cpp.
| void pangolin::InputRecordRepeat::GuiVarChanged | ( | void * | data, |
| const std::string & | name, | ||
| _Var & | var | ||
| ) | [static, protected] |
Definition at line 137 of file input_record_repeat.cpp.
| void pangolin::InputRecordRepeat::LoadBuffer | ( | const std::string & | filename | ) |
Definition at line 81 of file input_record_repeat.cpp.
Definition at line 95 of file input_record_repeat.cpp.
| void pangolin::InputRecordRepeat::PlayBuffer | ( | int | start, |
| int | end | ||
| ) |
Definition at line 103 of file input_record_repeat.cpp.
| void pangolin::InputRecordRepeat::Record | ( | ) |
Definition at line 36 of file input_record_repeat.cpp.
| void pangolin::InputRecordRepeat::SaveBuffer | ( | const std::string & | filename | ) |
Definition at line 71 of file input_record_repeat.cpp.
| void pangolin::InputRecordRepeat::SetIndex | ( | int | id | ) |
Definition at line 19 of file input_record_repeat.cpp.
Definition at line 118 of file input_record_repeat.cpp.
| void pangolin::InputRecordRepeat::Stop | ( | ) |
Definition at line 43 of file input_record_repeat.cpp.
| void pangolin::InputRecordRepeat::UpdateVariable | ( | const std::string & | name | ) |
Definition at line 123 of file input_record_repeat.cpp.
| void pangolin::InputRecordRepeat::UpdateVariable | ( | const Var< T > & | var | ) | [inline] |
Definition at line 65 of file input_record_repeat.h.
std::ofstream pangolin::InputRecordRepeat::file [protected] |
Definition at line 77 of file input_record_repeat.h.
std::string pangolin::InputRecordRepeat::filename [protected] |
Definition at line 78 of file input_record_repeat.h.
int pangolin::InputRecordRepeat::index [protected] |
Definition at line 76 of file input_record_repeat.h.
bool pangolin::InputRecordRepeat::play [protected] |
Definition at line 74 of file input_record_repeat.h.
std::list<FrameInput> pangolin::InputRecordRepeat::play_queue [protected] |
Definition at line 80 of file input_record_repeat.h.
bool pangolin::InputRecordRepeat::record [protected] |
Definition at line 73 of file input_record_repeat.h.
std::list<FrameInput> pangolin::InputRecordRepeat::record_queue [protected] |
Definition at line 81 of file input_record_repeat.h.