#include <nnobject.h>
Inheritance diagram for NewNet::Object:

Public Member Functions | |
| Object () | |
| Constructor. | |
| Object (const Object &) | |
| Copy constructor. | |
| virtual | ~Object () |
| Destructor. | |
| GuardObject & | guardObject () |
| Reference to the guard object. | |
| RefCounter & | refCounter () |
| Reference to the reference counter. | |
Definition at line 39 of file nnobject.h.
| NewNet::Object::Object | ( | ) | [inline] |
This constructs a new object. Note that you don't have to call this. It's an empty method.
Definition at line 45 of file nnobject.h.
| NewNet::Object::Object | ( | const Object & | ) | [inline] |
Ensures that the reference count of the copied object is 0 and that the guard object is empty.
Definition at line 52 of file nnobject.h.
| virtual NewNet::Object::~Object | ( | ) | [inline, virtual] |
When an object is destroyed, the guard object will be emitted so the registered callbacks get called.
Definition at line 59 of file nnobject.h.
References NewNet::RefCounter::count().
| GuardObject& NewNet::Object::guardObject | ( | ) | [inline] |
This returns a reference to the object's guard object so you can hook in your own callbacks if you want to.
Definition at line 75 of file nnobject.h.
| RefCounter& NewNet::Object::refCounter | ( | ) | [inline] |
This returns a reference to the object's reference counter so you can manipulate it if you want to.
Definition at line 83 of file nnobject.h.
Referenced by NewNet::Event< T >::Callback::disconnect().
1.5.1