Public Member Functions | Private Member Functions | Private Attributes
McHandler Class Reference

#include <McHandler.h>

List of all members.

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)
McTreegetMcGroup (std::string *group_name)
McTreegetMcGroup (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_

Detailed Description

Definition at line 17 of file McHandler.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

Definition at line 188 of file McHandler.cpp.

void McHandler::addGroup ( std::string *  group_name)

Definition at line 144 of file McHandler.cpp.

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.

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.


Member Data Documentation

std::list<McTree*>* McHandler::groups_ [private]

Definition at line 41 of file McHandler.h.


The documentation for this class was generated from the following files:


adhoc_communication
Author(s): Guenter Cwioro , Torsten Andre
autogenerated on Thu Aug 27 2015 11:56:40