ns3::MyNode Class Reference

Inheritance diagram for ns3::MyNode:
Inheritance graph
[legend]
Collaboration diagram for ns3::MyNode:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void AddNodeA (Ptr< MyNode > a)
void AddNodeB (Ptr< MyNode > b)
void SetNodeA (Ptr< MyNode > a)
void SetNodeB (Ptr< MyNode > b)
int8_t GetA (void) const
int8_t GetB (void) const

Static Public Member Functions

static TypeId GetTypeId (void)
 This method returns the TypeId associated to ns3::Object.

Private Attributes

std::vector< Ptr< MyNode > > m_nodesA
std::vector< Ptr< MyNode > > m_nodesB
Ptr< MyNodem_nodeA
Ptr< MyNodem_nodeB
int8_t m_a
int8_t m_b
TracedValue< int16_t > m_trace

Detailed Description

Definition at line 596 of file config.cc.


Member Function Documentation

void ns3::MyNode::AddNodeA ( Ptr< MyNode a  ) 

Definition at line 669 of file config.cc.

References m_nodesA.

void ns3::MyNode::AddNodeB ( Ptr< MyNode b  ) 

Definition at line 674 of file config.cc.

References m_nodesB.

int8_t ns3::MyNode::GetA ( void   )  const

Definition at line 679 of file config.cc.

References m_a.

int8_t ns3::MyNode::GetB ( void   )  const

Definition at line 684 of file config.cc.

References m_b.

TypeId ns3::MyNode::GetTypeId ( void   )  [static]

This method returns the TypeId associated to ns3::Object.

No Attributes defined for this type.
No TraceSources defined for this type.

Reimplemented from ns3::Object.

Definition at line 620 of file config.cc.

References ns3::TypeId::AddAttribute(), ns3::TypeId::AddTraceSource(), m_a, m_b, m_nodeA, m_nodeB, m_nodesA, m_nodesB, m_trace, ns3::MakeObjectVectorAccessor(), ns3::MakeTraceSourceAccessor(), and ns3::TypeId::SetParent().

void ns3::MyNode::SetNodeA ( Ptr< MyNode a  ) 

Definition at line 659 of file config.cc.

References m_nodeA.

void ns3::MyNode::SetNodeB ( Ptr< MyNode b  ) 

Definition at line 664 of file config.cc.

References m_nodeB.


Member Data Documentation

int8_t ns3::MyNode::m_a [private]

Definition at line 615 of file config.cc.

Referenced by GetA(), and GetTypeId().

int8_t ns3::MyNode::m_b [private]

Definition at line 616 of file config.cc.

Referenced by GetB(), and GetTypeId().

Definition at line 613 of file config.cc.

Referenced by GetTypeId(), and SetNodeA().

Definition at line 614 of file config.cc.

Referenced by GetTypeId(), and SetNodeB().

std::vector<Ptr<MyNode> > ns3::MyNode::m_nodesA [private]

Definition at line 611 of file config.cc.

Referenced by AddNodeA(), and GetTypeId().

std::vector<Ptr<MyNode> > ns3::MyNode::m_nodesB [private]

Definition at line 612 of file config.cc.

Referenced by AddNodeB(), and GetTypeId().

TracedValue<int16_t> ns3::MyNode::m_trace [private]

Definition at line 617 of file config.cc.

Referenced by GetTypeId().


The documentation for this class was generated from the following file:
Generated on Thu Dec 3 14:10:19 2009 for NS-3 by  doxygen 1.6.3