MOOSE - Multiscale Object Oriented Simulation Environment
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Streamer Class Reference

#include <Streamer.h>

+ Inheritance diagram for Streamer:
+ Collaboration diagram for Streamer:

Public Member Functions

void addTable (Id table)
 Add a table to streamer. More...
 
void addTables (vector< Id > tables)
 Add multiple tables to Streamer. More...
 
void cleanUp (void)
 This function is called from Shell when simulation is called to write the left-over data to streamer file. More...
 
string getFormat (void) const
 
size_t getNumTables (void) const
 Get the number of tables handled by Streamer. More...
 
string getOutFilepath (void) const
 
Streameroperator= (const Streamer &st)
 
void process (const Eref &e, ProcPtr p)
 This function is called at its clock tick. More...
 
void reinit (const Eref &e, ProcPtr p)
 Reinit. More...
 
void removeTable (Id table)
 Remove a table from Streamer. More...
 
void removeTables (vector< Id > table)
 Remove multiple tables – if found – from Streamer. More...
 
void setFormat (string format)
 
void setOutFilepath (string path)
 
 Streamer ()
 
void zipWithTime ()
 This function prepares data to be written to a file. More...
 
 ~Streamer ()
 
- Public Member Functions inherited from StreamerBase
string getOutFilepath () const
 
StreamerBaseoperator= (const StreamerBase &st)
 
void setOutFilepath (string stream)
 
 StreamerBase ()
 
 ~StreamerBase ()
 
- Public Member Functions inherited from TableBase
void clearVec ()
 
void compareVec (vector< double > other, string op)
 
void compareXplot (string fname, string plotname, string op)
 
const vector< double > & data ()
 
double getOutputValue () const
 
string getPlotDump () const
 
vector< double > getVec () const
 
unsigned int getVecSize () const
 
double getY (unsigned int index) const
 
double interpolate (double x, double xmin, double xmax) const
 
void linearTransform (double scale, double offset)
 
void loadCSV (string fname, int startLine, int colNum, char separator)
 
void loadXplot (string fname, string plotname)
 
void loadXplotRange (string fname, string plotname, unsigned int start, unsigned int end)
 
double * lookupVec (unsigned int index)
 
void plainPlot (string file)
 
void setOutputValue (double val)
 
void setPlotDump (string v)
 
void setVec (vector< double > val)
 
void setVecSize (unsigned int num)
 
 TableBase ()
 
void xplot (string file, string plotname)
 

Static Public Member Functions

static const CinfoinitCinfo ()
 
- Static Public Member Functions inherited from StreamerBase
static void writeToCSVFile (const string &filepath, const string &openmode, const vector< double > &data, const vector< string > &columns)
 Write data to csv file. See the documentation of writeToOutfile for details. More...
 
static void writeToNPYFile (const string &filepath, const string &openmode, const vector< double > &data, const vector< string > &columns)
 Write to NPY format. See the documentation of writeToOutfile for more details. More...
 
static void writeToOutFile (const string &filepath, const string &format, const string &openmode, const vector< double > &data, const vector< string > &columns)
 Write to a output file in given format. More...
 
- Static Public Member Functions inherited from TableBase
static const CinfoinitCinfo ()
 

Private Attributes

vector< string > columns_
 
double currTime_
 
vector< double > data_
 
string format_
 
bool isOutfilePathSet_
 
string outfilePath_
 
vector< double > tableDt_
 
vector< IdtableIds_
 
vector< Table * > tables_
 
vector< unsigned int > tableTick_
 

Additional Inherited Members

- Protected Member Functions inherited from TableBase
vector< double > & vec ()
 

Detailed Description

Definition at line 33 of file Streamer.h.

Constructor & Destructor Documentation

Streamer::Streamer ( )

Definition at line 139 of file Streamer.cpp.

References columns_, data_, format_, tableDt_, tableIds_, tables_, and tableTick_.

140 {
141  // Not all compilers allow initialization during the declaration of class
142  // methods.
143  format_ = "npy";
144  columns_.push_back( "time" ); /* First column is time. */
145  tables_.resize(0);
146  tableIds_.resize(0);
147  tableTick_.resize(0);
148  tableDt_.resize(0);
149  data_.resize(0);
150 }
string format_
Definition: Streamer.h:76
vector< Id > tableIds_
Definition: Streamer.h:88
vector< Table * > tables_
Definition: Streamer.h:89
vector< double > tableDt_
Definition: Streamer.h:80
vector< double > data_
Definition: Streamer.h:93
vector< string > columns_
Definition: Streamer.h:90
vector< unsigned int > tableTick_
Definition: Streamer.h:81
Streamer::~Streamer ( )

Definition at line 158 of file Streamer.cpp.

159 {
160 }

Member Function Documentation

void Streamer::addTable ( Id  table)

Add a table to streamer.

Parameters
tableId of table.

Definition at line 281 of file Streamer.cpp.

References columns_, Eref::data(), Id::element(), Id::eref(), Table::getColumnName(), Element::getTick(), moose::moosePathToUserPath(), Id::path(), tableIds_, tables_, and tableTick_.

Referenced by addTables(), and initCinfo().

282 {
283  // If this table is not already in the vector, add it.
284  for( size_t i = 0; i < tableIds_.size(); i++)
285  if( table.path() == tableIds_[i].path() )
286  return; /* Already added. */
287 
288  Table* t = reinterpret_cast<Table*>(table.eref().data());
289  tableIds_.push_back( table );
290  tables_.push_back( t );
291  tableTick_.push_back( table.element()->getTick() );
292 
293  // NOTE: If user can make sure that names are unique in table, using name is
294  // better than using the full path.
295  if( t->getColumnName().size() > 0 )
296  columns_.push_back( t->getColumnName( ) );
297  else
298  columns_.push_back( moose::moosePathToUserPath( table.path() ) );
299 }
char * data() const
Definition: Eref.cpp:41
vector< Id > tableIds_
Definition: Streamer.h:88
Element * element() const
Synonym for Id::operator()()
Definition: Id.cpp:113
vector< Table * > tables_
Definition: Streamer.h:89
std::string path(const std::string &separator="/") const
Definition: Id.cpp:76
Eref eref() const
Definition: Id.cpp:125
string moosePathToUserPath(string path)
When user gives a path /a/b/c, moose creates a path /a[0]/b[0]/c[0]. This is helpful in cases where o...
Definition: global.cpp:189
int getTick() const
Definition: Element.cpp:186
vector< string > columns_
Definition: Streamer.h:90
string getColumnName() const
Definition: Table.cpp:389
vector< unsigned int > tableTick_
Definition: Streamer.h:81
Definition: Table.h:18

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Streamer::addTables ( vector< Id tables)

Add multiple tables to Streamer.

Parameters
tables

Definition at line 306 of file Streamer.cpp.

References addTable().

Referenced by initCinfo().

307 {
308  if( tables.size() == 0 )
309  return;
310  for( vector<Id>::const_iterator it = tables.begin(); it != tables.end(); it++)
311  addTable( *it );
312 }
void addTable(Id table)
Add a table to streamer.
Definition: Streamer.cpp:281

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Streamer::cleanUp ( void  )

This function is called from Shell when simulation is called to write the left-over data to streamer file.

Definition at line 249 of file Streamer.cpp.

References columns_, data_, format_, outfilePath_, StreamerBase::writeToOutFile(), and zipWithTime().

Referenced by Shell::doStart().

250 {
251  zipWithTime( );
253  data_.clear( );
254 }
string format_
Definition: Streamer.h:76
vector< double > data_
Definition: Streamer.h:93
vector< string > columns_
Definition: Streamer.h:90
string outfilePath_
Definition: Streamer.h:75
void zipWithTime()
This function prepares data to be written to a file.
Definition: Streamer.cpp:394
static void writeToOutFile(const string &filepath, const string &format, const string &openmode, const vector< double > &data, const vector< string > &columns)
Write to a output file in given format.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

string Streamer::getFormat ( void  ) const

Definition at line 386 of file Streamer.cpp.

References format_.

Referenced by initCinfo().

387 {
388  return format_;
389 }
string format_
Definition: Streamer.h:76

+ Here is the caller graph for this function:

size_t Streamer::getNumTables ( void  ) const

Get the number of tables handled by Streamer.

Returns
Number of tables.

Definition at line 354 of file Streamer.cpp.

References tables_.

Referenced by initCinfo().

355 {
356  return tables_.size();
357 }
vector< Table * > tables_
Definition: Streamer.h:89

+ Here is the caller graph for this function:

string Streamer::getOutFilepath ( void  ) const

Definition at line 360 of file Streamer.cpp.

References outfilePath_.

Referenced by initCinfo().

361 {
362  return outfilePath_;
363 }
string outfilePath_
Definition: Streamer.h:75

+ Here is the caller graph for this function:

const Cinfo * Streamer::initCinfo ( )
static

Definition at line 28 of file Streamer.cpp.

References addTable(), addTables(), getFormat(), getNumTables(), getOutFilepath(), TableBase::initCinfo(), process(), reinit(), removeTable(), removeTables(), setFormat(), setOutFilepath(), and tableStreamCinfo.

29 {
30  /*-----------------------------------------------------------------------------
31  * Finfos
32  *-----------------------------------------------------------------------------*/
33  static ValueFinfo< Streamer, string > outfile(
34  "outfile"
35  , "File/stream to write table data to. Default is is __moose_tables__.dat.n"
36  " By default, this object writes data every second \n"
39  );
40 
41  static ValueFinfo< Streamer, string > format(
42  "format"
43  , "Format of output file, default is csv"
46  );
47 
49  "numTables"
50  , "Number of Tables handled by Streamer "
52  );
53 
54  /*-----------------------------------------------------------------------------
55  *
56  *-----------------------------------------------------------------------------*/
57  static DestFinfo process(
58  "process"
59  , "Handle process call"
61  );
62 
63  static DestFinfo reinit(
64  "reinit"
65  , "Handles reinit call"
67  );
68 
69 
70  static DestFinfo addTable(
71  "addTable"
72  , "Add a table to Streamer"
74  );
75 
76  static DestFinfo addTables(
77  "addTables"
78  , "Add many tables to Streamer"
79  , new OpFunc1<Streamer, vector<Id> >( &Streamer::addTables )
80  );
81 
82  static DestFinfo removeTable(
83  "removeTable"
84  , "Remove a table from Streamer"
86  );
87 
88  static DestFinfo removeTables(
89  "removeTables"
90  , "Remove tables -- if found -- from Streamer"
91  , new OpFunc1<Streamer, vector<Id> >( &Streamer::removeTables )
92  );
93 
94  /*-----------------------------------------------------------------------------
95  * ShareMsg definitions.
96  *-----------------------------------------------------------------------------*/
97  static Finfo* procShared[] =
98  {
100  };
101 
102  static SharedFinfo proc(
103  "proc",
104  "Shared message for process and reinit",
105  procShared, sizeof( procShared ) / sizeof( const Finfo* )
106  );
107 
108  static Finfo * tableStreamFinfos[] =
109  {
110  &outfile, &format, &proc, &numTables
111  };
112 
113  static string doc[] =
114  {
115  "Name", "Streamer",
116  "Author", "Dilawar Singh, 2016, NCBS, Bangalore.",
117  "Description", "Streamer: Stream moose.Table data to out-streams\n"
118  };
119 
120  static Dinfo< Streamer > dinfo;
121 
122  static Cinfo tableStreamCinfo(
123  "Streamer",
125  tableStreamFinfos,
126  sizeof( tableStreamFinfos )/sizeof(Finfo *),
127  &dinfo,
128  doc,
129  sizeof(doc) / sizeof(string)
130  );
131 
132  return &tableStreamCinfo;
133 }
string getFormat(void) const
Definition: Streamer.cpp:386
Definition: Dinfo.h:60
void setFormat(string format)
Definition: Streamer.cpp:380
void removeTable(Id table)
Remove a table from Streamer.
Definition: Streamer.cpp:320
static const Cinfo * tableStreamCinfo
Definition: Streamer.cpp:135
void setOutFilepath(string path)
Definition: Streamer.cpp:365
static const Cinfo * initCinfo()
Definition: TableBase.cpp:15
void process(const Eref &e, ProcPtr p)
This function is called at its clock tick.
Definition: Streamer.cpp:262
void addTable(Id table)
Add a table to streamer.
Definition: Streamer.cpp:281
string getOutFilepath(void) const
Definition: Streamer.cpp:360
Definition: OpFunc.h:27
void removeTables(vector< Id > table)
Remove multiple tables – if found – from Streamer.
Definition: Streamer.cpp:343
void addTables(vector< Id > tables)
Add multiple tables to Streamer.
Definition: Streamer.cpp:306
size_t getNumTables(void) const
Get the number of tables handled by Streamer.
Definition: Streamer.cpp:354
void reinit(const Eref &e, ProcPtr p)
Reinit.
Definition: Streamer.cpp:168
Definition: Cinfo.h:18
Definition: Finfo.h:12

+ Here is the call graph for this function:

Streamer & Streamer::operator= ( const Streamer st)

Definition at line 152 of file Streamer.cpp.

153 {
154  return *this;
155 }
void Streamer::process ( const Eref e,
ProcPtr  p 
)

This function is called at its clock tick.

Dest functions. The process function called by scheduler on every tick

Parameters
e
p

Definition at line 262 of file Streamer.cpp.

References columns_, data_, format_, TableBase::getVecSize(), outfilePath_, tables_, StreamerBase::writeToOutFile(), and zipWithTime().

Referenced by initCinfo().

263 {
264  //LOG( moose::debug, "Writing to table" );
265  zipWithTime( );
266 
267  // Write only if there are more than 100 entry in first table.
268  if( tables_[0]->getVecSize() > 100 )
269  {
271  data_.clear( );
272  }
273 }
string format_
Definition: Streamer.h:76
vector< Table * > tables_
Definition: Streamer.h:89
vector< double > data_
Definition: Streamer.h:93
unsigned int getVecSize() const
Definition: TableBase.cpp:477
vector< string > columns_
Definition: Streamer.h:90
string outfilePath_
Definition: Streamer.h:75
void zipWithTime()
This function prepares data to be written to a file.
Definition: Streamer.cpp:394
static void writeToOutFile(const string &filepath, const string &format, const string &openmode, const vector< double > &data, const vector< string > &columns)
Write to a output file in given format.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Streamer::reinit ( const Eref e,
ProcPtr  p 
)

Reinit.

The reinit function called by scheduler for the reset

Parameters
e
p

Definition at line 168 of file Streamer.cpp.

References columns_, currTime_, Eref::data(), data_, Eref::element(), Id::element(), Id::eref(), format_, Element::getTick(), Clock::getTickDt(), Eref::id(), isOutfilePathSet_, LOG, moose::moosePathToUserPath(), outfilePath_, Id::path(), path, setOutFilepath(), Element::setTick(), moose::showWarn(), tableDt_, tableIds_, tables_, tableTick_, moose::warning, StreamerBase::writeToOutFile(), and zipWithTime().

Referenced by initCinfo().

169 {
170 
171  if( tables_.size() == 0 )
172  {
173  moose::showWarn( "Zero tables in streamer. Disabling Streamer" );
174  e.element()->setTick( -2 ); /* Disable process */
175  return;
176  }
177 
178  Clock* clk = reinterpret_cast<Clock*>( Id(1).eref().data() );
179  for (size_t i = 0; i < tableIds_.size(); i++)
180  {
181  int tickNum = tableIds_[i].element()->getTick();
182  double tick = clk->getTickDt( tickNum );
183  tableDt_.push_back( tick );
184  // Make sure that all tables have the same tick.
185  if( i > 0 )
186  {
187  if( tick != tableDt_[0] )
188  {
189  moose::showWarn( "Table " + tableIds_[i].path() + " has "
190  " different clock dt. "
191  " Make sure all tables added to Streamer have the same "
192  " dt value."
193  );
194  }
195  }
196  }
197 
198 
199  // Push each table dt_ into vector of dt
200  for( size_t i = 0; i < tables_.size(); i++)
201  {
202  Id tId = tableIds_[i];
203  int tickNum = tId.element()->getTick();
204  tableDt_.push_back( clk->getTickDt( tickNum ) );
205  }
206 
207  // Make sure all tables have same dt_ else disable the streamer.
208  vector<unsigned int> invalidTables;
209  for (size_t i = 1; i < tableTick_.size(); i++)
210  {
211  if( tableTick_[i] != tableTick_[0] )
212  {
214  , "Table " << tableIds_[i].path()
215  << " has tick (dt) which is different than the first table."
216  << endl
217  << " Got " << tableTick_[i] << " expected " << tableTick_[0]
218  << endl << " Disabling this table."
219  );
220  invalidTables.push_back( i );
221  }
222  }
223 
224  for (size_t i = 0; i < invalidTables.size(); i++)
225  {
226  tables_.erase( tables_.begin() + i );
227  tableDt_.erase( tableDt_.begin() + i );
228  tableIds_.erase( tableIds_.begin() + i );
229  }
230 
231  if( ! isOutfilePathSet_ )
232  {
233  string defaultPath = "_tables/" + moose::moosePathToUserPath( e.id().path() );
234  setOutFilepath( defaultPath );
235  }
236 
237  // Prepare data. Add columns names and write whatever values are available
238  // write now.
239  currTime_ = 0.0;
240  zipWithTime( );
242  data_.clear( );
243 }
Id id() const
Definition: Eref.cpp:62
string format_
Definition: Streamer.h:76
char * data() const
Definition: Eref.cpp:41
vector< Id > tableIds_
Definition: Streamer.h:88
Definition: Clock.h:25
Element * element() const
Synonym for Id::operator()()
Definition: Id.cpp:113
vector< Table * > tables_
Definition: Streamer.h:89
std::string path(const std::string &separator="/") const
Definition: Id.cpp:76
vector< double > tableDt_
Definition: Streamer.h:80
double getTickDt(unsigned int i) const
Definition: Clock.cpp:621
Eref eref() const
Definition: Id.cpp:125
Element * element() const
Definition: Eref.h:42
vector< double > data_
Definition: Streamer.h:93
string moosePathToUserPath(string path)
When user gives a path /a/b/c, moose creates a path /a[0]/b[0]/c[0]. This is helpful in cases where o...
Definition: global.cpp:189
int getTick() const
Definition: Element.cpp:186
void setOutFilepath(string path)
Definition: Streamer.cpp:365
vector< string > columns_
Definition: Streamer.h:90
string outfilePath_
Definition: Streamer.h:75
double currTime_
Definition: Streamer.h:85
void zipWithTime()
This function prepares data to be written to a file.
Definition: Streamer.cpp:394
vector< unsigned int > tableTick_
Definition: Streamer.h:81
bool isOutfilePathSet_
Definition: Streamer.h:77
Definition: Id.h:17
void setTick(int t)
Definition: Element.cpp:251
void showWarn(string msg)
static void writeToOutFile(const string &filepath, const string &format, const string &openmode, const vector< double > &data, const vector< string > &columns)
Write to a output file in given format.
static char path[]
Definition: mfield.cpp:403

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Streamer::removeTable ( Id  table)

Remove a table from Streamer.

Parameters
table.Id of table.

Definition at line 320 of file Streamer.cpp.

References columns_, Id::path(), tableIds_, and tables_.

Referenced by initCinfo(), and removeTables().

321 {
322  int matchIndex = -1;
323  for (size_t i = 0; i < tableIds_.size(); i++)
324  if( table.path() == tableIds_[i].path() )
325  {
326  matchIndex = i;
327  break;
328  }
329 
330  if( matchIndex > -1 )
331  {
332  tableIds_.erase( tableIds_.begin() + matchIndex );
333  tables_.erase( tables_.begin() + matchIndex );
334  columns_.erase( columns_.begin() + matchIndex );
335  }
336 }
vector< Id > tableIds_
Definition: Streamer.h:88
vector< Table * > tables_
Definition: Streamer.h:89
std::string path(const std::string &separator="/") const
Definition: Id.cpp:76
vector< string > columns_
Definition: Streamer.h:90

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Streamer::removeTables ( vector< Id tables)

Remove multiple tables – if found – from Streamer.

Parameters
tables

Definition at line 343 of file Streamer.cpp.

References removeTable().

Referenced by initCinfo().

344 {
345  for( vector<Id>::const_iterator it = tables.begin(); it != tables.end(); it++)
346  removeTable( *it );
347 }
void removeTable(Id table)
Remove a table from Streamer.
Definition: Streamer.cpp:320

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Streamer::setFormat ( string  format)

Definition at line 380 of file Streamer.cpp.

References format_.

Referenced by initCinfo(), and setOutFilepath().

381 {
382  format_ = fmt;
383 }
string format_
Definition: Streamer.h:76

+ Here is the caller graph for this function:

void Streamer::setOutFilepath ( string  path)

Definition at line 365 of file Streamer.cpp.

References moose::createParentDirs(), moose::getExtension(), isOutfilePathSet_, outfilePath_, setFormat(), and moose::toFilename().

Referenced by initCinfo(), and reinit().

366 {
367  outfilePath_ = filepath;
368  isOutfilePathSet_ = true;
369  if( ! moose::createParentDirs( filepath ) )
371 
372  string format = moose::getExtension( outfilePath_, true );
373  if( format.size() > 0)
374  setFormat( format );
375  else
376  setFormat( "csv" );
377 }
void setFormat(string format)
Definition: Streamer.cpp:380
bool createParentDirs(const string &path)
Create directories recursively needed to open the given file p.
Definition: global.cpp:122
string getExtension(const string &path, bool without_dot)
Get the extension of a given filepath.
Definition: global.cpp:170
string outfilePath_
Definition: Streamer.h:75
string toFilename(const string &path)
Replace all directory sepearator with _. This creates a filepath which can be created in current dire...
Definition: global.cpp:161
bool isOutfilePathSet_
Definition: Streamer.h:77

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Streamer::zipWithTime ( )

This function prepares data to be written to a file.

Definition at line 394 of file Streamer.cpp.

References TableBase::clearVec(), currTime_, data_, moose::debug, TableBase::getVec(), LOG, tableDt_, and tables_.

Referenced by cleanUp(), process(), and reinit().

395 {
396  size_t numEntriesInEachTable = tables_[0]->getVecSize( );
397 
398  //LOG( moose::debug, "Entries in each table " << numEntriesInEachTable );
399 
400  // Collect data from all table. If some table does not have enough data,
401  // fill it with nan
402  vector< vector< double > > collectedData;
403  for( size_t i = 0; i < tables_.size( ); i++ )
404  {
405  vector<double> tVec( tables_[i]->getVec( ) );
406  if( tVec.size( ) <= numEntriesInEachTable )
407  {
408 #if 0
410  , "Table " << tables_[i]->getName( ) << " is not functional. Filling with zero "
411  );
412 #endif
413  tVec.resize( numEntriesInEachTable, 0 );
414  }
415  collectedData.push_back( tVec );
416  }
417 
418  // Turn it into a table format. Its like taking a transpose of vector<
419  // vector >.
420  double allTableDt = tableDt_[ 0 ];
421  for( size_t i = 0; i < collectedData[0].size( ); i++ )
422  {
423  data_.push_back( currTime_ );
424  currTime_ += allTableDt;
425  for( size_t ii = 0; ii < collectedData.size(); ii++ )
426  data_.push_back( collectedData[ ii ][ i ] );
427  }
428 
429  // After collection data from table, clear tables.
430  for(size_t i = 0; i < tables_.size(); i++ )
431  tables_[i]->clearVec( );
432 
433  return;
434 }
vector< Table * > tables_
Definition: Streamer.h:89
vector< double > tableDt_
Definition: Streamer.h:80
vector< double > getVec() const
Definition: TableBase.cpp:482
void clearVec()
Definition: TableBase.cpp:414
vector< double > data_
Definition: Streamer.h:93
double currTime_
Definition: Streamer.h:85

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

vector<string> Streamer::columns_
private

Definition at line 90 of file Streamer.h.

Referenced by addTable(), cleanUp(), process(), reinit(), removeTable(), and Streamer().

double Streamer::currTime_
private

Definition at line 85 of file Streamer.h.

Referenced by reinit(), and zipWithTime().

vector<double> Streamer::data_
private

Definition at line 93 of file Streamer.h.

Referenced by cleanUp(), process(), reinit(), Streamer(), and zipWithTime().

string Streamer::format_
private

Definition at line 76 of file Streamer.h.

Referenced by cleanUp(), getFormat(), process(), reinit(), setFormat(), and Streamer().

bool Streamer::isOutfilePathSet_
private

Definition at line 77 of file Streamer.h.

Referenced by reinit(), and setOutFilepath().

string Streamer::outfilePath_
private

Definition at line 75 of file Streamer.h.

Referenced by cleanUp(), getOutFilepath(), process(), reinit(), and setOutFilepath().

vector<double> Streamer::tableDt_
private

Definition at line 80 of file Streamer.h.

Referenced by reinit(), Streamer(), and zipWithTime().

vector<Id> Streamer::tableIds_
private

Definition at line 88 of file Streamer.h.

Referenced by addTable(), reinit(), removeTable(), and Streamer().

vector<Table*> Streamer::tables_
private

Definition at line 89 of file Streamer.h.

Referenced by addTable(), getNumTables(), process(), reinit(), removeTable(), Streamer(), and zipWithTime().

vector<unsigned int> Streamer::tableTick_
private

Definition at line 81 of file Streamer.h.

Referenced by addTable(), reinit(), and Streamer().


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