#include <mtsCollectorState.h>
Inheritance diagram for mtsCollectorState:


Definition at line 46 of file mtsCollectorState.h.
| mtsCollectorState::mtsCollectorState | ( | const std::string & | collectorName | ) |
Constructor using the task name and table name.
| mtsCollectorState::mtsCollectorState | ( | const std::string & | targetTaskName, | |
| const std::string & | targetStateTableName, | |||
| const CollectorFileFormat | fileFormat | |||
| ) |
Constructor using a task pointer and table name.
| bool mtsCollectorState::SetStateTable | ( | const std::string & | taskName, | |
| const std::string & | stateTableName = "" | |||
| ) |
Defines which table to collect data from. This is defined by the task name and the table name. If the table name is not provided, the collector will use the default task's state table.
| bool mtsCollectorState::AddSignal | ( | const std::string & | signalName = "" |
) |
Add the signal specified to a list of registered signals.
| void mtsCollectorState::SetSamplingInterval | ( | const unsigned int | samplingInterval | ) | [inline] |
Set a sampling interval so that data collector can skip several values. This is useful when a frequency of the task is somewhat high and you don't want to collect ALL data from it.
Definition at line 160 of file mtsCollectorState.h.
| bool mtsCollectorState::Connect | ( | void | ) |
Connect. Once the state collector has been configured, i.e. the methods SetStateTable and SetOutput have been use, the collector should be added to the manager and then the Connect method should be called.
| static bool mtsCollectorState::ConvertBinaryToText | ( | const std::string | sourceBinaryLogFileName, | |
| const std::string | targetPlainTextLogFileName, | |||
| const char | delimiter = ',' | |||
| ) | [static] |
Convert a binary log file into a plain text one.
| const std::string& mtsCollectorState::GetOutputFileName | ( | void | ) | const [inline] |
Get the name of log file currently being written.
Definition at line 176 of file mtsCollectorState.h.
| void mtsCollectorState::StartCollection | ( | const mtsDouble & | delayInSeconds | ) | [virtual] |
Methods defined as virtual in base class to control stop/start collection with delay. For the state table collection, these methods are mainly pass through, i.e. they call the corresponding commands from the state table task.
Implements mtsCollectorBase.
| void mtsCollectorState::StopCollection | ( | const mtsDouble & | delayInSeconds | ) | [virtual] |
Methods defined as virtual in base class to control stop/start collection with delay. For the state table collection, these methods are mainly pass through, i.e. they call the corresponding commands from the state table task.
Implements mtsCollectorBase.