|
|
| Switch (const string &) |
| |
| string | getObjectTypeAsString () override |
| |
| string | toString () override |
| |
| bool | beforeTransition (Event *, Event::Transition) override |
| | Initiates event transition.
|
| |
| bool | afterTransition (Event *, Event::Transition) override |
| | Finishes event transition.
|
| |
|
const list< pair< Object *, Predicate * > > * | getRules () |
| |
|
void | addRule (Object *, Predicate *) |
| |
|
const map< string, list< Event * > > * | getSwitchPorts () |
| |
|
void | addSwitchPort (const string &, const list< Event * > &) |
| |
|
| Composition (const string &) |
| |
|
const set< Object * > * | getChildren () |
| |
|
Object * | getChildById (const string &) |
| |
|
Object * | getChildByIdOrAlias (const string &) |
| |
|
void | addChild (Object *) |
| |
|
| Object (const string &) |
| |
|
string | getId () |
| |
|
Document * | getDocument () |
| |
|
void | initDocument (Document *) |
| |
|
Composition * | getParent () |
| |
|
void | initParent (Composition *) |
| |
|
const list< pair< string, Composition * > > * | getAliases () |
| |
|
bool | hasAlias (const string &) |
| |
|
void | addAlias (const string &, Composition *=nullptr) |
| |
|
const set< Event * > * | getEvents () |
| |
|
Event * | getEvent (Event::Type, const string &) |
| |
|
Event * | getAttributionEvent (const string &) |
| |
|
void | addAttributionEvent (const string &) |
| |
|
Event * | getPresentationEvent (const string &) |
| |
|
Event * | getPresentationEventByLabel (const string &) |
| |
|
void | addPresentationEvent (const string &, Time, Time) |
| |
|
void | addPresentationEvent (const string &, const string &) |
| |
|
Event * | getSelectionEvent (const string &) |
| |
|
void | addSelectionEvent (const string &) |
| |
|
Event * | getLookAtEvent (const string &) |
| |
|
void | addLookAtEvent (const string &) |
| |
|
Event * | getLambda () |
| |
|
bool | isOccurring () |
| |
|
bool | isPaused () |
| |
|
bool | isSleeping () |
| |
|
virtual string | getProperty (const string &) |
| |
|
virtual void | setProperty (const string &, const string &, Time dur=0) |
| |
|
const list< pair< Action, Time > > * | getDelayedActions () |
| |
|
void | addDelayedAction (Event *, Event::Transition, const string &value="", Time delay=0) |
| |
|
virtual void | sendKey (const string &, bool) |
| |
|
virtual void | sendTick (Time, Time, Time) |
| |
|
Time | getTime () |
| |
Finishes event transition.
This function is called by Event::transition() immediately after transitioning evt. If the transition can finish successfully, the function returns true. Otherwise, if the transition must be reverted, e.g., due to some error, the function returns false.
- Parameters
-
| evt | Event that was transitioned. |
| transition | The transition. |
- Returns
true if successful, or false otherwise (cancel transition).
Implements ginga::Object.
Initiates event transition.
This function is called by Event::transition() immediately before transitioning evt. If the transition can go on, the function returns true. Otherwise, if the transition must be cancelled, e.g., due to some error, the function returns false.
- Parameters
-
| evt | Event to be transitioned. |
| transition | The desired transition. |
- Returns
true if successful, or false otherwise (cancel transition).
Implements ginga::Object.