RTI Connext Modern C++ API  Version 6.0.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
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.
 
std::string role_name () const
 Getter (see setter with the same name)
 
EndpointGrouprole_name (const std::string &the_role_name)
 Defines the role name of the endpoint group.
 
int32_t quorum_count () const
 Getter (see setter with the same name)
 
EndpointGroupquorum_count (int32_t the_quorum_count)
 Defines the minimum number of members that satisfies the endpoint group.
 

Detailed Description

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

Constructor & Destructor Documentation

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

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

Getter (see setter with the same name)

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.

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

Getter (see setter with the same name)

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.


RTI Connext Modern C++ API Version 6.0.0 Copyright © Sun Mar 3 2019 Real-Time Innovations, Inc