mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
explicit destructors
This commit is contained in:
parent
234724321e
commit
d56e5dabb6
@ -36,8 +36,8 @@ AsyncTaskManager(const string &name, int num_threads) :
|
|||||||
Namable(name),
|
Namable(name),
|
||||||
_num_threads(num_threads),
|
_num_threads(num_threads),
|
||||||
_cvar(_lock),
|
_cvar(_lock),
|
||||||
_state(S_initial),
|
_num_tasks(0),
|
||||||
_num_tasks(0)
|
_state(S_initial)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -314,15 +314,6 @@ INLINE EventStoreValueBase::
|
|||||||
EventStoreValueBase() {
|
EventStoreValueBase() {
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
|
||||||
// Function: EventStoreValueBase::Destructor
|
|
||||||
// Access: Public
|
|
||||||
// Description:
|
|
||||||
////////////////////////////////////////////////////////////////////
|
|
||||||
INLINE EventStoreValueBase::
|
|
||||||
~EventStoreValueBase() {
|
|
||||||
}
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
// Function: EventStoreTypedRefCount::Constructor
|
// Function: EventStoreTypedRefCount::Constructor
|
||||||
// Access: Public
|
// Access: Public
|
||||||
|
@ -47,6 +47,24 @@ output(ostream &out) const {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////////////////
|
||||||
|
// Function: EventStoreValueBase::Destructor
|
||||||
|
// Access: Public, Virtual
|
||||||
|
// Description:
|
||||||
|
////////////////////////////////////////////////////////////////////
|
||||||
|
EventStoreValueBase::
|
||||||
|
~EventStoreValueBase() {
|
||||||
|
}
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////////////////
|
||||||
|
// Function: EventStoreTypedRefCount::Destructor
|
||||||
|
// Access: Public, Virtual
|
||||||
|
// Description:
|
||||||
|
////////////////////////////////////////////////////////////////////
|
||||||
|
EventStoreTypedRefCount::
|
||||||
|
~EventStoreTypedRefCount() {
|
||||||
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
// Function: EventStoreTypedRefCount::output
|
// Function: EventStoreTypedRefCount::output
|
||||||
// Access: Public, Virtual
|
// Access: Public, Virtual
|
||||||
|
@ -90,7 +90,7 @@ INLINE ostream &operator << (ostream &out, const EventParameter ¶m);
|
|||||||
class EXPCL_PANDA EventStoreValueBase : public TypedWritableReferenceCount {
|
class EXPCL_PANDA EventStoreValueBase : public TypedWritableReferenceCount {
|
||||||
public:
|
public:
|
||||||
INLINE EventStoreValueBase();
|
INLINE EventStoreValueBase();
|
||||||
INLINE ~EventStoreValueBase();
|
virtual ~EventStoreValueBase();
|
||||||
virtual void output(ostream &out) const=0;
|
virtual void output(ostream &out) const=0;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@ -120,6 +120,7 @@ private:
|
|||||||
class EXPCL_PANDA EventStoreTypedRefCount : public EventStoreValueBase {
|
class EXPCL_PANDA EventStoreTypedRefCount : public EventStoreValueBase {
|
||||||
public:
|
public:
|
||||||
INLINE EventStoreTypedRefCount(const TypedReferenceCount *value);
|
INLINE EventStoreTypedRefCount(const TypedReferenceCount *value);
|
||||||
|
virtual ~EventStoreTypedRefCount();
|
||||||
|
|
||||||
INLINE void set_value(const TypedReferenceCount *value);
|
INLINE void set_value(const TypedReferenceCount *value);
|
||||||
INLINE TypedReferenceCount *get_value() const;
|
INLINE TypedReferenceCount *get_value() const;
|
||||||
|
@ -1 +1,2 @@
|
|||||||
#include "event_composite1.cxx"
|
#include "event_composite1.cxx"
|
||||||
|
#include "event_composite2.cxx"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user