#include <primary_election_utils.h>
◆ Election_member_info()
Election_member_info::Election_member_info |
( |
const std::string |
uuid, |
|
|
const Member_version & |
version, |
|
|
bool |
is_primary |
|
) |
| |
◆ get_member_version()
- Returns
- The member version
◆ get_uuid()
std::string & Election_member_info::get_uuid |
( |
| ) |
|
◆ has_channels()
bool Election_member_info::has_channels |
( |
| ) |
|
- Returns
- this member has channels?
◆ is_information_set()
bool Election_member_info::is_information_set |
( |
| ) |
|
- Returns
- was this member information updated
◆ is_primary()
bool Election_member_info::is_primary |
( |
| ) |
|
- Note
- This only returns true for single primary mode
- Returns
- Is this member a primary?
◆ member_left()
bool Election_member_info::member_left |
( |
| ) |
|
- Returns
- Did the member left the group
◆ set_has_running_channels()
void Election_member_info::set_has_running_channels |
( |
bool |
running_channels | ) |
|
Set the flag that tells if the member has channels.
- Parameters
-
running_channels | the member has channels? |
◆ set_information_set()
void Election_member_info::set_information_set |
( |
bool |
set | ) |
|
Set the flag that tells if this class was updated.
- Parameters
-
◆ set_member_left()
void Election_member_info::set_member_left |
( |
bool |
left | ) |
|
Did the member left the group.
- Parameters
-
left | did the member left the group |
◆ has_member_left
bool Election_member_info::has_member_left |
|
private |
◆ has_running_channels
bool Election_member_info::has_running_channels |
|
private |
Does the member has running channels.
◆ info_is_set
bool Election_member_info::info_is_set |
|
private |
Was the info for this member set.
◆ is_member_primary
bool Election_member_info::is_member_primary |
|
private |
Is this member the primary.
◆ member_uuid
std::string Election_member_info::member_uuid |
|
private |
◆ member_version
The documentation for this class was generated from the following files: