do not use ObjectBase as a base class.
This commit is contained in:
@@ -74,7 +74,8 @@ class PacketPrinter;
|
||||
* The performance aspects of the Packet API are discussed in
|
||||
* \ref packetperf
|
||||
*/
|
||||
class Packet : public ObjectBase {
|
||||
class Packet
|
||||
{
|
||||
public:
|
||||
void Ref (void) const;
|
||||
void Unref (void) const;
|
||||
|
||||
@@ -71,7 +71,7 @@ struct CallbackTraits<T *>
|
||||
}
|
||||
};
|
||||
|
||||
class CallbackImplBase : public ObjectBase
|
||||
class CallbackImplBase
|
||||
{
|
||||
public:
|
||||
CallbackImplBase ()
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
#ifdef RUN_SELF_TESTS
|
||||
|
||||
#include "test.h"
|
||||
#include "object-base.h"
|
||||
|
||||
namespace ns3 {
|
||||
|
||||
@@ -46,7 +45,7 @@ private:
|
||||
};
|
||||
|
||||
|
||||
class Base : public ObjectBase
|
||||
class Base
|
||||
{
|
||||
public:
|
||||
Base ();
|
||||
|
||||
@@ -78,7 +78,7 @@ WifiPhyListener::~WifiPhyListener ()
|
||||
* Phy event class
|
||||
****************************************************************/
|
||||
|
||||
class RxEvent : public ObjectBase
|
||||
class RxEvent
|
||||
{
|
||||
public:
|
||||
RxEvent (uint32_t size, WifiMode payloadMode,
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
namespace ns3 {
|
||||
|
||||
class EventImpl : public ObjectBase
|
||||
class EventImpl
|
||||
{
|
||||
public:
|
||||
EventImpl ();
|
||||
|
||||
@@ -595,7 +595,8 @@ static void cber5 (const int &, const int &, const int &, const int &, const int
|
||||
{}
|
||||
|
||||
|
||||
class SimulatorTests : public Test, public ObjectBase {
|
||||
class SimulatorTests : public Test
|
||||
{
|
||||
public:
|
||||
SimulatorTests ();
|
||||
// only here for testing of Ptr<>
|
||||
|
||||
Reference in New Issue
Block a user