A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::ConfigTestObject Class Reference
+ Inheritance diagram for ns3::ConfigTestObject:
+ Collaboration diagram for ns3::ConfigTestObject:

Public Member Functions

void AddNodeA (Ptr< ConfigTestObject > a)
void AddNodeB (Ptr< ConfigTestObject > b)
int8_t GetA (void) const
int8_t GetB (void) const
void SetNodeA (Ptr< ConfigTestObject > a)
void SetNodeB (Ptr< ConfigTestObject > b)
- Public Member Functions inherited from ns3::Object
 Object ()
virtual ~Object ()
void AggregateObject (Ptr< Object > other)
void Dispose (void)
AggregateIterator GetAggregateIterator (void) const
virtual TypeId GetInstanceTypeId (void) const
template<typename T >
Ptr< T > GetObject (void) const
template<typename T >
Ptr< T > GetObject (TypeId tid) const
void Start (void)
- Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter >
 SimpleRefCount ()
 SimpleRefCount (const SimpleRefCount &o)
uint32_t GetReferenceCount (void) const
SimpleRefCountoperator= (const SimpleRefCount &o)
void Ref (void) const
void Unref (void) const
- Public Member Functions inherited from ns3::ObjectBase
virtual ~ObjectBase ()
void GetAttribute (std::string name, AttributeValue &value) const
bool GetAttributeFailSafe (std::string name, AttributeValue &attribute) const
void SetAttribute (std::string name, const AttributeValue &value)
bool SetAttributeFailSafe (std::string name, const AttributeValue &value)
bool TraceConnect (std::string name, std::string context, const CallbackBase &cb)
bool TraceConnectWithoutContext (std::string name, const CallbackBase &cb)
bool TraceDisconnect (std::string name, std::string context, const CallbackBase &cb)
bool TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb)

Static Public Member Functions

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

Private Attributes

int8_t m_a
int8_t m_b
Ptr< ConfigTestObjectm_nodeA
Ptr< ConfigTestObjectm_nodeB
std::vector< Ptr
< ConfigTestObject > > 
m_nodesA
std::vector< Ptr
< ConfigTestObject > > 
m_nodesB
TracedValue< int16_t > m_trace

Additional Inherited Members

- Protected Member Functions inherited from ns3::Object
 Object (const Object &o)
virtual void DoDispose (void)
virtual void DoStart (void)
virtual void NotifyNewAggregate (void)

Detailed Description

Definition at line 42 of file config-test-suite.cc.

Member Function Documentation

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

Definition at line 118 of file config-test-suite.cc.

References m_nodesA.

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

Definition at line 124 of file config-test-suite.cc.

References m_nodesB.

Referenced by ns3::ObjectVectorConfigTestCase::DoRun(), and ns3::ObjectVectorTraceConfigTestCase::DoRun().

+ Here is the caller graph for this function:

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

Definition at line 130 of file config-test-suite.cc.

References m_a.

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

Definition at line 136 of file config-test-suite.cc.

References m_b.

TypeId ns3::ConfigTestObject::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 67 of file config-test-suite.cc.

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

+ Here is the call graph for this function:

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

Definition at line 106 of file config-test-suite.cc.

References m_nodeA.

Referenced by ns3::UnderRootNamespaceConfigTestCase::DoRun(), ns3::ObjectVectorConfigTestCase::DoRun(), and ns3::ObjectVectorTraceConfigTestCase::DoRun().

+ Here is the caller graph for this function:

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

Definition at line 112 of file config-test-suite.cc.

References m_nodeB.

Referenced by ns3::UnderRootNamespaceConfigTestCase::DoRun(), ns3::ObjectVectorConfigTestCase::DoRun(), and ns3::ObjectVectorTraceConfigTestCase::DoRun().

+ Here is the caller graph for this function:

Member Data Documentation

int8_t ns3::ConfigTestObject::m_a
private

Definition at line 61 of file config-test-suite.cc.

Referenced by GetA(), and GetTypeId().

int8_t ns3::ConfigTestObject::m_b
private

Definition at line 62 of file config-test-suite.cc.

Referenced by GetB(), and GetTypeId().

Ptr<ConfigTestObject> ns3::ConfigTestObject::m_nodeA
private

Definition at line 59 of file config-test-suite.cc.

Referenced by GetTypeId(), and SetNodeA().

Ptr<ConfigTestObject> ns3::ConfigTestObject::m_nodeB
private

Definition at line 60 of file config-test-suite.cc.

Referenced by GetTypeId(), and SetNodeB().

std::vector<Ptr<ConfigTestObject> > ns3::ConfigTestObject::m_nodesA
private

Definition at line 57 of file config-test-suite.cc.

Referenced by AddNodeA(), and GetTypeId().

std::vector<Ptr<ConfigTestObject> > ns3::ConfigTestObject::m_nodesB
private

Definition at line 58 of file config-test-suite.cc.

Referenced by AddNodeB(), and GetTypeId().

TracedValue<int16_t> ns3::ConfigTestObject::m_trace
private

Definition at line 63 of file config-test-suite.cc.

Referenced by GetTypeId().


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