6 #ifndef DYNAMIC_GRAPH_TRACER_REAL_TIME_H 7 #define DYNAMIC_GRAPH_TRACER_REAL_TIME_H 10 #include <dynamic-graph/config-tracer-real-time.hh> 11 #include <dynamic-graph/fwd.hh> 12 #include <dynamic-graph/tracer.h> 21 std::streamsize index;
22 std::streamsize bufferSize;
24 std::string givenname;
30 void resize(
const std::streamsize &size);
31 bool addData(
const char *data,
const std::streamoff &size);
32 void dump(std::ostream &os);
40 DYNAMIC_GRAPH_ENTITY_DECL();
46 virtual void closeFiles();
49 void display(std::ostream &os)
const;
50 DG_TRACERREALTIME_DLLAPI
friend std::ostream &
55 void setBufferSize(
const int &SIZE) { bufferSize = SIZE; }
57 const int &getBufferSize() {
return bufferSize; }
61 const std::string &filename);
63 virtual void recordSignal(std::ostream &os,
const SignalBase<int> &sig);
65 typedef std::list<std::ofstream *> HardFileList;
66 static const int BUFFER_SIZE_DEFAULT = 1048576;
69 HardFileList hardFiles;
Stream for the tracer real-time.
Main class of the tracer real-time plug-in.
Tracer plug-in main class.