AGX Dynamics 2.42.3.1
Loading...
Searching...
No Matches
MonoaxialSignalSystemNode.h
Go to the documentation of this file.
1/*
2Copyright 2007-2025. Algoryx Simulation AB.
3
4All AGX source code, intellectual property, documentation, sample code,
5tutorials, scene files and technical white papers, are copyrighted, proprietary
6and confidential material of Algoryx Simulation AB. You may not download, read,
7store, distribute, publish, copy or otherwise disseminate, use or expose this
8material unless having a written signed agreement with Algoryx Simulation AB, or having been
9advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10valid commercial license from Algoryx Simulation AB.
11
12Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13from using this software, unless otherwise stated in written agreements with
14Algoryx Simulation AB.
15*/
16#pragma once
18
19namespace agxSensor
20{
25
30 {
31 public:
35 virtual const std::vector<agx::Real>& getMonoaxialSignal() const = 0;
36
42
44
45 public:
46 virtual ~IMonoaxialSignalCarrier() = default;
47
49 };
50
55 {
56 public:
61
68
70
71 public:
72 virtual SystemNodeProxyRef createProxy() override final;
73
75
77 };
78
85 {
86 public:
92
96 std::vector<agx::Real>& getMonoaxialSignal();
97
101 virtual const std::vector<agx::Real>& getMonoaxialSignal() const override;
102
108
110
111 public:
113
114 virtual void cleanup() override;
115
117
119
120 private:
121 std::vector<agx::Real> m_monoaxialSignal;
122 };
123}
#define AGX_DECLARE_POINTER_TYPES(type)
Definition: Referenced.h:254
#define AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE(T)
Use this in a pure abstract Serializable class to add the required methods Important: Use full namesp...
Definition: Serializable.h:221
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
Definition: Serializable.h:207
#define AGXSENSOR_EXPORT
#define AGX_DECLARE_VECTOR_TYPES(type)
Definition: agx/Vector.h:34
Interface for types carrying a monoaxial signal.
virtual agx::Real computeMonoaxialSignalCovariance() const =0
Compute the covariance of the monoaxial signal values at this node.
virtual const std::vector< agx::Real > & getMonoaxialSignal() const =0
Interface for implementation details for system nodes carrying a monoaxial signal.
virtual agx::Real computeMonoaxialSignalCovariance(const MonoaxialSignalSystemNode &proxy) const =0
Compute the covariance of the monoaxial signal values at this node.
virtual MonoaxialSignalSystemNodeRef createMonoaxialNodeProxy()=0
Interface for system node behavioral implementations intended to have multiple states/instances (Syst...
A system node in the sensor processing tree carrying a monoaxial signal and an implementation for how...
virtual agx::Real computeMonoaxialSignalCovariance() const override
Compute the covariance of the monoaxial signal values at this node.
MonoaxialSignalSystemNode(IMonoaxialSignalSystemNode *implementation)
Construct a monoaxial signal system node instance with the given implementation.
std::vector< agx::Real > & getMonoaxialSignal()
virtual const std::vector< agx::Real > & getMonoaxialSignal() const override
Proxy system node, representing an instance of an ISystemNodeProxy in the system graph.
Smart pointer for handling referenced counted objects.
Definition: ref_ptr.h:30
#define DOXYGEN_END_INTERNAL_BLOCK()
Definition: macros.h:89
#define DOXYGEN_START_INTERNAL_BLOCK()
Definition: macros.h:88
The agxSensor namespace contains components to model real-time sensors connected to the physics of AG...
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
double Real
Definition: Real.h:41
STL namespace.