ns2 Network Simulator C++ Class Hierarchy of version ns-snapshot-20040722 | |
| Home | Source Code | Manual | FAQ | Mailing List Archive | Search | | | Download | |
#include <node.h>
Inheritance diagram for Node:
Public Member Functions | |
Node (void) | |
~Node () | |
int | address () |
int | nodeid () |
bool | exist_namchan () const |
virtual int | command (int argc, const char *const *argv) |
virtual void | namlog (const char *fmt,...) |
NsObject * | intf_to_target (int32_t) |
void | insert (struct node_head *head) |
Node * | nextnode () |
const struct if_head & | ifhead () const |
const struct linklist_head & | linklisthead () const |
void | addNeighbor (Node *node) |
void | route_notify (RoutingModule *rtm) |
void | unreg_route_notify (RoutingModule *rtm) |
void | add_route (char *dst, NsObject *target) |
void | delete_route (char *dst, NsObject *nullagent) |
void | set_table_size (int nn) |
void | set_table_size (int level, int csize) |
EnergyModel * | energy_model () |
Location * | location () |
Node (void) | |
void | Update (void) |
void | UpdateNeighbors (void) |
void | Dump (void) |
Node (nodeid_t id) | |
Node (const Node &n) | |
virtual | ~Node () |
virtual const NodeWeight_t | NextAdj (const NodeWeight_t &) |
virtual void | AddAdj (nodeid_t a, int w=1) |
virtual NixPair_t | GetNix (nodeid_t) |
Static Public Member Functions | |
Node * | get_node_by_address (nsaddr_t) |
Public Attributes | |
neighbor_list_node * | neighbor_list_ |
double | time_arrival |
double | time_transition |
int | route_changes |
int | link_changes |
Neighbor * | neighbor |
EdgeVec_t | m_Adj |
Static Public Attributes | |
node_head | nodehead_ |
Protected Member Functions | |
LIST_ENTRY (Node) entry | |
void | namdump () |
Protected Attributes | |
int | address_ |
int | nodeid_ |
Tcl_Channel | namChan_ |
if_head | ifhead_ |
linklist_head | linklisthead_ |
RoutingModule * | rtnotif_ |
EnergyModel * | energy_model_ |
Location * | location_ |
Static Protected Attributes | |
char | nwrk_ [NODE_NAMLOG_BUFSZ] |
Private Member Functions | |
void | RandomPosition (void) |
void | RandomDestination (void) |
void | RandomSpeed (void) |
LIST_HEAD (traj, setdest) traj | |
Private Attributes | |
u_int32_t | index |
u_int32_t | first_trip |
vector | position |
vector | destination |
vector | direction |
double | speed |
double | time_update |
Static Private Attributes | |
u_int32_t | NodeIndex = 0 |
Friends | |
void | ReadInMovementPattern (void) |
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from ParentNode. |
|
Reimplemented from RNode. |
|
|
|
Reimplemented from ParentNode. |
|
Reimplemented from TclObject. Reimplemented in MobileNode, and SatNode. |
|
Reimplemented from ParentNode. |
|
|
|
|
|
|
|
|
|
Reimplemented from RNode. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from RNode. |
|
Reimplemented in MobileNode. |
|
Reimplemented from ParentNode. |
|
|
|
|
|
|
|
|
|
Reimplemented from ParentNode. |
|
Reimplemented from ParentNode. |
|
|
|
|
|
|
|
|
|
Reimplemented from ParentNode. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from ParentNode. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|