Public Types | |
enum | Test_e { TEST_A, TEST_B, TEST_C } |
Public Member Functions | |
AttributeObjectTest (void) | |
virtual | ~AttributeObjectTest (void) |
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) |
Run the DoDispose methods of this object and all the objects aggregated to it. More... | |
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 | Initialize (void) |
This method calls the virtual DoInitialize method on all the objects aggregated to this object. More... | |
Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter > | |
SimpleRefCount () | |
Constructor. More... | |
SimpleRefCount (const SimpleRefCount &o) | |
Copy constructor. More... | |
uint32_t | GetReferenceCount (void) const |
Get the reference count of the object. More... | |
SimpleRefCount & | operator= (const SimpleRefCount &o) |
Assignment. More... | |
void | Ref (void) const |
Increment the reference count. More... | |
void | Unref (void) const |
Decrement the reference count. More... | |
Public Member Functions inherited from ns3::ObjectBase | |
virtual | ~ObjectBase () |
Virtual destructor. More... | |
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) |
Static Public Member Functions inherited from ns3::Object | |
static TypeId | GetTypeId (void) |
Register this type. More... | |
Static Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter > | |
static void | Cleanup (void) |
Noop. More... | |
Static Public Member Functions inherited from ns3::ObjectBase | |
static TypeId | GetTypeId (void) |
Get the type ID. More... | |
Private Member Functions | |
int16_t | DoGetInt16 (void) const |
int8_t | DoGetIntSrc (void) const |
bool | DoGetTestB (void) const |
Ptr< Derived > | DoGetVector (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_e > | m_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< Derived > | m_ptr |
Ptr< Derived > | m_ptrInitialized |
Ptr< Derived > | m_ptrInitialized2 |
Ptr< RandomVariableStream > | m_random |
Time | m_timeWithBounds |
uint8_t | m_uint8 |
TracedValue< uint8_t > | m_uintSrc |
TracedValue< ValueClassTest > | m_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) |
This method is called by Object::Dispose or by the object's destructor, whichever comes first. More... | |
virtual void | DoInitialize (void) |
This method is called only once by Object::Initialize. More... | |
virtual void | NotifyNewAggregate (void) |
This method is invoked whenever two sets of objects are aggregated together. More... | |
Protected Member Functions inherited from ns3::ObjectBase | |
void | ConstructSelf (const AttributeConstructionList &attributes) |
virtual void | NotifyConstructionCompleted (void) |
This method is invoked once all member attributes have been initialized. More... | |
Definition at line 78 of file attribute-test-suite.cc.
Enumerator | |
---|---|
TEST_A | |
TEST_B | |
TEST_C |
Definition at line 81 of file attribute-test-suite.cc.
|
inline |
Definition at line 204 of file attribute-test-suite.cc.
References NS_UNUSED.
|
inlinevirtual |
Definition at line 214 of file attribute-test-suite.cc.
|
inline |
Definition at line 219 of file attribute-test-suite.cc.
Referenced by ObjectMapAttributeTestCase::DoRun().
|
inline |
Definition at line 216 of file attribute-test-suite.cc.
Referenced by ObjectVectorAttributeTestCase::DoRun().
|
inline |
Definition at line 217 of file attribute-test-suite.cc.
|
inlineprivate |
Definition at line 233 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
inlineprivate |
Definition at line 238 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
inlineprivate |
Definition at line 232 of file attribute-test-suite.cc.
Referenced by GetTypeId().
Definition at line 236 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
inlineprivate |
Definition at line 235 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
inlineprivate |
Definition at line 234 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
inlineprivate |
Definition at line 237 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
inlineprivate |
Definition at line 231 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
inlinestatic |
Definition at line 86 of file attribute-test-suite.cc.
References ns3::TypeId::AddConstructor(), DoGetInt16(), DoGetIntSrc(), DoGetTestB(), DoGetVector(), DoGetVectorN(), DoSetInt16(), DoSetIntSrc(), DoSetTestB(), m_boolSrc, m_boolTest, m_cb, m_cbValue, m_doubleSrc, m_enum, m_enumSrc, m_float, m_int16, m_int16WithBounds, m_intSrc1, m_map1, m_ptr, m_ptrInitialized, m_ptrInitialized2, m_random, m_timeWithBounds, m_uint8, m_uintSrc, m_valueSrc, m_vector1, ns3::MakeEnumAccessor(), ns3::MakeEnumChecker(), ns3::MakeObjectMapAccessor(), ns3::MakeObjectVectorAccessor(), ns3::MakeTimeChecker(), and ns3::MakeTraceSourceAccessor().
|
inline |
Definition at line 221 of file attribute-test-suite.cc.
Referenced by TracedCallbackTestCase::DoRun().
|
inline |
Definition at line 223 of file attribute-test-suite.cc.
Referenced by CallbackValueTestCase::DoRun().
|
private |
Definition at line 263 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
private |
Definition at line 241 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
private |
Definition at line 240 of file attribute-test-suite.cc.
|
private |
Definition at line 255 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
private |
Definition at line 252 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
private |
Definition at line 262 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
private |
Definition at line 247 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
private |
Definition at line 261 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
private |
Definition at line 246 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
private |
Definition at line 242 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
private |
Definition at line 244 of file attribute-test-suite.cc.
|
private |
Definition at line 243 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
private |
Definition at line 253 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
private |
Definition at line 254 of file attribute-test-suite.cc.
Definition at line 251 of file attribute-test-suite.cc.
Referenced by GetTypeId().
Definition at line 257 of file attribute-test-suite.cc.
Referenced by GetTypeId().
Definition at line 258 of file attribute-test-suite.cc.
Referenced by GetTypeId().
Definition at line 259 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
private |
Definition at line 248 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
private |
Definition at line 264 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
private |
Definition at line 245 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
private |
Definition at line 260 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
private |
Definition at line 256 of file attribute-test-suite.cc.
Referenced by GetTypeId().
Definition at line 249 of file attribute-test-suite.cc.
Referenced by GetTypeId().
Definition at line 250 of file attribute-test-suite.cc.