Public Member Functions | Public Attributes
McTree Class Reference

#include <McTree.h>

List of all members.

Public Member Functions

bool activateBestRoute (route_request *rreq_logging)
bool activateRoute (std::string *hostname_source, uint32_t *id, unsigned char *mac_adr)
bool addDownlinkAsConnector (mac *m)
bool addDownlinkAsMember (mac *m)
bool addWaitingRequest (RouteRequest *req, unsigned char *source_mac)
bool downlinkExsists (unsigned char *m)
 McTree ()
 McTree (const McTree &orig)
bool operator= (const McTree *other)
void printTree ()
bool processFrame (unsigned char *src)
bool propagateFrame (unsigned char *sender_mac)
bool removeMacIfExsists (unsigned char *m)
void resetTmpFields ()
bool routeIsNew (routing_entry *r)
void safeOutgoingRequest (RouteRequest *req)
virtual ~McTree ()

Public Attributes

bool activated
bool connected
std::list< mac * > downlinks_l_
std::string group_name_
bool member
RouteRequestoutgoing_request_
bool root
routing_entryroute_uplink_
std::list< routing_entry * > routing_entries_downlinks_l_
std::list< routing_entry * > routing_entries_l_
unsigned long time_stamp_
std::list< RouteRequest * > waiting_requests_l_

Detailed Description

Definition at line 11 of file McTree.h.


Constructor & Destructor Documentation

Definition at line 20 of file McTree.cpp.

McTree::McTree ( const McTree orig)

Definition at line 27 of file McTree.cpp.

McTree::~McTree ( ) [virtual]

Definition at line 31 of file McTree.cpp.


Member Function Documentation

bool McTree::activateBestRoute ( route_request rreq_logging)

Definition at line 116 of file McTree.cpp.

bool McTree::activateRoute ( std::string *  hostname_source,
uint32_t *  id,
unsigned char *  mac_adr 
)

Definition at line 216 of file McTree.cpp.

Definition at line 257 of file McTree.cpp.

Definition at line 271 of file McTree.cpp.

bool McTree::addWaitingRequest ( RouteRequest req,
unsigned char *  source_mac 
)

Definition at line 46 of file McTree.cpp.

bool McTree::downlinkExsists ( unsigned char *  m)

Definition at line 321 of file McTree.cpp.

bool McTree::operator= ( const McTree other)

Definition at line 316 of file McTree.cpp.

Definition at line 174 of file McTree.cpp.

bool McTree::processFrame ( unsigned char *  src)

Definition at line 167 of file McTree.cpp.

bool McTree::propagateFrame ( unsigned char *  sender_mac)

Definition at line 80 of file McTree.cpp.

bool McTree::removeMacIfExsists ( unsigned char *  m)

Definition at line 337 of file McTree.cpp.

Definition at line 151 of file McTree.cpp.

Definition at line 243 of file McTree.cpp.

Definition at line 36 of file McTree.cpp.


Member Data Documentation

Definition at line 43 of file McTree.h.

Definition at line 44 of file McTree.h.

Definition at line 35 of file McTree.h.

std::string McTree::group_name_

Definition at line 32 of file McTree.h.

Definition at line 42 of file McTree.h.

Definition at line 34 of file McTree.h.

Definition at line 45 of file McTree.h.

Definition at line 33 of file McTree.h.

Definition at line 40 of file McTree.h.

Definition at line 39 of file McTree.h.

unsigned long McTree::time_stamp_

Definition at line 36 of file McTree.h.

Definition at line 38 of file McTree.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