ITimer::Cursor

The nested class ITimer::Cursor iterates over the active timers for the current application. This class iterates the timers running on any of the application's threads, although it only considers timers started with the ITimer class.


ITimer::Cursor - Member Functions and Data by Group

Constructors & Destructor

Use can construct and destruct objects of this class.


[view class]
~Cursor
public:
virtual ~Cursor()

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
Cursor
public:
Cursor()

You can only construct objects of this class with the default constructor, which does not require any arguments.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Timer Iteration

Use these members to iterate through the set of active timers.


[view class]
invalidate
public:
virtual void invalidate()

Invalidates the cursor.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
isValid
public:
virtual bool isValid() const

Returns true if the cursor is valid.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
setToFirst
public:
virtual bool setToFirst()

Initializes the cursor to the first timer. If no timers are active, then it returns false and invalidates the cursor.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
setToNext
public:
virtual bool setToNext()

Advances the cursor to the next timer. If no other timers are active, then it returns false and invalidates the cursor.

If you call setToNext with an invalid cursor, it sets the cursor to the first active timer.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


ITimer::Cursor - Inherited Member Functions and Data

Inherited Public Functions

Inherited Public Data

Inherited Protected Functions

Inherited Protected Data