Class ArrayMessageBase

Inheritance Relationships

Base Type

Derived Types

Class Documentation

class ArrayMessageBase : public ros_babel_fish::Message

Subclassed by ros_babel_fish::ArrayMessage_< T, BOUNDED, FIXED_LENGTH >, ros_babel_fish::CompoundArrayMessage_< BOUNDED, FIXED_LENGTH >

Public Functions

inline ArrayMessageBase(MessageMemberIntrospection member, std::shared_ptr<void> data)
inline bool isFixedSize() const
inline bool isBounded() const
inline MessageType elementType() const
inline virtual size_t size() const
inline size_t maxSize() const
Returns:

The maximum size of the array if it is bounded or fixed size, otherwise, it will return 0.

inline ArrayMessageBase &operator=(const ArrayMessageBase &other)
inline MessageMemberIntrospection elementIntrospection() const

Protected Functions

ArrayMessageBase(const ArrayMessageBase &other) = default
inline virtual void _assign(const Message &other) override
virtual void _assign(const ArrayMessageBase &other) = 0

Protected Attributes

MessageMemberIntrospection member_