Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

strmod::unievent::EventPtr Class Reference

A smart pointer class that points an Event and handles the reference count. More...

#include <UniEvent/Event.h>

Inheritance diagram for strmod::unievent::EventPtr:

Inheritance graph
[legend]
List of all members.

Public Types

typedef lcore::RefCountPtrT<
Event
super1
 An easier way to refer to RefCountPtrT<Evemt>.


Public Methods

 EventPtr (Event *eptr=0)
 These all construct an EventPtr from the appropriate type and maintain the reference count to the pointed at Event.

 EventPtr (const EventPtr &b)
 These all construct an EventPtr from the appropriate type and maintain the reference count to the pointed at Event.

 EventPtr (const super1 &b)
 These all construct an EventPtr from the appropriate type and maintain the reference count to the pointed at Event.

const EventPtr & operator= (const EventPtr &b)
 These all set the value of an EventPtr value from the appropriate type and maintain the reference count to the pointed at EVent.

const EventPtr & operator= (const super1 &b)
 These all set the value of an EventPtr value from the appropriate type and maintain the reference count to the pointed at EVent.

const EventPtr & operator= (Event *b)
 These all set the value of an EventPtr value from the appropriate type and maintain the reference count to the pointed at EVent.


Static Public Attributes

const UNEVT_ClassIdent identifier
 Globally unique identifier for this class.


Protected Methods

virtual const lcore::ClassIdent * i_GetIdent () const
 Returns the class identifier for the class the object actually is.


Detailed Description

A smart pointer class that points an Event and handles the reference count.

Definition at line 41 of file EventPtr.h.


Member Function Documentation

virtual const lcore::ClassIdent* strmod::unievent::EventPtr::i_GetIdent   const [inline, protected, virtual]
 

Returns the class identifier for the class the object actually is.

Should always be overridden in any class that has a static identifier member.

Reimplemented from strmod::lcore::RefCountPtr.

Definition at line 69 of file EventPtr.h.


Member Data Documentation

const UNEVT_ClassIdent strmod::unievent::EventPtr::identifier [static]
 

Globally unique identifier for this class.

Every class that might need to be identified should have a public static const identifier object in it.

Reimplemented from strmod::lcore::RefCountPtr.


The documentation for this class was generated from the following files:
Generated on Wed Jan 29 00:32:57 2003 for libNet by doxygen1.3-rc1