All Frameworks  Class Hierarchy  This Framework  Previous  Indexes

SPAbase Class toolkit_callback_list

SPAbase.ACIS_OBJECT
  |
  +---toolkit_callback_list
 

Usage: you must use this class as is. You should never derive it.


public class toolkit_callback_list

Stores the list of toolkit_callbacks.

Role: The toolkit_callback_list class stores the list of toolkit_callbacks.

See also:
toolkit_callback


Constructor and Destructor Index


o toolkit_callback_list()
C++ constructor, creating a toolkit_callback_list.
o ~toolkit_callback_list()
C++ destructor, deleting a toolkit_callback_list.

Method Index


o clear()
Removes and deletes all callbacks.
o first()
Gets the first callback.
o last()
Gets the last callback, for routines that want to call in reverse order.
o remove(toolkit_callback*)
Removes a callback from the callback list and deletes it.
o remove_no_dtor(toolkit_callback*)
Removes a callback from the callback list.

Constructor and Destructor


o toolkit_callback_list
public toolkit_callback_list()
C++ constructor, creating a toolkit_callback_list.
o ~toolkit_callback_list
public virtual ~toolkit_callback_list()
C++ destructor, deleting a toolkit_callback_list.

Methods


o clear
public void clear()
Removes and deletes all callbacks.
o first
public toolkit_callback * first()
Gets the first callback.
o last
public toolkit_callback * last()
Gets the last callback, for routines that want to call in reverse order.
o remove
public virtual void remove(toolkit_callback* callb)
Removes a callback from the callback list and deletes it.

Role: This means that you must not delete the callback yourself, and also that all callback objects must be allocated on the heap using 'new'.

Parameters:
callb
callback.
o remove_no_dtor
public void remove_no_dtor(toolkit_callback* callb)
Removes a callback from the callback list.

Parameters:
callb
callback.

This object is included in the file: tlkit_cb.hxx

Copyright (c) 1989-2007 by Spatial Corp. All rights reserved.