Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

NodeReal Class Reference

#include <node-real.h>

Inheritance diagram for NodeReal:

NodeImpl NodeBlueImpl NodeFirstBitRxImpl NodeTACLANEImpl NodeSatelliteImpl List of all members.

Public Member Functions

 NodeReal (Node *)
 ~NodeReal ()
NodeImplCopy () const
bool IsReal ()
virtual bool IsSatellite () const
virtual void IsSatellite (bool)
void Broadcast (Packet *, Proto_t)
QueueGetQueue ()
QueueGetQueue (Node *)
ApplicationAddApplication (const Application &a)
void DefaultRoute (RoutingEntry)
void DefaultRoute (Node *)
void AddRoute (IPAddr_t, Count_t, Interface *, IPAddr_t)
RoutingEntry LookupRoute (IPAddr_t)
RoutingEntry LookupRouteNix (Count_t)
Routing::RType_t RoutingType ()
void InitializeRoutes ()
void ReInitializeRoutes (bool)
Count_t RoutingFibSize () const
RoutingNixVectorGetNixRouting ()
RoutingGetRouting ()
AODVRoutingEntryLookupRouteAODV (IPAddr_t)
void SetRoutingAODV (void *pRouting)
RoutingAODVGetRoutingAODV ()
ProtocolLookupProto (Layer_t, Proto_t)
void InsertProto (Layer_t, Proto_t, Protocol *)
bool Bind (Proto_t, PortId_t, Protocol *)
bool Bind (Proto_t, PortId_t, IPAddr_t, PortId_t, IPAddr_t, Protocol *)
PortId_t Bind (Proto_t, Protocol *)
bool Unbind (Proto_t, PortId_t, Protocol *)
bool Unbind (Proto_t, PortId_t, IPAddr_t, PortId_t, IPAddr_t, Protocol *)
ProtocolLookupByPort (Proto_t, PortId_t)
ProtocolLookupByPort (Proto_t, PortId_t, IPAddr_t, PortId_t, IPAddr_t)
bool TracePDU (Protocol *, PDU *, Packet *, char *)
void SetTrace (Trace::TraceStatus)
void SetLocation (Meters_t, Meters_t, Meters_t)
void SetLocation (const Location &)
void SetLocationLongLat (const Location &)
bool HasLocation ()
Meters_t LocationX ()
Meters_t LocationY ()
Meters_t LocationZ ()
Location GetLocation ()
Location UpdateLocation ()
MobilityAddMobility (const Mobility &)
MobilityGetMobility () const
bool IsMobile ()
bool IsMoving ()
bool ICMPEnabled () const
void DisableICMP ()
Meters_t Distance (Node *)
void BuildRadioInterfaceList (WirelessLink *)
const RadioVec_tGetRadioInterfaceList ()
void SetRadioRange (Meters_t range)
Meters_t GetRadioRange ()
void AddCallback (Layer_t, Proto_t, PacketCallbacks::Type_t, Interface *, PacketCallbacks::Function_t)
void AddCallbackHead (Layer_t, Proto_t, PacketCallbacks::Type_t, Interface *, PacketCallbacks::Function_t)
void DeleteCallback (Layer_t, Proto_t, PacketCallbacks::Type_t, Interface *)
bool CallCallbacks (Layer_t, Proto_t, PacketCallbacks::Type_t, Packet *, Interface *)
void setBattery (Joules_t joules)
Joules_t getBattery (void)
void setComputePower (double pow)
double getComputePower (void)
void setRouteTable (RouteTable *rtable_)
RouteTablegetRouteTable (void)
void SetTimeout (Time_t)
int FindSRCPort (Interface *)
void PacketRX (Packet *, Interface *)
MACPort_tGetPortMap ()
Time_t GetTimeout ()
bool IsSwitchNode ()
void IsSwitchNode (bool)
void SetWormContainment (WormContainment *)
WormContainmentGetWormContainment ()
void UseARP (bool)

Public Attributes

void * userInfo
PortDemuxdemux
Meters_t radioRange
Joules_t battery
double computePower
RadioVec_t radioInterfaces
RadioVec_t radioInf2
Time_t radioMarginTime
PacketCallbacks callbacks
bool icmpEnabled
RouteTablertable

Static Public Attributes

Count_t count = 0
Count_t count1 = 0
Count_t count2 = 0
Count_t count3 = 0
Count_t count4 = 0

Private Member Functions

bool CheckTrace (Protocol *, PDU *)

Private Attributes

RoutingpRouting
RENixVec_t nixLookup
RoutingAODVpRoutingAODV
Meters_t x
Meters_t y
Meters_t z
bool hasLocation
ProtocolGraphgraph
Trace::TraceStatus traceStatus
Mobilitymobility
MACPort_t portmap
Time_t timeout
bool isswitch
WormContainmentwormcontainment

Constructor & Destructor Documentation

NodeReal::NodeReal Node  ) 
 

NodeReal::~NodeReal  ) 
 


Member Function Documentation

Application * NodeReal::AddApplication const Application a  )  [virtual]
 

Implements NodeImpl.

void NodeReal::AddCallback Layer_t  ,
Proto_t  ,
PacketCallbacks::Type_t  ,
Interface ,
PacketCallbacks::Function_t 
[virtual]
 

Implements NodeImpl.

void NodeReal::AddCallbackHead Layer_t  ,
Proto_t  ,
PacketCallbacks::Type_t  ,
Interface ,
PacketCallbacks::Function_t 
[virtual]
 

Implements NodeImpl.

Mobility * NodeReal::AddMobility const Mobility  )  [virtual]
 

Implements NodeImpl.

void NodeReal::AddRoute IPAddr_t  ,
Count_t  ,
Interface ,
IPAddr_t 
[virtual]
 

Implements NodeImpl.

PortId_t NodeReal::Bind Proto_t  ,
Protocol
[virtual]
 

Implements NodeImpl.

bool NodeReal::Bind Proto_t  ,
PortId_t  ,
IPAddr_t  ,
PortId_t  ,
IPAddr_t  ,
Protocol
[virtual]
 

Implements NodeImpl.

bool NodeReal::Bind Proto_t  ,
PortId_t  ,
Protocol
[virtual]
 

Implements NodeImpl.

void NodeReal::Broadcast Packet ,
Proto_t 
[virtual]
 

Implements NodeImpl.

void NodeReal::BuildRadioInterfaceList WirelessLink  )  [virtual]
 

Implements NodeImpl.

bool NodeReal::CallCallbacks Layer_t  ,
Proto_t  ,
PacketCallbacks::Type_t  ,
Packet ,
Interface
[virtual]
 

Implements NodeImpl.

bool NodeReal::CheckTrace Protocol ,
PDU
[private]
 

NodeImpl * NodeReal::Copy  )  const [virtual]
 

Implements NodeImpl.

Reimplemented in NodeFirstBitRxImpl, NodeSatelliteImpl, and NodeTACLANEImpl.

void NodeReal::DefaultRoute Node  )  [virtual]
 

Implements NodeImpl.

void NodeReal::DefaultRoute RoutingEntry   )  [virtual]
 

Implements NodeImpl.

void NodeReal::DeleteCallback Layer_t  ,
Proto_t  ,
PacketCallbacks::Type_t  ,
Interface
[virtual]
 

Implements NodeImpl.

void NodeReal::DisableICMP  )  [virtual]
 

Reimplemented from NodeImpl.

Meters_t NodeReal::Distance Node  )  [virtual]
 

Implements NodeImpl.

int NodeReal::FindSRCPort Interface  ) 
 

Joules_t NodeReal::getBattery void   )  [inline, virtual]
 

Implements NodeImpl.

double NodeReal::getComputePower void   )  [inline, virtual]
 

Implements NodeImpl.

Location NodeReal::GetLocation  )  [virtual]
 

Implements NodeImpl.

Mobility * NodeReal::GetMobility  )  const [virtual]
 

Implements NodeImpl.

RoutingNixVector * NodeReal::GetNixRouting  )  [virtual]
 

Implements NodeImpl.

MACPort_t* NodeReal::GetPortMap  )  [inline]
 

Queue * NodeReal::GetQueue Node  )  [virtual]
 

Implements NodeImpl.

Queue * NodeReal::GetQueue  )  [virtual]
 

Implements NodeImpl.

const RadioVec_t & NodeReal::GetRadioInterfaceList  )  [virtual]
 

Implements NodeImpl.

Meters_t NodeReal::GetRadioRange void   )  [inline, virtual]
 

Implements NodeImpl.

RouteTable* NodeReal::getRouteTable void   )  [inline, virtual]
 

Implements NodeImpl.

Routing* NodeReal::GetRouting  )  [inline, virtual]
 

Implements NodeImpl.

RoutingAODV * NodeReal::GetRoutingAODV  )  [virtual]
 

Implements NodeImpl.

Time_t NodeReal::GetTimeout  )  [inline]
 

WormContainment* NodeReal::GetWormContainment  )  [inline, virtual]
 

Implements NodeImpl.

bool NodeReal::HasLocation  )  [virtual]
 

Implements NodeImpl.

bool NodeReal::ICMPEnabled  )  const [virtual]
 

Reimplemented from NodeImpl.

void NodeReal::InitializeRoutes  )  [virtual]
 

Implements NodeImpl.

void NodeReal::InsertProto Layer_t  ,
Proto_t  ,
Protocol
[virtual]
 

Implements NodeImpl.

bool NodeReal::IsMobile  )  [virtual]
 

Implements NodeImpl.

bool NodeReal::IsMoving  )  [virtual]
 

Implements NodeImpl.

bool NodeReal::IsReal  )  [virtual]
 

Implements NodeImpl.

virtual void NodeReal::IsSatellite bool   )  [inline, virtual]
 

virtual bool NodeReal::IsSatellite  )  const [inline, virtual]
 

void NodeReal::IsSwitchNode bool   )  [virtual]
 

Implements NodeImpl.

bool NodeReal::IsSwitchNode  )  [inline, virtual]
 

Implements NodeImpl.

Meters_t NodeReal::LocationX  )  [virtual]
 

Implements NodeImpl.

Meters_t NodeReal::LocationY  )  [virtual]
 

Implements NodeImpl.

Meters_t NodeReal::LocationZ  )  [virtual]
 

Implements NodeImpl.

Protocol * NodeReal::LookupByPort Proto_t  ,
PortId_t  ,
IPAddr_t  ,
PortId_t  ,
IPAddr_t 
[virtual]
 

Implements NodeImpl.

Protocol * NodeReal::LookupByPort Proto_t  ,
PortId_t 
[virtual]
 

Implements NodeImpl.

Protocol * NodeReal::LookupProto Layer_t  ,
Proto_t 
[virtual]
 

Implements NodeImpl.

RoutingEntry NodeReal::LookupRoute IPAddr_t   )  [virtual]
 

Implements NodeImpl.

AODVRoutingEntry * NodeReal::LookupRouteAODV IPAddr_t   )  [virtual]
 

Implements NodeImpl.

RoutingEntry NodeReal::LookupRouteNix Count_t   )  [virtual]
 

Implements NodeImpl.

void NodeReal::PacketRX Packet ,
Interface
[virtual]
 

Implements NodeImpl.

void NodeReal::ReInitializeRoutes bool   )  [virtual]
 

Implements NodeImpl.

Count_t NodeReal::RoutingFibSize  )  const [virtual]
 

Implements NodeImpl.

Routing::RType_t NodeReal::RoutingType  )  [virtual]
 

Implements NodeImpl.

void NodeReal::setBattery Joules_t  joules  )  [inline, virtual]
 

Implements NodeImpl.

void NodeReal::setComputePower double  pow  )  [inline, virtual]
 

Implements NodeImpl.

void NodeReal::SetLocation const Location  )  [virtual]
 

Implements NodeImpl.

void NodeReal::SetLocation Meters_t  ,
Meters_t  ,
Meters_t 
[virtual]
 

Implements NodeImpl.

void NodeReal::SetLocationLongLat const Location  )  [virtual]
 

Implements NodeImpl.

void NodeReal::SetRadioRange Meters_t  range  )  [inline, virtual]
 

Implements NodeImpl.

void NodeReal::setRouteTable RouteTable rtable_  )  [inline, virtual]
 

Implements NodeImpl.

void NodeReal::SetRoutingAODV void *  pRouting  )  [virtual]
 

Implements NodeImpl.

void NodeReal::SetTimeout Time_t   ) 
 

void NodeReal::SetTrace Trace::TraceStatus   )  [virtual]
 

Implements NodeImpl.

void NodeReal::SetWormContainment WormContainment  )  [virtual]
 

Implements NodeImpl.

bool NodeReal::TracePDU Protocol ,
PDU ,
Packet ,
char * 
[virtual]
 

Implements NodeImpl.

bool NodeReal::Unbind Proto_t  ,
PortId_t  ,
IPAddr_t  ,
PortId_t  ,
IPAddr_t  ,
Protocol
[virtual]
 

Implements NodeImpl.

bool NodeReal::Unbind Proto_t  ,
PortId_t  ,
Protocol
[virtual]
 

Implements NodeImpl.

Location NodeReal::UpdateLocation  )  [virtual]
 

Implements NodeImpl.

void NodeReal::UseARP bool   )  [virtual]
 

Implements NodeImpl.


Member Data Documentation

Joules_t NodeReal::battery
 

PacketCallbacks NodeReal::callbacks
 

double NodeReal::computePower
 

Count_t NodeReal::count = 0 [static]
 

Count_t NodeReal::count1 = 0 [static]
 

Count_t NodeReal::count2 = 0 [static]
 

Count_t NodeReal::count3 = 0 [static]
 

Count_t NodeReal::count4 = 0 [static]
 

PortDemux* NodeReal::demux
 

ProtocolGraph* NodeReal::graph [private]
 

bool NodeReal::hasLocation [private]
 

bool NodeReal::icmpEnabled
 

bool NodeReal::isswitch [private]
 

Mobility* NodeReal::mobility [private]
 

RENixVec_t NodeReal::nixLookup [private]
 

MACPort_t NodeReal::portmap [private]
 

Routing* NodeReal::pRouting [private]
 

RoutingAODV* NodeReal::pRoutingAODV [private]
 

RadioVec_t NodeReal::radioInf2
 

RadioVec_t NodeReal::radioInterfaces
 

Time_t NodeReal::radioMarginTime
 

Meters_t NodeReal::radioRange
 

RouteTable* NodeReal::rtable
 

Time_t NodeReal::timeout [private]
 

Trace::TraceStatus NodeReal::traceStatus [private]
 

void* NodeReal::userInfo
 

WormContainment* NodeReal::wormcontainment [private]
 

Meters_t NodeReal::x [private]
 

Meters_t NodeReal::y [private]
 

Meters_t NodeReal::z [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Aug 27 16:17:30 2008 for Georgia Tech Network Simulator (GTNetS) by  doxygen 1.3.9.1