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

strmod::unievent::UNEVT_ClassIdent Class Reference

The global identifier class for classes in strmod::unievent. More...

#include <UniEvent/UNEVT_ClassIdent.h>

Inheritance diagram for strmod::unievent::UNEVT_ClassIdent:

Inheritance graph
[legend]
List of all members.

Public Methods

 UNEVT_ClassIdent (lcore::U4Byte cnum)
 Construct a UNEVT from a class number private to strmod::unievent.

virtual int AreYouA (const lcore::ClassIdent &cid) const
 Asks if a class is of a particular type, or publicly derived from that type.


Static Public Attributes

const UNEVT_ClassIdent identifier
 Use of the ClassIdent classes is being phased out in favor of RTTI.


Protected Methods

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


Detailed Description

The global identifier class for classes in strmod::unievent.

Definition at line 39 of file UNEVT_ClassIdent.h.


Member Function Documentation

int strmod::unievent::UNEVT_ClassIdent::AreYouA const lcore::ClassIdent &    cid const [inline, virtual]
 

Asks if a class is of a particular type, or publicly derived from that type.

Overriden in every derived class (with a static identifier member) to compare against the identifier, then call the AreYouA methods of all the superclasses.

Parameters:
cid Usually <class>::identifier for the class you want to ask if the object is an instance of.

Reimplemented from strmod::lcore::Protocol.

Definition at line 61 of file UNEVT_ClassIdent.h.

const lcore::ClassIdent * strmod::unievent::UNEVT_ClassIdent::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::Protocol.

Definition at line 56 of file UNEVT_ClassIdent.h.


Member Data Documentation

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

Use of the ClassIdent classes is being phased out in favor of RTTI.

Here is a list of currently used identifiers:


   0UL  UNEVT_ClassIdent
   1UL  Dispatcher
   2UL  Event
   3UL  OSConditionManager
   4UL  SimpleDispatcher
   5UL  EventPtr
   6UL  UNIXSignalHandler
   7UL  UNIXpollManager
   8UL  UNIXpollManager::PollEvent
   9UL  UNIXpollManagerImp
  10UL  <nothing, was UNIXError>
  11UL  UNIXSignalHandler
  12UL  Timer
  13UL  UNIXTimer
  14UL  TimerEventTracker
  15UL  UnixEventPoll
 

Reimplemented from strmod::lcore::Protocol.


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