#include <ParameterTypes.hpp>
Classes | |
class | const_iterator |
class | iterator |
Public Member Functions | |
ParameterPropertyList_t () | |
Constructor without parameters Sets PID_PROPERTY_LIST as the PID of the parameter. | |
ParameterPropertyList_t (uint32_t size) | |
Constructor with a defined maximum size. | |
ParameterPropertyList_t (ParameterId_t pid, uint16_t in_length) | |
Constructor using a parameter PID and the parameter length. | |
ParameterPropertyList_t (const ParameterPropertyList_t ¶meter_properties) | |
Constructor using a Parameter Property List. | |
ParameterPropertyList_t & | operator= (const ParameterPropertyList_t ¶meter_properties) |
iterator | begin () |
Getter for the first position of the ParameterPropertyList. | |
iterator | end () |
Getter for the end of the ParameterPropertyList. | |
const_iterator | begin () const |
Getter for the first position of the ParameterPropertyList. | |
const_iterator | end () const |
Getter for the end of the ParameterPropertyList. | |
bool | push_back (std::pair< std::string, std::string > p) |
Introduce a new property in the ParameterPropertyList. | |
bool | push_back (const std::string &key, const std::string &value) |
Introduce a new property in the ParameterPropertyList. | |
bool | push_back (const unsigned char *str1, uint32_t str1_size, const unsigned char *str2, uint32_t str2_size) |
Introduce a new property in the ParameterPropertyList. | |
bool | set_property (iterator pos, const std::pair< std::string, std::string > &new_value) |
Setter of a new property value on a specific position. | |
void | clear () |
Clears the ParameterPropertyList. | |
uint32_t | size () const |
Getter for the size of the ParameterPropertyList. | |
void | set_max_size (uint32_t size) |
Setter for the maximum size of the ParameterPropertyList. | |
uint32_t | max_size () |
Getter for the maximum size of the ParameterPropertyList. | |
![]() | |
FASTDDS_EXPORTED_API | Parameter_t () |
Constructor without parameters. | |
FASTDDS_EXPORTED_API | Parameter_t (ParameterId_t pid, uint16_t length) |
Constructor using a parameter PID and the parameter length. | |
virtual FASTDDS_EXPORTED_API | ~Parameter_t () |
Destructor. | |
bool | operator== (const Parameter_t &b) const |
Protected Member Functions | |
void | push_back_helper (const fastdds::rtps::octet *data, uint32_t size, uint32_t alignment) |
Additional Inherited Members | |
![]() | |
ParameterId_t | Pid |
Parameter ID. By default, PID_PAD. | |
uint16_t | length |
Parameter length. By default, 0. | |
|
inline |
Constructor without parameters Sets PID_PROPERTY_LIST as the PID of the parameter.
|
inline |
Constructor with a defined maximum size.
size | Size to be set as maximum |
|
inline |
Constructor using a parameter PID and the parameter length.
pid | Pid of the parameter |
in_length | Its associated length |
|
inline |
Constructor using a Parameter Property List.
parameter_properties | Properties to be set |
|
inline |
Getter for the first position of the ParameterPropertyList.
|
inline |
Getter for the first position of the ParameterPropertyList.
|
inline |
Clears the ParameterPropertyList.
|
inline |
Getter for the end of the ParameterPropertyList.
|
inline |
Getter for the end of the ParameterPropertyList.
|
inline |
Getter for the maximum size of the ParameterPropertyList.
|
inline |
|
inline |
Introduce a new property in the ParameterPropertyList.
key | Key part of the new property |
value | Value part of the new property |
|
inline |
Introduce a new property in the ParameterPropertyList.
str1 | Name of the property |
str1_size | Size of the first string |
str2 | Value of the property |
str2_size | Size of the second string |
|
inline |
Introduce a new property in the ParameterPropertyList.
p | Pair with the values of the new property |
|
inlineprotected |
|
inline |
Setter for the maximum size of the ParameterPropertyList.
|
inline |
Setter of a new property value on a specific position.
pos | Iterator with the position of the property to be changed |
new_value | Value to be set |
|
inline |
Getter for the size of the ParameterPropertyList.