ImFusion SDK 4.3
TrackingInstrumentRawData< T > Class Template Referencefinal

#include <ImFusion/Base/TrackingInstrumentRawData.h>

Device-dependent additional data. More...

+ Inheritance diagram for TrackingInstrumentRawData< T >:

Detailed Description

template<typename T>
class ImFusion::TrackingInstrumentRawData< T >

Device-dependent additional data.

Public Member Functions

bool operator== (const TrackingInstrumentRawData &other) const
 
std::string id () const override
 Returns a unique string identifier for this type of data component.
 
void configure (const Properties *p) override
 Uses the BinarySerializable interface for Base64 decoding of the raw data.
 
void configuration (Properties *p) const override
 Uses the BinarySerializable interface for Base64 encoding of the raw data.
 
const T & rawData () const
 Access to the raw data element.
 
T & rawData ()
 Access to the raw data element.
 
- Public Member Functions inherited from DataComponent< TrackingInstrumentRawData< T > >
std::unique_ptr< DataComponentBaseclone () const override
 Creates a clone of this data component.
 
std::unique_ptr< Subclass > cloneDerived () const
 
bool assign (const DataComponentBase &other) override
 Assigns the content of other to this data component.
 
bool equals (const DataComponentBase &other) const override
 Compares this data component to other for equality.
 
- Public Member Functions inherited from Configurable
virtual void configureDefaults ()
 Retrieve the properties of this object, replaces values with their defaults and sets it again.
 
void registerParameter (ParameterBase *param)
 Register the given Parameter or SubProperty, so that it will be configured during configure()/configuration().
 
void unregisterParameter (const ParameterBase *param)
 Remove the given Parameter or SubProperty from the list of registered parameters.
 
 Configurable (const Configurable &rhs)
 
 Configurable (Configurable &&rhs) noexcept
 
Configurableoperator= (const Configurable &)
 
Configurableoperator= (Configurable &&) noexcept
 

Protected Attributes

m_rawData
 Raw data.
 
- Protected Attributes inherited from Configurable
std::vector< Paramm_params
 List of all registered Parameter and SubProperty instances.
 

Additional Inherited Members

- Public Attributes inherited from Configurable
Signal signalParametersChanged
 Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted.
 
- Protected Member Functions inherited from DataComponentBase
 DataComponentBase (const DataComponentBase &)=default
 
DataComponentBaseoperator= (const DataComponentBase &other)=default
 

Member Function Documentation

◆ id()

template<typename T>
std::string id ( ) const
inlineoverridevirtual

Returns a unique string identifier for this type of data component.

Note
To avoid conflicts make sure to include potential plugin names into this ID. Due to the modular architecture of the ImFusion library, uniqueness of IDs cannot be checked at compile time. However, DataComponentFactory will check the uniqueness of the ID during registration.

Implements DataComponentBase.

◆ configure()

template<typename T>
void configure ( const Properties * p)
inlineoverridevirtual

Uses the BinarySerializable interface for Base64 decoding of the raw data.

Reimplemented from Configurable.

◆ configuration()

template<typename T>
void configuration ( Properties * p) const
inlineoverridevirtual

Uses the BinarySerializable interface for Base64 encoding of the raw data.

Reimplemented from Configurable.


The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close