RTI Connext Modern C++ API  Version 6.1.0
rti::core::EndpointGroup Class Reference

<<extension>> Specifies a group of endpoints that can be collectively identified by a name and satisfied by a quorum. More...

#include <rti/core/policy/CorePolicy.hpp>

Public Member Functions

 EndpointGroup (const std::string &the_role_name, int32_t the_quorum_count)
 Creates an instance with a role name and a quorum. More...
 
std::string role_name () const
 Getter (see setter with the same name) More...
 
EndpointGrouprole_name (const std::string &the_role_name)
 Defines the role name of the endpoint group. More...
 
int32_t quorum_count () const
 Getter (see setter with the same name) More...
 
EndpointGroupquorum_count (int32_t the_quorum_count)
 Defines the minimum number of members that satisfies the endpoint group. More...
 

Detailed Description

<<extension>> Specifies a group of endpoints that can be collectively identified by a name and satisfied by a quorum.

Constructor & Destructor Documentation

◆ EndpointGroup()

rti::core::EndpointGroup::EndpointGroup ( const std::string &  the_role_name,
int32_t  the_quorum_count 
)
inline

Creates an instance with a role name and a quorum.

Member Function Documentation

◆ role_name() [1/2]

std::string rti::core::EndpointGroup::role_name ( ) const
inline

Getter (see setter with the same name)

◆ role_name() [2/2]

EndpointGroup& rti::core::EndpointGroup::role_name ( const std::string &  the_role_name)
inline

Defines the role name of the endpoint group.

If used in the rti::core::policy::Availability on a dds::pub::DataWriter, it specifies the name that identifies a Durable Subcription.

◆ quorum_count() [1/2]

int32_t rti::core::EndpointGroup::quorum_count ( ) const
inline

Getter (see setter with the same name)

◆ quorum_count() [2/2]

EndpointGroup& rti::core::EndpointGroup::quorum_count ( int32_t  the_quorum_count)
inline

Defines the minimum number of members that satisfies the endpoint group.

If used in the rti::core::policy::Availability on a dds::pub::DataWriter, it specifies the number of DataReaders that must acknowledge a sample before the sample is considered to be acknowledged by the Durable Subscription.