mcx::comm::GroupManager

mcx::comm::GroupManager

Public Functions

Name
GroupManager()
void init(parameter_server::Parameter * root)
GroupManager(const GroupManager & orig) =delete
virtual ~GroupManager()
bool createGroup(const motorcortex_CreateGroupMsg & create_group_msg, uint32_t client_id, motorcortex_GroupStatusMsg & group_status)
bool removeGroup(const char * alias, uint32_t client_id)
bool removeSubscriber(uint32_t client_id)
bool getGroupMap(long & old_counter_value, GroupMap & groups) const
void setExtraSize(unsigned int n_bytes)
unsigned int getExtraSize() const

Public Functions Documentation

function GroupManager

GroupManager()

function init

void init(
    parameter_server::Parameter * root
)

function GroupManager

GroupManager(
    const GroupManager & orig
) =delete

function ~GroupManager

virtual ~GroupManager()

function createGroup

bool createGroup(
    const motorcortex_CreateGroupMsg & create_group_msg,
    uint32_t client_id,
    motorcortex_GroupStatusMsg & group_status
)

function removeGroup

bool removeGroup(
    const char * alias,
    uint32_t client_id
)

function removeSubscriber

bool removeSubscriber(
    uint32_t client_id
)

function getGroupMap

bool getGroupMap(
    long & old_counter_value,
    GroupMap & groups
) const

function setExtraSize

void setExtraSize(
    unsigned int n_bytes
)

function getExtraSize

unsigned int getExtraSize() const

Updated on 2022-04-05 at 16:21:26 +0200