Laxkit
0.0.7.1
|
Base class for any object that can receive events. More...
Public Member Functions | |
virtual int | Event (const EventData *data, const char *mes) |
Return 1 if event not absorbed, or 0 if it is. | |
Public Member Functions inherited from Laxkit::anObject | |
anObject () | |
Set object_id=getUniqueNumber(). | |
virtual | ~anObject () |
Empty virtual destructor. | |
virtual const char * | whattype () |
Returns the type of anObject. | |
virtual anObject * | duplicate (anObject *ref=NULL) |
virtual int | inc_count () |
Increment the data's count by 1. Returns count. | |
virtual int | dec_count () |
Decrement the count of the data, deleting if count is less than or equal to 0. | |
virtual int | the_count () |
Additional Inherited Members | |
Public Attributes inherited from Laxkit::anObject | |
int | suppress_debug |
DeleteRefCountedFunc | deleteMe |
Called when the count is decremented to 0. | |
unsigned long | object_id |
char * | object_idstr |
Protected Attributes inherited from Laxkit::anObject | |
int | _count |
The reference count of the object. |
Base class for any object that can receive events.