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

Public Types

enum  Test_e { TEST_A, TEST_B, TEST_C }

Public Member Functions

void AddToMap1 (uint32_t i)
void AddToVector1 (void)
void AddToVector2 (void)
void InvokeCb (double a, int b, float c)
void InvokeCbValue (int8_t a)
- 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 Member Functions

int16_t DoGetInt16 (void) const
int8_t DoGetIntSrc (void) const
bool DoGetTestB (void) const
Ptr< DerivedDoGetVector (uint32_t i) const
uint32_t DoGetVectorN (void) const
void DoSetInt16 (int16_t v)
bool DoSetIntSrc (int8_t v)
void DoSetTestB (bool v)

Private Attributes

TracedValue< bool > m_boolSrc
bool m_boolTest
bool m_boolTestA
TracedCallback< double, int,
float > 
m_cb
Callback< void, int8_t > m_cbValue
TracedValue< double > m_doubleSrc
enum Test_e m_enum
TracedValue< enum Test_em_enumSrc
float m_float
int16_t m_int16
int16_t m_int16SetGet
int16_t m_int16WithBounds
TracedValue< int8_t > m_intSrc1
TracedValue< int8_t > m_intSrc2
std::map< uint32_t, Ptr
< Derived > > 
m_map1
Ptr< Derivedm_ptr
Ptr< Derivedm_ptrInitialized
Ptr< Derivedm_ptrInitialized2
Ptr< RandomVariableStreamm_random
uint8_t m_uint8
TracedValue< uint8_t > m_uintSrc
TracedValue< ValueClassTestm_valueSrc
std::vector< Ptr< Derived > > m_vector1
std::vector< Ptr< Derived > > m_vector2

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 76 of file attribute-test-suite.cc.

Member Enumeration Documentation

Enumerator:
TEST_A 
TEST_B 
TEST_C 

Definition at line 79 of file attribute-test-suite.cc.

Member Function Documentation

void ns3::AttributeObjectTest::AddToMap1 ( uint32_t  i)
inline

Definition at line 201 of file attribute-test-suite.cc.

References m_map1.

void ns3::AttributeObjectTest::AddToVector1 ( void  )
inline

Definition at line 198 of file attribute-test-suite.cc.

References m_vector1.

void ns3::AttributeObjectTest::AddToVector2 ( void  )
inline

Definition at line 199 of file attribute-test-suite.cc.

References m_vector2.

int16_t ns3::AttributeObjectTest::DoGetInt16 ( void  ) const
inlineprivate

Definition at line 215 of file attribute-test-suite.cc.

References m_int16SetGet.

Referenced by GetTypeId().

+ Here is the caller graph for this function:

int8_t ns3::AttributeObjectTest::DoGetIntSrc ( void  ) const
inlineprivate

Definition at line 220 of file attribute-test-suite.cc.

References m_intSrc2.

Referenced by GetTypeId().

+ Here is the caller graph for this function:

bool ns3::AttributeObjectTest::DoGetTestB ( void  ) const
inlineprivate

Definition at line 214 of file attribute-test-suite.cc.

References m_boolTestA.

Referenced by GetTypeId().

+ Here is the caller graph for this function:

Ptr<Derived> ns3::AttributeObjectTest::DoGetVector ( uint32_t  i) const
inlineprivate

Definition at line 218 of file attribute-test-suite.cc.

References m_vector2.

Referenced by GetTypeId().

+ Here is the caller graph for this function:

uint32_t ns3::AttributeObjectTest::DoGetVectorN ( void  ) const
inlineprivate

Definition at line 217 of file attribute-test-suite.cc.

References m_vector2.

Referenced by GetTypeId().

+ Here is the caller graph for this function:

void ns3::AttributeObjectTest::DoSetInt16 ( int16_t  v)
inlineprivate

Definition at line 216 of file attribute-test-suite.cc.

References m_int16SetGet.

Referenced by GetTypeId().

+ Here is the caller graph for this function:

bool ns3::AttributeObjectTest::DoSetIntSrc ( int8_t  v)
inlineprivate

Definition at line 219 of file attribute-test-suite.cc.

References m_intSrc2.

Referenced by GetTypeId().

+ Here is the caller graph for this function:

void ns3::AttributeObjectTest::DoSetTestB ( bool  v)
inlineprivate

Definition at line 213 of file attribute-test-suite.cc.

References m_boolTestA.

Referenced by GetTypeId().

+ Here is the caller graph for this function:

static TypeId ns3::AttributeObjectTest::GetTypeId ( void  )
inlinestatic
void ns3::AttributeObjectTest::InvokeCb ( double  a,
int  b,
float  c 
)
inline

Definition at line 203 of file attribute-test-suite.cc.

References m_cb.

void ns3::AttributeObjectTest::InvokeCbValue ( int8_t  a)
inline

Definition at line 205 of file attribute-test-suite.cc.

References ns3::Callback< R, T1, T2, T3, T4, T5, T6, T7, T8, T9 >::IsNull(), and m_cbValue.

+ Here is the call graph for this function:

Member Data Documentation

TracedValue<bool> ns3::AttributeObjectTest::m_boolSrc
private

Definition at line 245 of file attribute-test-suite.cc.

Referenced by GetTypeId().

bool ns3::AttributeObjectTest::m_boolTest
private

Definition at line 223 of file attribute-test-suite.cc.

Referenced by GetTypeId().

bool ns3::AttributeObjectTest::m_boolTestA
private

Definition at line 222 of file attribute-test-suite.cc.

Referenced by DoGetTestB(), and DoSetTestB().

TracedCallback<double, int, float> ns3::AttributeObjectTest::m_cb
private

Definition at line 237 of file attribute-test-suite.cc.

Referenced by GetTypeId(), and InvokeCb().

Callback<void,int8_t> ns3::AttributeObjectTest::m_cbValue
private

Definition at line 234 of file attribute-test-suite.cc.

Referenced by GetTypeId(), and InvokeCbValue().

TracedValue<double> ns3::AttributeObjectTest::m_doubleSrc
private

Definition at line 244 of file attribute-test-suite.cc.

Referenced by GetTypeId().

enum Test_e ns3::AttributeObjectTest::m_enum
private

Definition at line 229 of file attribute-test-suite.cc.

Referenced by GetTypeId().

TracedValue<enum Test_e> ns3::AttributeObjectTest::m_enumSrc
private

Definition at line 243 of file attribute-test-suite.cc.

Referenced by GetTypeId().

float ns3::AttributeObjectTest::m_float
private

Definition at line 228 of file attribute-test-suite.cc.

Referenced by GetTypeId().

int16_t ns3::AttributeObjectTest::m_int16
private

Definition at line 224 of file attribute-test-suite.cc.

Referenced by GetTypeId().

int16_t ns3::AttributeObjectTest::m_int16SetGet
private

Definition at line 226 of file attribute-test-suite.cc.

Referenced by DoGetInt16(), and DoSetInt16().

int16_t ns3::AttributeObjectTest::m_int16WithBounds
private

Definition at line 225 of file attribute-test-suite.cc.

Referenced by GetTypeId().

TracedValue<int8_t> ns3::AttributeObjectTest::m_intSrc1
private

Definition at line 235 of file attribute-test-suite.cc.

Referenced by GetTypeId().

TracedValue<int8_t> ns3::AttributeObjectTest::m_intSrc2
private

Definition at line 236 of file attribute-test-suite.cc.

Referenced by DoGetIntSrc(), and DoSetIntSrc().

std::map<uint32_t, Ptr<Derived> > ns3::AttributeObjectTest::m_map1
private

Definition at line 233 of file attribute-test-suite.cc.

Referenced by AddToMap1(), and GetTypeId().

Ptr<Derived> ns3::AttributeObjectTest::m_ptr
private

Definition at line 239 of file attribute-test-suite.cc.

Referenced by GetTypeId().

Ptr<Derived> ns3::AttributeObjectTest::m_ptrInitialized
private

Definition at line 240 of file attribute-test-suite.cc.

Referenced by GetTypeId().

Ptr<Derived> ns3::AttributeObjectTest::m_ptrInitialized2
private

Definition at line 241 of file attribute-test-suite.cc.

Referenced by GetTypeId().

Ptr<RandomVariableStream> ns3::AttributeObjectTest::m_random
private

Definition at line 230 of file attribute-test-suite.cc.

Referenced by GetTypeId().

uint8_t ns3::AttributeObjectTest::m_uint8
private

Definition at line 227 of file attribute-test-suite.cc.

Referenced by GetTypeId().

TracedValue<uint8_t> ns3::AttributeObjectTest::m_uintSrc
private

Definition at line 242 of file attribute-test-suite.cc.

Referenced by GetTypeId().

TracedValue<ValueClassTest> ns3::AttributeObjectTest::m_valueSrc
private

Definition at line 238 of file attribute-test-suite.cc.

Referenced by GetTypeId().

std::vector<Ptr<Derived> > ns3::AttributeObjectTest::m_vector1
private

Definition at line 231 of file attribute-test-suite.cc.

Referenced by AddToVector1(), and GetTypeId().

std::vector<Ptr<Derived> > ns3::AttributeObjectTest::m_vector2
private

Definition at line 232 of file attribute-test-suite.cc.

Referenced by AddToVector2(), DoGetVector(), and DoGetVectorN().


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