Inheritance diagram for stdbase::system::Object::
Public Methods | |
synchronized | synchronize () |
Factory method used to ensure mutual exclusion. More... | |
virtual bool | equals (ObjectRef object) |
Compares two objects by content and type. More... | |
virtual system::reference< String > | toString () const |
Provide object a String representation of this object. | |
Protected Methods | |
Object (void) | |
Object instances can only be created via a create() factory (static) function. | |
virtual | ~Object (void) |
Destructor - called only by ObjectRef when the Object instance is no longer needed. More... | |
virtual void | inc () const |
virtual unsigned | dec () const |
Protected Attributes | |
unsigned | count |
platform::Lock | lock |
Friends | |
class | ObjectRef |
For any class there should only be one base class derived from Object. Object maintains reference counts and thread locks. For each instance, the Object part of it MUST be unique or very bad things happen.
Last maintained by
Definition at line 76 of file Object.
|
Destructor - called only by ObjectRef when the Object instance is no longer needed. Objects are automatically destroyed as per the memory management implementation chosen. Definition at line 55 of file Object.cpp. |
|
Compares two objects by content and type.
Definition at line 78 of file Object.cpp. |
|
Factory method used to ensure mutual exclusion. This is similar to using Java's synchronize keyword. |