|
Ginga
0.13.6.1771-df200
The iTV middleware.
|
#include <Event.h>

Public Types | |
| enum | Type { SELECTION = 0, PRESENTATION, ATTRIBUTION } |
| enum | State { SLEEPING = 0, OCCURRING, PAUSED } |
| enum | Transition { START = 0, PAUSE, RESUME, STOP, ABORT } |
Public Member Functions | |
| Event (Event::Type, Object *, const string &id) | |
| ~Event () | |
| Event::Type | getType () |
| Object * | getObject () |
| string | getId () |
| string | getFullId () |
| Event::State | getState () |
| string | toString () |
| bool | isLambda () |
| void | getInterval (Time *, Time *) |
| void | setInterval (Time, Time) |
| bool | getParameter (const string &, string *) |
| bool | setParameter (const string &, const string &) |
| bool | transition (Event::Transition) |
| void | reset () |
Static Public Member Functions | |
| static string | getEventTypeAsString (Event::Type) |
| static string | getEventStateAsString (Event::State) |
| static string | getEventTransitionAsString (Event::Transition) |
Private Attributes | |
| Event::Type | _type |
| Object * | _object |
| string | _id |
| Event::State | _state |
| Time | _begin |
| Time | _end |
| map< string, string > | _parameters |
| enum Event::State |
| enum Event::Transition |
| enum Event::Type |
| GINGA_NAMESPACE_BEGIN Event::Event | ( | Event::Type | type, |
| Object * | object, | ||
| const string & | id | ||
| ) |
References _begin, _end, _id, _object, _state, _type, g_assert_nonnull(), GINGA_TIME_NONE, and SLEEPING.
| Event::~Event | ( | ) |
|
static |
References OCCURRING, PAUSED, and SLEEPING.
Referenced by toString().
|
static |
|
static |
References ATTRIBUTION, PRESENTATION, and SELECTION.
Referenced by toString().
| string Event::getFullId | ( | ) |
References _id, _object, _type, ATTRIBUTION, g_assert_nonnull(), Object::getId(), PRESENTATION, and SELECTION.
Referenced by Switch::endTransition(), Media::endTransition(), Context::endTransition(), and Media::sendTickEvent().
| string Event::getId | ( | ) |
References _id.
Referenced by Media::endTransition(), and ParserState::popNcl().
References _begin, _end, and tryset.
Referenced by Media::endTransition().
| Object * Event::getObject | ( | ) |
References _object.
Referenced by Document::evalAction(), and ParserState::popNcl().
| bool Event::getParameter | ( | const string & | name, |
| string * | value | ||
| ) |
References _parameters, and MAP_GET_IMPL.
Referenced by Media::endTransition().
| Event::State Event::getState | ( | ) |
References _state.
Referenced by Formatter::getObjectList(), Object::isOccurring(), Object::isPaused(), and Object::isSleeping().
| Event::Type Event::getType | ( | ) |
| bool Event::isLambda | ( | ) |
References _id, _type, and PRESENTATION.
Referenced by Switch::endTransition(), Media::endTransition(), Switch::startTransition(), Media::startTransition(), and Context::startTransition().
Referenced by Object::addPresentationEvent().
| bool Event::setParameter | ( | const string & | name, |
| const string & | value | ||
| ) |
References _parameters, and MAP_SET_IMPL.
Referenced by Document::evalAction(), and ParserState::popNcl().
| string Event::toString | ( | ) |
| bool Event::transition | ( | Event::Transition | trans | ) |
References _object, _state, ABORT, Object::endTransition(), OCCURRING, PAUSE, PAUSED, RESUME, SLEEPING, START, Object::startTransition(), STOP, and unlikely.
Referenced by Document::evalAction(), Formatter::start(), Switch::startTransition(), and Context::startTransition().
|
private |
Referenced by Event(), getInterval(), setInterval(), and toString().
|
private |
Referenced by Event(), getInterval(), setInterval(), and toString().
|
private |
Referenced by Event(), getFullId(), getId(), isLambda(), and toString().
|
private |
Referenced by Event(), getFullId(), getObject(), toString(), and transition().
|
private |
Referenced by getParameter(), setParameter(), and toString().
|
private |
Referenced by Event(), getState(), reset(), toString(), and transition().
|
private |
Referenced by Event(), getFullId(), getType(), isLambda(), and toString().