Laxkit  0.0.7.1
Public Member Functions | Public Attributes
Laxkit::RefCountedEventData Class Reference

Class to send a reference counted object. More...

Inheritance diagram for Laxkit::RefCountedEventData:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 RefCountedEventData (anObject *obj=NULL)
virtual ~RefCountedEventData ()
anObjectTheObject ()
 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

anObjectobject
int info1
int info2
int info3
int info4
- Public Attributes inherited from Laxkit::EventData
unsigned long type
unsigned long subtype
charsend_message
unsigned long from
unsigned long to
int propagate
clock_t send_time
unsigned long xlib_time
EventDatanext

Detailed Description

Class to send a reference counted object.


Constructor & Destructor Documentation

Laxkit::RefCountedEventData::RefCountedEventData ( anObject obj = NULL)

If obj!=NULL, then the object's count is incremented.

References Laxkit::anObject::inc_count().

Laxkit::RefCountedEventData::~RefCountedEventData ( )
virtual

object is deleted.


Member Function Documentation

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.


The documentation for this class was generated from the following files:

Mon Feb 17 2014 11:52:59, Laxkit