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


Public Member Functions | |
| MediaSettings (const string &) | |
| ~MediaSettings () | |
| string | getObjectTypeAsString () override |
| void | setProperty (const string &, const string &, Time) override |
| void | sendTickEvent (Time, Time, Time) override |
| bool | isFocused () override |
| bool | getZ (int *, int *) override |
| void | redraw (cairo_t *) override |
| void | updateCurrentFocus (const string &) |
| void | scheduleFocusUpdate (const string &) |
| string | toString () override |
| void | sendKeyEvent (const string &, bool) override |
| bool | startTransition (Event *, Event::Transition) override |
| void | endTransition (Event *, Event::Transition) override |
| string | getId () |
| Document * | getDocument () |
| void | initDocument (Document *) |
| Composition * | getParent () |
| void | initParent (Composition *) |
| 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 &) |
| list< pair< Action, Time > > * | getDelayedActions () |
| void | addDelayedAction (Event *, Event::Transition, const string &value="", Time delay=0) |
| bool | getData (const string &, void **) |
| bool | setData (const string &, void *, UserDataCleanFunc fn=nullptr) |
Protected Member Functions | |
| void | doStop () override |
| virtual void | doStart () |
Protected Attributes | |
| string | _mime |
| string | _uri |
| Player * | _player |
| 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 | |
| string | _nextFocus |
| bool | _hasNextFocus |
| GINGA_NAMESPACE_BEGIN MediaSettings::MediaSettings | ( | const string & | id | ) |
References Object::addAttributionEvent().
| MediaSettings::~MediaSettings | ( | ) |
|
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(), Formatter::obtainEvent(), and ParserState::pushProperty().
|
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().
|
inherited |
References Object::_events, Object::getSelectionEvent(), and Event::SELECTION.
Referenced by Formatter::obtainEvent(), and ParserState::popNcl().
|
protectedvirtualinherited |
References Object::_time.
Referenced by Switch::endTransition(), Media::endTransition(), and Context::endTransition().
|
overrideprotectedvirtualinherited |
Reimplemented from Object.
References Media::_player, Object::doStop(), Player::getState(), GINGA_NAMESPACE_END, Player::SLEEPING, and Player::stop().
Referenced by Media::endTransition(), and Media::~Media().
|
overridevirtualinherited |
Implements Object.
References Object::_doc, Object::_events, Media::_player, Object::_time, Object::addDelayedAction(), Event::ATTRIBUTION, Object::doStart(), Media::doStop(), Document::evalAction(), Document::evalPropertyRef(), g_assert(), g_assert_nonnull(), Event::getFullId(), Event::getId(), Event::getInterval(), Event::getParameter(), Event::getType(), GINGA_TIME_ARGS, GINGA_TIME_FORMAT, Event::isLambda(), Object::isOccurring(), parse_time(), Event::PRESENTATION, Event::SELECTION, Media::setProperty(), 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 updateCurrentFocus().
|
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 Switch::startTransition().
|
overridevirtual |
Reimplemented from Media.
|
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().
|
overridevirtual |
Reimplemented from Media.
|
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().
|
overridevirtual |
Reimplemented from Media.
|
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().
|
overridevirtual |
Reimplemented from Media.
| void MediaSettings::scheduleFocusUpdate | ( | const string & | next | ) |
References _hasNextFocus, _nextFocus, and GINGA_NAMESPACE_END.
Referenced by Media::sendKeyEvent().
|
overridevirtualinherited |
Reimplemented from Object.
References Object::_doc, Object::_events, Media::_player, Document::evalAction(), g_assert_nonnull(), Player::getProperty(), Document::getSettings(), Player::isFocused(), scheduleFocusUpdate(), Event::SELECTION, Player::sendKeyEvent(), Event::START, Event::STOP, TRACE, and xstrhasprefix().
Reimplemented from Media.
References _hasNextFocus, _nextFocus, Media::sendTickEvent(), and updateCurrentFocus().
|
inherited |
References Object::_udata, and UserData::setData().
|
overridevirtual |
Reimplemented from Media.
References Player::setCurrentFocus(), and Media::setProperty().
Referenced by Formatter::start().
|
overridevirtualinherited |
Implements Object.
References Object::_doc, Object::_id, Media::_mime, Media::_player, Object::_properties, Media::_uri, Event::ATTRIBUTION, Player::createPlayer(), g_assert(), Document::getData(), Event::getType(), Event::isLambda(), Object::isOccurring(), Event::PRESENTATION, Event::SELECTION, Player::setProperty(), Event::START, Player::start(), Event::STOP, and unlikely.
|
overridevirtualinherited |
Reimplemented from Object.
References Media::_mime, Media::_player, Media::_uri, Object::toString(), and xstrbuild().
| void MediaSettings::updateCurrentFocus | ( | const string & | index | ) |
References Object::_doc, Document::evalAction(), g_assert_nonnull(), Object::getAttributionEvent(), Document::getMedias(), Event::START, and Event::STOP.
Referenced by sendTickEvent(), and Formatter::start().
|
protectedinherited |
Referenced by Object::addAlias(), Object::getAliases(), Object::hasAlias(), and Object::toString().
Referenced by Object::addDelayedAction(), Object::doStop(), Object::getDelayedActions(), and Object::sendTickEvent().
|
protectedinherited |
Referenced by Composition::addChild(), Switch::endTransition(), Media::endTransition(), Context::endTransition(), Object::getDocument(), Object::initDocument(), Object::Object(), Media::sendKeyEvent(), Media::sendTickEvent(), Object::sendTickEvent(), Switch::startTransition(), Media::startTransition(), and updateCurrentFocus().
|
protectedinherited |
|
private |
Referenced by scheduleFocusUpdate(), and sendTickEvent().
|
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 Media::Media(), Media::startTransition(), and Media::toString().
|
private |
Referenced by scheduleFocusUpdate(), and sendTickEvent().
|
protectedinherited |
Referenced by Object::getParent(), Object::initParent(), Object::Object(), and Object::toString().
|
protectedinherited |
|
protectedinherited |
Referenced by Object::getProperty(), Object::setProperty(), Media::startTransition(), and Object::toString().
|
protectedinherited |
|
protectedinherited |
Referenced by Object::getData(), and Object::setData().
|
protectedinherited |
Referenced by Media::Media(), Media::startTransition(), and Media::toString().