#include <McHandler.h>
Public Member Functions | |
void | addDownlinkRoute (routing_entry *route) |
void | addGroup (std::string *group_name) |
bool | addUplinkRoute (routing_entry *route) |
void | createGroupAsRoot (std::string *group_name) |
McTree * | getMcGroup (std::string *group_name) |
McTree * | getMcGroup (std::string *hostname_source, uint32_t *route_id) |
std::vector< McTree * > | lostConnectionDownlinks (unsigned char *mac) |
std::vector< McTree * > | lostConnectionUplinks (unsigned char *mac) |
McHandler (std::list< McTree * > *groups) | |
McHandler (const McHandler &orig) | |
void | printMcGroups () |
bool | removeGroup (std::string *group_name) |
void | setMembership (std::string *group_name, bool membership) |
virtual | ~McHandler () |
Private Member Functions | |
void | createGroup (std::string *group_name, bool root, bool member, bool connected, bool activated, uint16_t root_distance) |
Private Attributes | |
std::list< McTree * > * | groups_ |
Definition at line 17 of file McHandler.h.
McHandler::McHandler | ( | std::list< McTree * > * | groups | ) |
McHandler::McHandler | ( | const McHandler & | orig | ) |
Definition at line 21 of file McHandler.cpp.
McHandler::~McHandler | ( | ) | [virtual] |
Definition at line 25 of file McHandler.cpp.
void McHandler::addDownlinkRoute | ( | routing_entry * | route | ) |
Definition at line 188 of file McHandler.cpp.
void McHandler::addGroup | ( | std::string * | group_name | ) |
Definition at line 144 of file McHandler.cpp.
bool McHandler::addUplinkRoute | ( | routing_entry * | route | ) |
Definition at line 160 of file McHandler.cpp.
void McHandler::createGroup | ( | std::string * | group_name, |
bool | root, | ||
bool | member, | ||
bool | connected, | ||
bool | activated, | ||
uint16_t | root_distance | ||
) | [private] |
Definition at line 204 of file McHandler.cpp.
void McHandler::createGroupAsRoot | ( | std::string * | group_name | ) |
Definition at line 130 of file McHandler.cpp.
McTree * McHandler::getMcGroup | ( | std::string * | group_name | ) |
Definition at line 29 of file McHandler.cpp.
McTree * McHandler::getMcGroup | ( | std::string * | hostname_source, |
uint32_t * | route_id | ||
) |
Definition at line 107 of file McHandler.cpp.
std::vector< McTree * > McHandler::lostConnectionDownlinks | ( | unsigned char * | mac | ) |
Definition at line 48 of file McHandler.cpp.
std::vector< McTree * > McHandler::lostConnectionUplinks | ( | unsigned char * | mac | ) |
Definition at line 71 of file McHandler.cpp.
void McHandler::printMcGroups | ( | ) |
Definition at line 250 of file McHandler.cpp.
bool McHandler::removeGroup | ( | std::string * | group_name | ) |
Definition at line 93 of file McHandler.cpp.
void McHandler::setMembership | ( | std::string * | group_name, |
bool | membership | ||
) |
Definition at line 243 of file McHandler.cpp.
std::list<McTree*>* McHandler::groups_ [private] |
Definition at line 41 of file McHandler.h.