The SensorValueBase class.
More...
#include <RobotAPI/components/units/RobotUnit/SensorValues/SensorValueBase.h>
|
template<class T , class = typename std::enable_if<std::is_base_of<SensorValueBase, T>::value>::type> |
void | _copyTo (std::unique_ptr< T > &target) const |
|
| ARMARX_META_MAKE_HAS_MEMBER_FNC_CHECK (SensorValueHasGetClassMemberInfo, GetClassMemberInfo, SensorValueInfo< T >(*)(void)) |
|
template<class T > |
T * | asA () |
|
template<class T > |
const T * | asA () const |
|
template<class T > |
T | getDataFieldAs (std::size_t i) const |
|
virtual void | getDataFieldAs (std::size_t i, bool &out) const =0 |
|
virtual void | getDataFieldAs (std::size_t i, Ice::Byte &out) const =0 |
|
virtual void | getDataFieldAs (std::size_t i, Ice::Double &out) const =0 |
|
virtual void | getDataFieldAs (std::size_t i, Ice::Float &out) const =0 |
|
virtual void | getDataFieldAs (std::size_t i, Ice::Int &out) const =0 |
|
virtual void | getDataFieldAs (std::size_t i, Ice::Long &out) const =0 |
|
virtual void | getDataFieldAs (std::size_t i, Ice::Short &out) const =0 |
|
virtual void | getDataFieldAs (std::size_t i, std::string &out) const =0 |
|
virtual std::vector< std::string > | getDataFieldNames () const =0 |
|
virtual const std::type_info & | getDataFieldType (std::size_t i) const =0 |
|
virtual std::size_t | getNumberOfDataFields () const =0 |
|
virtual std::string | getSensorValueType (bool withoutNamespaceSpecifier) const =0 |
|
template<class... Ts> |
bool | isA () const |
|
virtual std::map< std::string, VariantBasePtr > | toVariants (const IceUtil::Time ×tamp) const =0 |
| used to send the data to the DebugObserverTopic and to other Components (e.g. GUI widgets) More...
|
|
virtual | ~SensorValueBase ()=default |
|
The SensorValueBase class.
Definition at line 40 of file SensorValueBase.h.
◆ SensorValueInfo
◆ ~SensorValueBase()
◆ _copyTo()
void _copyTo |
( |
std::unique_ptr< T > & |
target | ) |
const |
|
inline |
◆ ARMARX_META_MAKE_HAS_MEMBER_FNC_CHECK()
ARMARX_META_MAKE_HAS_MEMBER_FNC_CHECK |
( |
SensorValueHasGetClassMemberInfo |
, |
|
|
GetClassMemberInfo |
, |
|
|
SensorValueInfo< T > |
*)(void |
|
) |
| |
◆ asA() [1/2]
◆ asA() [2/2]
◆ getDataFieldAs() [1/9]
T getDataFieldAs |
( |
std::size_t |
i | ) |
const |
|
inline |
◆ getDataFieldAs() [2/9]
virtual void getDataFieldAs |
( |
std::size_t |
i, |
|
|
bool & |
out |
|
) |
| const |
|
pure virtual |
◆ getDataFieldAs() [3/9]
virtual void getDataFieldAs |
( |
std::size_t |
i, |
|
|
Ice::Byte & |
out |
|
) |
| const |
|
pure virtual |
◆ getDataFieldAs() [4/9]
virtual void getDataFieldAs |
( |
std::size_t |
i, |
|
|
Ice::Double & |
out |
|
) |
| const |
|
pure virtual |
◆ getDataFieldAs() [5/9]
virtual void getDataFieldAs |
( |
std::size_t |
i, |
|
|
Ice::Float & |
out |
|
) |
| const |
|
pure virtual |
◆ getDataFieldAs() [6/9]
virtual void getDataFieldAs |
( |
std::size_t |
i, |
|
|
Ice::Int & |
out |
|
) |
| const |
|
pure virtual |
◆ getDataFieldAs() [7/9]
virtual void getDataFieldAs |
( |
std::size_t |
i, |
|
|
Ice::Long & |
out |
|
) |
| const |
|
pure virtual |
◆ getDataFieldAs() [8/9]
virtual void getDataFieldAs |
( |
std::size_t |
i, |
|
|
Ice::Short & |
out |
|
) |
| const |
|
pure virtual |
◆ getDataFieldAs() [9/9]
virtual void getDataFieldAs |
( |
std::size_t |
i, |
|
|
std::string & |
out |
|
) |
| const |
|
pure virtual |
◆ getDataFieldNames()
virtual std::vector<std::string> getDataFieldNames |
( |
| ) |
const |
|
pure virtual |
◆ getDataFieldType()
virtual const std::type_info& getDataFieldType |
( |
std::size_t |
i | ) |
const |
|
pure virtual |
◆ getNumberOfDataFields()
virtual std::size_t getNumberOfDataFields |
( |
| ) |
const |
|
pure virtual |
◆ getSensorValueType()
virtual std::string getSensorValueType |
( |
bool |
withoutNamespaceSpecifier | ) |
const |
|
pure virtual |
◆ isA()
◆ toVariants()
virtual std::map<std::string, VariantBasePtr> toVariants |
( |
const IceUtil::Time & |
timestamp | ) |
const |
|
pure virtual |
used to send the data to the DebugObserverTopic and to other Components (e.g. GUI widgets)
The documentation for this class was generated from the following file: