introduce ObjectBase
This commit is contained in:
1 parent
c2905cfde7
commit
6dad8a4d79
11 files changed
+120
-57
No files matched your search
@@ -21,10 +21,12 @@
|
||||
#define EVENT_IMPL_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include "ns3/object-base.h"
|
||||
|
||||
namespace ns3 {
|
||||
|
||||
class EventImpl {
|
||||
class EventImpl : public ObjectBase
|
||||
{
|
||||
public:
|
||||
EventImpl ();
|
||||
inline void Ref (void) const;
|
||||
|
||||
@@ -568,7 +568,7 @@ static void cber5 (const int &, const int &, const int &, const int &, const int
|
||||
{}
|
||||
|
||||
|
||||
class SimulatorTests : public Test {
|
||||
class SimulatorTests : public Test, public ObjectBase {
|
||||
public:
|
||||
SimulatorTests ();
|
||||
// only here for testing of Ptr<>
|
||||
|
||||
Reference in new issue
Block a user