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


Public Member Functions | |
| Switch (const string &) | |
| ~Switch () | |
| string | getObjectTypeAsString () override |
| bool | startTransition (Event *, Event::Transition) override |
| void | endTransition (Event *, Event::Transition) override |
| const list< pair< Object *, Predicate * > > * | getRules () |
| void | addRule (Object *, Predicate *) |
| const set< Object * > * | getChildren () |
| Object * | getChildById (const string &) |
| Object * | getChildByIdOrAlias (const string &) |
| void | addChild (Object *) |
| string | getId () |
| Document * | getDocument () |
| void | initDocument (Document *) |
| Composition * | getParent () |
| void | initParent (Composition *) |
| virtual string | toString () |
| const list< string > * | getAliases () |
| bool | hasAlias (const string &) |
| void | addAlias (const string &) |
| const set< Event * > * | getEvents () |
| Event * | getEvent (Event::Type, const string &) |
| Event * | getAttributionEvent (const string &) |
| void | addAttributionEvent (const string &) |
| Event * | getPresentationEvent (const string &) |
| void | addPresentationEvent (const string &, Time, Time) |
| Event * | getSelectionEvent (const string &) |
| void | addSelectionEvent (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) |
| list< pair< Action, Time > > * | getDelayedActions () |
| void | addDelayedAction (Event *, Event::Transition, const string &value="", Time delay=0) |
| virtual void | sendKeyEvent (const string &, bool) |
| virtual void | sendTickEvent (Time, Time, Time) |
| bool | getData (const string &, void **) |
| bool | setData (const string &, void *, UserDataCleanFunc fn=nullptr) |
Protected Member Functions | |
| virtual void | doStart () |
| virtual void | doStop () |
Protected Attributes | |
| set< Object * > | _children |
| string | _id |
| Document * | _doc |
| Composition * | _parent |
| list< string > | _aliases |
| Time | _time |
| map< string, string > | _properties |
| Event * | _lambda |
| set< Event * > | _events |
| list< pair< Action, Time > > | _delayed |
| UserData | _udata |
Private Attributes | |
| list< pair< Object *, Predicate * > > | _rules |
| Object * | _selected |
| GINGA_NAMESPACE_BEGIN Switch::Switch | ( | const string & | id | ) |
References _selected.
| Switch::~Switch | ( | ) |
References _rules.
|
inherited |
References Object::_aliases, and tryinsert.
Referenced by ParserState::pushContext(), ParserState::pushMedia(), ParserState::pushNcl(), and Formatter::start().
|
inherited |
References Object::_events, Event::ATTRIBUTION, and Object::getAttributionEvent().
Referenced by MediaSettings::MediaSettings(), Formatter::obtainEvent(), and ParserState::pushProperty().
|
inherited |
|
inherited |
References Object::_delayed, Object::_time, Action::event, Action::transition, and Action::value.
Referenced by Media::endTransition().
References Object::_events, Object::getPresentationEvent(), Event::PRESENTATION, and Event::setInterval().
Referenced by Object::Object(), Formatter::obtainEvent(), and ParserState::pushArea().
References _rules, g_assert_nonnull(), and GINGA_NAMESPACE_END.
|
inherited |
References Object::_events, Object::getSelectionEvent(), and Event::SELECTION.
Referenced by Formatter::obtainEvent(), and ParserState::popNcl().
|
protectedvirtualinherited |
References Object::_time.
Referenced by endTransition(), Media::endTransition(), and Context::endTransition().
|
protectedvirtualinherited |
Reimplemented in Media.
References Object::_delayed, Object::_events, Object::_time, GINGA_NAMESPACE_END, and GINGA_TIME_NONE.
Referenced by Media::doStop(), endTransition(), Context::endTransition(), and Object::~Object().
|
overridevirtual |
Implements Object.
References Object::_doc, _selected, Event::ATTRIBUTION, Object::doStart(), Object::doStop(), Document::evalAction(), g_assert(), Event::getFullId(), Event::getType(), Event::isLambda(), Event::PRESENTATION, Event::SELECTION, Event::START, Event::STOP, and TRACE.
|
inherited |
References Object::_aliases.
|
inherited |
References Event::ATTRIBUTION, and Object::getEvent().
Referenced by Object::addAttributionEvent(), Formatter::obtainEvent(), ParserState::resolveInterfaceRef(), and MediaSettings::updateCurrentFocus().
|
inherited |
References Composition::_children.
Referenced by Composition::getChildByIdOrAlias().
|
inherited |
References Composition::_children, Composition::getChildById(), and Object::hasAlias().
Referenced by ParserState::resolveComponentRef().
|
inherited |
References Composition::_children.
|
inherited |
References Object::_udata, and UserData::getData().
References Object::_delayed.
|
inherited |
References Object::_doc.
|
inherited |
References Object::_events.
Referenced by Object::getAttributionEvent(), Object::getPresentationEvent(), Object::getSelectionEvent(), and Formatter::obtainEvent().
|
inherited |
References Object::_events.
|
inherited |
|
inherited |
References Object::_lambda, and g_assert_nonnull().
Referenced by Formatter::obtainFormatterEventFromBind(), ParserState::resolveInterfaceRef(), Media::sendTickEvent(), Formatter::start(), and startTransition().
|
overridevirtual |
Implements Object.
|
inherited |
References Object::_parent.
Referenced by Document::evalAction().
|
inherited |
References Object::getEvent(), and Event::PRESENTATION.
Referenced by Object::addPresentationEvent(), Object::Object(), Formatter::obtainEvent(), and ParserState::resolveInterfaceRef().
|
virtualinherited |
Reimplemented in Context.
References Object::_properties.
Referenced by Document::evalPropertyRef(), Context::getProperty(), and Media::setProperty().
|
inherited |
References Object::getEvent(), and Event::SELECTION.
Referenced by Object::addSelectionEvent(), Formatter::obtainEvent(), and ParserState::popNcl().
|
inherited |
References Object::_aliases.
Referenced by Composition::getChildByIdOrAlias(), Document::getObjectByIdOrAlias(), and ParserState::resolveComponentRef().
|
inherited |
References Object::_doc, and g_assert_nonnull().
Referenced by Document::addObject().
|
inherited |
References Object::_parent, and g_assert_nonnull().
Referenced by Composition::addChild().
|
inherited |
References Object::_lambda, g_assert_nonnull(), Event::getState(), and Event::OCCURRING.
Referenced by Media::endTransition(), Document::evalAction(), Media::isFocused(), Object::sendTickEvent(), and Media::startTransition().
|
inherited |
References Object::_lambda, g_assert_nonnull(), Event::getState(), and Event::PAUSED.
|
inherited |
References Object::_lambda, g_assert_nonnull(), Event::getState(), and Event::SLEEPING.
Referenced by Media::getZ(), and Media::redraw().
|
virtualinherited |
Reimplemented in Context, Media, and MediaSettings.
References Object::_delayed, Object::_doc, Object::_time, Document::evalAction(), g_assert(), GINGA_TIME_IS_VALID, GINGA_TIME_NONE, and Object::isOccurring().
Referenced by Media::sendTickEvent(), and Context::sendTickEvent().
|
inherited |
References Object::_udata, and UserData::setData().
|
virtualinherited |
Reimplemented in Context, Media, and MediaSettings.
References Object::_properties, g_assert(), and GINGA_TIME_IS_VALID.
Referenced by ParserState::pushProperty(), Media::setProperty(), and Context::setProperty().
|
overridevirtual |
|
virtualinherited |
Reimplemented in Context, and Media.
References Object::_aliases, Object::_events, Object::_id, Object::_parent, Object::_properties, Object::_time, Event::ATTRIBUTION, c_str, Object::getId(), Object::getObjectTypeAsString(), GINGA_TIME_ARGS, GINGA_TIME_FORMAT, GINGA_TIME_IS_VALID, Event::PRESENTATION, Event::SELECTION, and xstrbuild().
Referenced by Context::toString(), and Media::toString().
|
protectedinherited |
Referenced by Object::addAlias(), Object::getAliases(), Object::hasAlias(), and Object::toString().
|
protectedinherited |
Referenced by Object::addDelayedAction(), Object::doStop(), Object::getDelayedActions(), and Object::sendTickEvent().
|
protectedinherited |
Referenced by Composition::addChild(), endTransition(), Media::endTransition(), Context::endTransition(), Object::getDocument(), Object::initDocument(), Object::Object(), Media::sendKeyEvent(), Media::sendTickEvent(), Object::sendTickEvent(), startTransition(), Media::startTransition(), and MediaSettings::updateCurrentFocus().
|
protectedinherited |
|
protectedinherited |
Referenced by Object::getId(), Object::Object(), Media::startTransition(), and Object::toString().
|
protectedinherited |
Referenced by Object::getLambda(), Object::isOccurring(), Object::isPaused(), Object::isSleeping(), and Object::Object().
|
protectedinherited |
Referenced by Object::getParent(), Object::initParent(), Object::Object(), and Object::toString().
|
protectedinherited |
Referenced by Object::getProperty(), Object::setProperty(), Media::startTransition(), and Object::toString().
Referenced by addRule(), getRules(), startTransition(), and ~Switch().
|
private |
Referenced by endTransition(), startTransition(), and Switch().
|
protectedinherited |
|
protectedinherited |
Referenced by Object::getData(), and Object::setData().