eventq: move EventQueue constructor to cc file
Also make copy constructor and assignment operator private.
This commit is contained in:
parent
c90ee27283
commit
f7e6f19ada
2 changed files with 8 additions and 3 deletions
|
@ -408,3 +408,7 @@ Event::dump() const
|
||||||
cprintf("Not Scheduled\n");
|
cprintf("Not Scheduled\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EventQueue::EventQueue(const string &n)
|
||||||
|
: objName(n), head(NULL)
|
||||||
|
{}
|
||||||
|
|
|
@ -370,10 +370,11 @@ class EventQueue : public Serializable
|
||||||
void insert(Event *event);
|
void insert(Event *event);
|
||||||
void remove(Event *event);
|
void remove(Event *event);
|
||||||
|
|
||||||
|
EventQueue(const EventQueue &);
|
||||||
|
const EventQueue &operator=(const EventQueue &);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
EventQueue(const std::string &n)
|
EventQueue(const std::string &n);
|
||||||
: objName(n), head(NULL)
|
|
||||||
{}
|
|
||||||
|
|
||||||
virtual const std::string name() const { return objName; }
|
virtual const std::string name() const { return objName; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue