introduce ObjectBase

This commit is contained in:
Mathieu Lacage committed 2008-01-30 17:25:06 +01:00
1 parent c2905cfde7
commit 6dad8a4d79
11 files changed
+120 -57

No files matched your search

+3 -1
View File
@@ -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;
+1 -1
View File
@@ -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<>