22 #ifndef _mtsCollectorEvent_h
23 #define _mtsCollectorEvent_h
51 mtsComponent * CheckComponent(
const std::string & componentName)
const;
53 const std::string & interfaceName)
const;
81 CollectorEventVoid(
const std::string & componentName,
const std::string & interfaceName,
const std::string & eventName,
83 void EventHandler(
void);
101 CollectorEventWrite(
const std::string & componentName,
const std::string & interfaceName,
const std::string & eventName,
132 bool CheckCollectingStatus(
void);
157 bool AddObservedComponent(
const std::string & componentName);
162 bool AddObservedComponent(
const mtsComponent * componentPointer);
166 bool AddObservedInterface(
const std::string & componentName,
167 const std::string & interfaceName);
173 bool AddObservedInterface(
const mtsComponent * componentPointer,
180 bool AddObservedEventVoid(
const std::string & componentName,
181 const std::string & interfaceName,
182 const std::string & eventName);
183 bool AddObservedEventWrite(
const std::string & componentName,
184 const std::string & interfaceName,
185 const std::string & eventName);
192 bool AddObservedEventVoid(
const mtsComponent * componentPointer,
194 const std::string & eventName);
195 bool AddObservedEventWrite(
const mtsComponent * componentPointer,
197 const std::string & eventName);
216 void SetCollecting(
bool collecting,
double currentTime);
221 #endif // _mtsCollectorEvent_h
mtsCollectorEvent * Collector
Definition: mtsCollectorEvent.h:80
#define CISST_EXPORT
Definition: cmnExportMacros.h:50
Defines the state data table.
std::string InterfaceName
Definition: mtsCollectorEvent.h:95
size_t EventId
Definition: mtsCollectorEvent.h:99
size_t EventCounter
Definition: mtsCollectorEvent.h:111
size_t EventId
Definition: mtsCollectorEvent.h:79
const mtsGenericObject * ArgumentPrototype
Definition: mtsCollectorEvent.h:98
std::string InterfaceName
Definition: mtsCollectorEvent.h:77
Definition: mtsInterfaceRequired.h:85
ComponentsMap ObservedComponents
Definition: mtsCollectorEvent.h:63
double ScheduledStartTime
Definition: mtsCollectorEvent.h:124
std::string EventName
Definition: mtsCollectorEvent.h:96
cmnNamedMap< mtsInterfaceRequired > InterfacesRequiredMap
Definition: mtsCollectorEvent.h:61
Base class for data object in cisstMultiTask.
Definition: mtsGenericObject.h:56
std::vector< CollectorEventWrite * > EventsWrite
Definition: mtsCollectorEvent.h:116
mtsInterfaceRequired * InterfaceRequired
Definition: mtsCollectorEvent.h:97
virtual void StopCollection(const mtsDouble &delayInSeconds)=0
bool Collecting
Definition: mtsCollectorEvent.h:120
std::string ComponentName
Definition: mtsCollectorEvent.h:94
std::vector< CollectorEventVoid * > EventsVoid
Definition: mtsCollectorEvent.h:115
CollectorFileFormat
Definition: mtsCollectorBase.h:54
std::string ComponentName
Definition: mtsCollectorEvent.h:76
Definition: mtsComponent.h:150
std::string EventName
Definition: mtsCollectorEvent.h:78
#define CMN_DECLARE_SERVICES(hasDynamicCreation, lod)
Definition: cmnClassRegisterMacros.h:116
Definition: mtsInterfaceProvided.h:96
virtual void Startup(void)=0
Definition: mtsCollectorEvent.h:43
Class for relative time.
Definition: osaTimeServer.h:73
Definition: mtsCollectorEvent.h:74
Defines a command with no argument.
virtual std::string GetDefaultOutputName(void)=0
mtsCollectorEvent * Collector
Definition: mtsCollectorEvent.h:100
virtual void StartCollection(const mtsDouble &delayInSeconds)=0
const osaTimeServer * TimeServer
Definition: mtsCollectorEvent.h:135
const int CMN_NO_DYNAMIC_CREATION
Definition: cmnClassRegisterMacros.h:328
#define CMN_DECLARE_SERVICES_INSTANTIATION(className)
Definition: cmnClassRegisterMacros.h:202
Definition: mtsCollectorEvent.h:92
double ScheduledStopTime
Definition: mtsCollectorEvent.h:128
cmnNamedMap< InterfacesRequiredMap > ComponentsMap
Definition: mtsCollectorEvent.h:62
#define CMN_LOG_ALLOW_DEFAULT
Definition: cmnLogLoD.h:76
Definition: mtsCollectorBase.h:48