13#include <usGetModuleContext.h>
14#include <usModuleActivator.h>
15#include <usModuleContext.h>
30 void Load(us::ModuleContext* context)
override
33 m_Measurement = IGTLMeasurements::New();
34 m_MeasurementReg = context->RegisterService<
IGTLMeasurements>(m_Measurement);
30 void Load(us::ModuleContext* context)
override {
…}
37 void Unload(us::ModuleContext*)
override
39 m_MeasurementReg.Unregister();
37 void Unload(us::ModuleContext*)
override {
…}
45 IGTLMeasurements::Pointer m_Measurement;
46 us::ServiceRegistration<IGTLMeasurements> m_MeasurementReg;
Is a helper class to make measurments for latency and fps.
Registers services for IGTL module.
void Unload(us::ModuleContext *) override
void Load(us::ModuleContext *context) override