The IPlayable property interface. More...

#include "murl_graph_i_playable.h"

Inheritance diagram for Murl::Graph::IPlayable:

Public Member Functions

virtual Bool SetEndlessLoopEnabled (Bool enabled)=0
 Enable/disable endless looping. More...
 
virtual Bool IsEndlessLoopEnabled () const =0
 Check if endless looping is enabled. More...
 
virtual Bool SetTimelineStallingEnabled (Bool enabled)=0
 Enable/disable timeline stalling. More...
 
virtual Bool IsTimelineStallingEnabled () const =0
 Check if timeline stalling is enabled. More...
 
virtual Double GetTotalDuration () const =0
 Get the total duration of the playable. More...
 

Detailed Description

The IPlayable property interface.

This interface provides basic properties of a "playable" object, e.g. an audio or video sequence.

Member Function Documentation

◆ SetEndlessLoopEnabled()

virtual Bool Murl::Graph::IPlayable::SetEndlessLoopEnabled ( Bool  enabled)
pure virtual

Enable/disable endless looping.

If set to true, the playable keeps looping through its source objects even when the timeline's actual time value is beyond the end of the sequence duration.

Parameters
enabledIf true, endless looping is enabled.
Returns
true if successful.

◆ IsEndlessLoopEnabled()

virtual Bool Murl::Graph::IPlayable::IsEndlessLoopEnabled ( ) const
pure virtual

Check if endless looping is enabled.

Returns
true if endless looping is enabled.

Referenced by Murl::Logic::GraphSoundObject::StartPlaying().

◆ SetTimelineStallingEnabled()

virtual Bool Murl::Graph::IPlayable::SetTimelineStallingEnabled ( Bool  enabled)
pure virtual

Enable/disable timeline stalling.

If set to true, the playable can stall the currently active timeline when e.g. there is no input data available or the decoding process lags behind. This is useful if other animations shall be synchronized to e.g. audio or video playback.

Parameters
enabledIf true, timeline stalling is enabled.
Returns
true if successful.

◆ IsTimelineStallingEnabled()

virtual Bool Murl::Graph::IPlayable::IsTimelineStallingEnabled ( ) const
pure virtual

Check if timeline stalling is enabled.

Returns
true if timeline stalling is enabled.

◆ GetTotalDuration()

virtual Double Murl::Graph::IPlayable::GetTotalDuration ( ) const
pure virtual

Get the total duration of the playable.

Returns
The total duration in seconds.

Referenced by Murl::Logic::GraphSoundObject::StartPlaying().


The documentation for this interface was generated from the following file:
  • murl_graph_i_playable.h


Copyright © 2011-2024 Spraylight GmbH.