4. DataReader

namespace data_reader

Functions

void set_default_profile(const std::string &profile_id)

Set the selected DataReader profile as default profile. As only one default profile is allowed, if another default profile exists, it is overridden and its is_default_profile attribute is set to false.

Parameters

profile_id[in] DataReader profile identifier.

Throws
namespace qos

Functions

void set_durability_kind(const std::string &profile_id, const std::string &kind)

Set the DataReader durability QoS kind.

Parameters
  • profile_id[in] DataReader profile identifier.

  • kind[in] Durability QoS kind value.

Throws
void set_reliability_kind(const std::string &profile_id, const std::string &kind)

Set the DataReader reliability QoS kind.

Parameters
  • profile_id[in] DataReader profile identifier.

  • kind[in] Reliability QoS kind value.

Throws
void set_reliability_max_blocking_time_sec(const std::string &profile_id, const std::string &sec)

Set the DataReader reliability QoS max blocking time seconds.

Parameters
  • profile_id[in] DataReader profile identifier.

  • sec[in] Reliability QoS max blocking time seconds to be set

Throws
void set_reliability_max_blocking_time_nanosec(const std::string &profile_id, const std::string &nanosec)

Set the DataReader reliability QoS max blocking time nanoseconds.

Parameters
  • profile_id[in] DataReader profile identifier.

  • nanosec[in] Reliability QoS max blocking time nanoseconds to be set

Throws