This class represents an action to be taken. Can have multiple inputs bound to it.
More...
|
Boolean | _HandleInput (const Input::MetaCode &Code) |
| Handles input passed to this Action. More...
|
|
void | _OnActivateAction () |
| Runs all logic associated with this Action being activated. More...
|
|
void | _OnDeactivateAction () |
| Runs all logic associated with this Action being deactivated. More...
|
|
const String & | GetName () const |
| Gets the name of this Action. More...
|
|
| EventPublisher () |
| Class constructor.
|
|
virtual | ~EventPublisher () |
| Class destructor.
|
|
Event * | GetEvent (const String &EventName) const |
| Gets an event in this publisher. More...
|
|
Event * | GetEventExcept (const String &EventName) const |
| Gets an event in this publisher.
- Exceptions
-
This | version differs from the non-except version in that if it fails to find the event specified it will throw a "II_IDENTITY_NOT_FOUND_EXCEPTION". |
More...
|
|
EventSubscriberSlot * | Subscribe (const String &EventName, EventSubscriber *Sub) |
| Adds a subscriber to this event. More...
|
|
EventSubscriberSlot * | Subscribe (const String &EventName, FunctorSubscriberSlot::FunctorDefinition *Funct, Boolean CleanUpAfter) |
| Subscribes a functor object to this event. More...
|
|
EventSubscriberSlot * | Subscribe (const String &EventName, CFunctionSubscriberSlot::SubscriberFunction *CFunct) |
| Subscribes a C-style function to this event. More...
|
|
EventSubscriberSlot * | Subscribe (const String &EventName, Scripting::iScript *SubScript) |
| Subscribes a script to this event. More...
|
|
void | Unsubscribe (EventSubscriber *Subscriber) |
| Unsubscribes a single subscriber all events in this publisher. More...
|
|
void | Unsubscribe (FunctorSubscriberSlot::FunctorDefinition *Funct) |
| Unsubscribes a single subscriber all events in this publisher. More...
|
|
void | Unsubscribe (CFunctionSubscriberSlot::SubscriberFunction *CFunct) |
| Unsubscribes a single subscriber from all events in this publisher. More...
|
|
void | Unsubscribe (Scripting::iScript *SubScript) |
| Unsubscribes a single subscriber from all events in this publisher. More...
|
|
void | Unsubscribe (EventSubscriberSlot *SubSlot) |
| Unsubscribes a single subscriber from all events in this publisher. More...
|
|
void | Unsubscribe (const String &EventName, EventSubscriber *Subscriber) |
| Unsubscribes a single subscriber from the named event. More...
|
|
void | Unsubscribe (const String &EventName, FunctorSubscriberSlot::FunctorDefinition *Funct) |
| Unsubscribes a single subscriber from the named event. More...
|
|
void | Unsubscribe (const String &EventName, CFunctionSubscriberSlot::SubscriberFunction *CFunct) |
| Unsubscribes a single subscriber from the named event. More...
|
|
void | Unsubscribe (const String &EventName, Scripting::iScript *SubScript) |
| Unsubscribes a single subscriber from the named event. More...
|
|
void | Unsubscribe (const String &EventName, EventSubscriberSlot *SubSlot) |
| Unsubscribes a single subscriber from the named event. More...
|
|
Whole | UnsubscribeAll () |
| Unsubscribes all subscribers from all events in this publisher. More...
|
|
Whole | UnsubscribeAll (const String &EventName) |
| Unsubscribes all subscribers from the named Event. More...
|
|
This class represents an action to be taken. Can have multiple inputs bound to it.
Definition at line 78 of file action.h.