### ITimerMemberFn0

  The ITimerMemberFn0 template class is an ITimerFn-derived class that calls a C++ member function when a timer expires. The template argument is as follows:

  T
    The class of the object against which the member functions are applied.

  Use this class instead of ITimerMemberFn if you do not need the timer identifier (ID).

  Objects of this class dispatch C++ member functions when a timer expires. The template argument is the class of the object for which the functions are called. The constructor for such objects requires a reference to the object that the member functions are to be applied to and a pointer to the member functions.

  The member functions return void and accept no arguments.

### ITimerMemberFn0 - Member Functions and Data by Group

### Constructors & Destructor

You can only construct and destruct objects of this class, although ITimer generally manages the destruction of these objects for you. You cannot copy or assign ITimerMemberFn0 objects because both the copy constructor and the assignment operator are private members.

~ITimerMemberFn0

      public:
      virtual ~ITimerMemberFn0()

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

ITimerMemberFn0

      public:
      ITimerMemberFn0( T& object,
                       void ( T::* memberFunction ) ( ) )

  Constructs objects of this class.

  Use operator new to create objects of this class if you will be using them with ITimer, because ITimer reference counts these objects.

  obj
    A reference to an object of the template argument class T.
  memberFunction
    A pointer to a member function of the template argument class. The member function should return a void parameter and accept no formal parameters.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

### Timer Expiration

After you start a timer, it expires each time a specified time interval passes. Use these members to perform actions each time the timer expires.

timerExpired

      public:
      virtual void timerExpired(unsigned long timerId)

  Calls the pointed-to member function that was provided at construction each time the timer expires.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

### ITimerMemberFn0 - Inherited Member Functions and Data

#### Inherited Public Functions

  ITimerFn

  -     virtual ~ITimerFn()

  -     ITimerFn()

  -     virtual void timerExpired(unsigned long timerId) = 0

  IMRefCounted

  -     void addRef()

  -     unsigned long count() const

  -     void removeRef()

#### Inherited Public Data

  - None

#### Inherited Protected Functions

  IMRefCounted

  -     virtual ~IMRefCounted()

  -     IMRefCounted(const IMRefCounted&)

  -     IMRefCounted()

  -     IMRefCounted& operator =(const IMRefCounted&)

#### Inherited Protected Data

  - None