EventDispatcher |
EventBroadcaster |
The ‘EventBroadcaster’ class is a singleton event dispatcher. It can be used to easily broadcast events across an application.
EventBroadcaster | The ‘EventBroadcaster’ class is a singleton event dispatcher. |
Variables | |
c_objInstance | Stores the singleton instance of this class. |
Functions | |
EventBroadcaster | Constructor. |
getInstance | Gets the singleton instance of the event broadcaster. |
SingletonEnforcer | Simple class for enforcing the fact that the ‘EventBroadcaster’ class is to be used as a singleton. |
Stores the singleton instance of this class.
private static var c_objInstance: EventBroadcaster
Constructor.
public function EventBroadcaster( objEnforcer: SingletonEnforcer )
Gets the singleton instance of the event broadcaster.
public static function getInstance():EventBroadcaster