|
Laxkit
0.0.7.1
|
Class to send a reference counted object. More...

Public Member Functions | |
| RefCountedEventData (anObject *obj=NULL) | |
| virtual | ~RefCountedEventData () |
| anObject * | TheObject () |
| Return pointer to the object. | |
Public Member Functions inherited from Laxkit::EventData | |
| EventData (const char *message, unsigned long fromwindow=0, unsigned long towindow=0) | |
| EventData (int message, unsigned long fromwindow=0, unsigned long towindow=0) | |
Public Attributes | |
| anObject * | object |
| int | info1 |
| int | info2 |
| int | info3 |
| int | info4 |
Public Attributes inherited from Laxkit::EventData | |
| unsigned long | type |
| unsigned long | subtype |
| char * | send_message |
| unsigned long | from |
| unsigned long | to |
| int | propagate |
| clock_t | send_time |
| unsigned long | xlib_time |
| EventData * | next |
Class to send a reference counted object.
| Laxkit::RefCountedEventData::RefCountedEventData | ( | anObject * | obj = NULL | ) |
If obj!=NULL, then the object's count is incremented.
References Laxkit::anObject::inc_count().
|
virtual |
object is deleted.
| anObject * Laxkit::RefCountedEventData::TheObject | ( | ) |
Return pointer to the object.
The returned object needs to have it's count incremented if it is to be used.