65 bool add(
size_t uniqueId );
100 virtual
void store(
agxStream::OutputArchive& out ) const override;
101 virtual
void restore(
agxStream::InputArchive& in ) override;
114 OutputTable m_outputs;
123 output->build<field...>();
124 return add( uniqueId, output );
131 output->build<field...>();
133 auto uniqueId = add( output );
135 return std::make_pair( *uniqueId, output );
#define AGX_DECLARE_POINTER_TYPES(type)
#define AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE(T)
Use this in a pure abstract Serializable class to add the required methods Important: Use full namesp...
Common interface for sensor output handlers.
Common interface for sensor output data.
Interface for implementation details for system nodes carrying a triaxial signal.
System node is a separate step/operation in an execution tree representing a sensor (or such) in a se...
Common base type for triaxial sensor output handlers.
OptionalUniqueId add(TriaxialOutput *output)
Add the given triaxial output to the output handler.
ITriaxialSignalSystemNodeRefVector getOutputModifiers() const
ISensorOutput * getBase(size_t uniqueId) override
Access triaxial output instance given the unique id from when it was added.
TriaxialOutput * get(size_t uniqueId)
Access triaxial output instance given the unique id from when it was added.
bool add(size_t uniqueId, TriaxialOutput *output)
Add the given triaxial output to the output handler mapped to the given unique id.
TriaxialOutputHandler()
Default constructor.
Triaxial sensor output data where TriaxialOutput::Field is used to define the data available.
Smart pointer for handling referenced counted objects.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
The agxSensor namespace contains components to model real-time sensors connected to the physics of AG...
std::optional< std::pair< size_t, TriaxialOutput * > > OptionalTriaxialOutputMapping
std::optional< size_t > OptionalUniqueId
This namespace contain classes for streaming classes into archives, ASCII, binary for storage (serial...
The agx namespace contains the dynamics/math part of the AGX Dynamics API.