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 () | |
Constructor. More... | |
virtual | ~Object () |
Destructor. More... | |
void | AggregateObject (Ptr< Object > other) |
Aggregate two Objects together. More... | |
void | Dispose (void) |
Dispose of this Object. More... | |
AggregateIterator | GetAggregateIterator (void) const |
Get an iterator to the Objects aggregated to this one. More... | |
virtual TypeId | GetInstanceTypeId (void) const |
Get the most derived TypeId for this Object. More... | |
template<typename T > | |
Ptr< T > | GetObject (void) const |
Get a pointer to the requested aggregated Object. More... | |
template<typename T > | |
Ptr< T > | GetObject (TypeId tid) const |
Get a pointer to the requested aggregated Object by TypeId. More... | |
void | Initialize (void) |
Invoke DoInitialize on all Objects aggregated to this one. More... | |
bool | IsInitialized (void) const |
Check if the object has been initialized. More... | |
Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter > | |
SimpleRefCount () | |
Default 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 operator. 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 |
Get the value of an attribute, raising fatal errors if unsuccessful. More... | |
bool | GetAttributeFailSafe (std::string name, AttributeValue &value) const |
Get the value of an attribute without raising erros. More... | |
void | SetAttribute (std::string name, const AttributeValue &value) |
Set a single attribute, raising fatal errors if unsuccessful. More... | |
bool | SetAttributeFailSafe (std::string name, const AttributeValue &value) |
Set a single attribute without raising errors. More... | |
bool | TraceConnect (std::string name, std::string context, const CallbackBase &cb) |
Connect a TraceSource to a Callback with a context. More... | |
bool | TraceConnectWithoutContext (std::string name, const CallbackBase &cb) |
Connect a TraceSource to a Callback without a context. More... | |
bool | TraceDisconnect (std::string name, std::string context, const CallbackBase &cb) |
Disconnect from a TraceSource a Callback previously connected with a context. More... | |
bool | TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb) |
Disconnect from a TraceSource a Callback previously connected without a context. More... | |
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::ObjectBase | |
static TypeId | GetTypeId (void) |
Get the type ID. More... | |
Private Types | |
typedef void(* | NumericTracedCallback) (double, int, float) |
Private Member Functions | |
Test_e | DoGetEnum (void) const |
int16_t | DoGetInt16 (void) const |
int8_t | DoGetIntSrc (void) const |
bool | DoGetTestB (void) const |
Ptr< Derived > | DoGetVector (std::size_t i) const |
std::size_t | DoGetVectorN (void) const |
bool | DoSetEnum (Test_e v) |
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 |
enum Test_e | m_enumSetGet |
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) | |
Copy an Object. More... | |
virtual void | DoDispose (void) |
Destructor implementation. More... | |
virtual void | DoInitialize (void) |
Initialize() implementation. More... | |
virtual void | NotifyNewAggregate (void) |
Notify all Objects aggregated to this one of a new Object being aggregated. More... | |
Protected Member Functions inherited from ns3::ObjectBase | |
void | ConstructSelf (const AttributeConstructionList &attributes) |
Complete construction of ObjectBase; invoked by derived classes. More... | |
virtual void | NotifyConstructionCompleted (void) |
Notifier called once the ObjectBase is fully constructed. More... | |
Related Functions inherited from ns3::ObjectBase | |
static TypeId | GetObjectIid (void) |
Ensure the TypeId for ObjectBase gets fully configured to anchor the inheritance tree properly. More... | |
Definition at line 95 of file attribute-test-suite.cc.
|
private |
Definition at line 287 of file attribute-test-suite.cc.
Enumerator | |
---|---|
TEST_A | |
TEST_B | |
TEST_C |
Definition at line 98 of file attribute-test-suite.cc.
|
inline |
Definition at line 231 of file attribute-test-suite.cc.
References NS_UNUSED.
|
inlinevirtual |
Definition at line 242 of file attribute-test-suite.cc.
|
inline |
Definition at line 247 of file attribute-test-suite.cc.
Referenced by ObjectMapAttributeTestCase::DoRun().
|
inline |
Definition at line 244 of file attribute-test-suite.cc.
Referenced by ObjectVectorAttributeTestCase::DoRun().
|
inline |
Definition at line 245 of file attribute-test-suite.cc.
|
inlineprivate |
Definition at line 268 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
inlineprivate |
Definition at line 261 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
inlineprivate |
Definition at line 266 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
inlineprivate |
Definition at line 260 of file attribute-test-suite.cc.
Referenced by GetTypeId().
Definition at line 264 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
inlineprivate |
Definition at line 263 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
inlineprivate |
Definition at line 267 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
inlineprivate |
Definition at line 262 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
inlineprivate |
Definition at line 265 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
inlineprivate |
Definition at line 259 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
inlinestatic |
Definition at line 103 of file attribute-test-suite.cc.
References ns3::TypeId::AddConstructor(), DoGetEnum(), DoGetInt16(), DoGetIntSrc(), DoGetTestB(), DoGetVector(), DoGetVectorN(), DoSetEnum(), 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::MakeBooleanAccessor(), ns3::MakeBooleanChecker(), ns3::MakeCallbackAccessor(), ns3::MakeCallbackChecker(), ns3::MakeDoubleAccessor(), ns3::MakeEnumAccessor(), ns3::MakeEnumChecker(), ns3::MakeIntegerAccessor(), ns3::MakeObjectMapAccessor(), ns3::MakeObjectVectorAccessor(), ns3::MakePointerAccessor(), ns3::MakeTimeAccessor(), ns3::MakeTimeChecker(), ns3::MakeTraceSourceAccessor(), ns3::MakeUintegerAccessor(), MakeValueClassTestAccessor(), MakeValueClassTestChecker(), and ns3::Seconds().
|
inline |
Definition at line 249 of file attribute-test-suite.cc.
Referenced by TracedCallbackTestCase::DoRun().
|
inline |
Definition at line 251 of file attribute-test-suite.cc.
Referenced by CallbackValueTestCase::DoRun().
|
private |
Definition at line 296 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
private |
Definition at line 271 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
private |
Definition at line 270 of file attribute-test-suite.cc.
|
private |
Definition at line 288 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
private |
Definition at line 283 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
private |
Definition at line 295 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
private |
Definition at line 277 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
private |
Definition at line 278 of file attribute-test-suite.cc.
|
private |
Definition at line 294 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
private |
Definition at line 276 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
private |
Definition at line 272 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
private |
Definition at line 274 of file attribute-test-suite.cc.
|
private |
Definition at line 273 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
private |
Definition at line 284 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
private |
Definition at line 285 of file attribute-test-suite.cc.
Definition at line 282 of file attribute-test-suite.cc.
Referenced by GetTypeId().
Definition at line 290 of file attribute-test-suite.cc.
Referenced by GetTypeId().
Definition at line 291 of file attribute-test-suite.cc.
Referenced by GetTypeId().
Definition at line 292 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
private |
Definition at line 279 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
private |
Definition at line 297 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
private |
Definition at line 275 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
private |
Definition at line 293 of file attribute-test-suite.cc.
Referenced by GetTypeId().
|
private |
Definition at line 289 of file attribute-test-suite.cc.
Referenced by GetTypeId().
Definition at line 280 of file attribute-test-suite.cc.
Referenced by GetTypeId().
Definition at line 281 of file attribute-test-suite.cc.