Class ParameterString_t

Inheritance Relationships

Base Type

Class Documentation

class ParameterString_t : public eprosima::fastdds::dds::Parameter_t

Public Functions

inline ParameterString_t()

Constructor without parameters.

inline ParameterString_t(ParameterId_t pid, uint16_t in_length)

Constructor using a parameter PID and the parameter length

Parameters
  • pid – Pid of the parameter

  • in_length – Its associated length

inline ParameterString_t(ParameterId_t pid, uint16_t in_length, const fastrtps::string_255 &strin)

Constructor using a parameter PID, the parameter length and a string.

Parameters
  • pid – Pid of the parameter

  • in_length – Its associated length

  • strin – Parameter name

inline const char *getName() const

Getter for the name.

Returns

current name associated

inline void setName(const char *name)

Setter for the name.

Parameters

name – String to be set

inline size_t size() const

Getter for the name size.

Returns

size_t