All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

SPApart Class entity_callback_list

SPAbase.ACIS_OBJECT
  |
  +---SPAbase.toolkit_callback_list
    |
    +---entity_callback_list
 

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


public class entity_callback_list

Provides a type-safe interface to the toolkit_callback_list class and the execute command.

Role: This class derives from the toolkit_callback_list class, and it provides a type-safe interface to toolkit_callback_list class and the execute command.

See also:
PART


Constructor and Destructor Index


o entity_callback_list()
C++ constructor, creating an entity_callback_list.

Method Index


o add(entity_callback*)
Adds a callback to an entity_callback_list.
o append(entity_callback*)
Appends a callback to an entity_callback_list.
o execute(entity_event_type,ENTITY*)
Calls the execute method of each callback in the list.
o get_part_delete_flag()
Gets the part delete flag.
o set_part_delete_flag(logical)
Sets the part delete flag on or off.

Constructor and Destructor


o entity_callback_list
public entity_callback_list()
C++ constructor, creating an entity_callback_list.

Methods


o add
public void add(entity_callback* cb)
Adds a callback to an entity_callback_list.

Parameters:
cb
callback.
o append
public void append(entity_callback* cb)
Appends a callback to an entity_callback_list.

Parameters:
cb
entity callback.
o execute
public void execute(entity_event_type en_type,
ENTITY* en)
Calls the execute method of each callback in the list.

Parameters:
en_type
reason.
en
entity.
o get_part_delete_flag
public logical get_part_delete_flag()
Gets the part delete flag.

Returns:
the part delete flag
o set_part_delete_flag
public void set_part_delete_flag(logical f)
Sets the part delete flag on or off.

Parameters:
f
set flag on or off?

This object is included in the file: ent_cb.hxx

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