ADTF
Loading...
Searching...
No Matches
adtf::remote::elasto::IPlayer Class Referenceabstract

More...

#include <adtf_remote_player_intf.h>

Inherits adtf::remote::bat::IPlayer.

Inherited by adtf::remote::quiet::IPlayer.

Public Member Functions

 ADTF_IID (IPlayer, "player.elasto.remote.adtf")
 
virtual tResult SetLoopMode (const adtf::services::elasto::IPlayer::tLoopMode &eLoopMode)=0
 
virtual adtf::services::elasto::IPlayer::tLoopMode GetLoopMode () const =0
 
virtual tResult SetPlaybackSpeed (float fPlaybackSpeed)=0
 
virtual float GetPlaybackSpeed () const =0
 
virtual tResult Step (uint64_t nSteps, const adtf::services::elasto::IPlayer::tStepDirection &eDirection, adtf::services::elasto::IPlayer::tStepItems eItems, bool bWait)=0
 
- Public Member Functions inherited from adtf::remote::bat::IPlayer
 ADTF_IID (IPlayer, "player.bat.remote.adtf")
 
virtual const char * GetMarkers () const =0
 
virtual tResult ExtractAttachedFiles (const char *strAdtfDatFileNames, const char *strDestinationDirectory)=0
 
- Public Member Functions inherited from adtf::remote::ant::IPlayer
 ADTF_IID (IPlayer, "player.ant.remote.adtf")
 
virtual tTimeStamp GetFirstTime () const =0
 
virtual tTimeStamp GetLastTime () const =0
 
virtual uint64_t GetChunkCount () const =0
 
virtual const char * GetCurrentFileNames () const =0
 
virtual tTimeStamp GetCurrentTime ()=0
 
virtual int8_t GetState () const =0
 
virtual tResult Play ()=0
 
virtual tResult Pause ()=0
 
virtual tResult SeekToTime (tTimeStamp tmTime)=0
 
virtual tResult SeekToChunkIndex (uint64_t ui64ChunkIndex)=0
 
virtual tResult Open (const char *strFileNames)=0
 
virtual tResult Close ()=0
 

Additional Inherited Members

- Static Public Attributes inherited from adtf::remote::ant::IPlayer
static constexpr const tChar *const DEFAULT_NAME = "player"
 The default name the player is registered to the adtf::services::ant::IRPCObjectServerRegistry.
 

Detailed Description

The Remote Player interface provides access to retrieve information about and control the current adtf::services::ant::IPlayer within a ADTF System instance.

See also
adtf::remote::ant::cADTFRemoteSystem, adtf::services::ant::IPlayer.

Member Function Documentation

◆ GetLoopMode()

virtual adtf::services::elasto::IPlayer::tLoopMode adtf::remote::elasto::IPlayer::GetLoopMode ( ) const
pure virtual

Retrieves the looping mode of the player. Throws if loop mode cannot be queried.

Returns
the current looping mode

◆ GetPlaybackSpeed()

virtual float adtf::remote::elasto::IPlayer::GetPlaybackSpeed ( ) const
pure virtual

Retrieves the current playback speed of the player. Throws if playback speed cannot be queried.

Returns
the current playback speed

◆ SetLoopMode()

virtual tResult adtf::remote::elasto::IPlayer::SetLoopMode ( const adtf::services::elasto::IPlayer::tLoopMode & eLoopMode)
pure virtual

Sets the looping mode of the player. Throws if changing loop cannot be done.

Parameters
[in]eLoopModethe loop mode to be set

◆ SetPlaybackSpeed()

virtual tResult adtf::remote::elasto::IPlayer::SetPlaybackSpeed ( float fPlaybackSpeed)
pure virtual

Sets the playback speed of the player. Throws if changing playback speed cannot be done.

Parameters
[in]fPlaybackSpeedthe playback speed to be set

◆ Step()

virtual tResult adtf::remote::elasto::IPlayer::Step ( uint64_t nSteps,
const adtf::services::elasto::IPlayer::tStepDirection & eDirection,
adtf::services::elasto::IPlayer::tStepItems eItems,
bool bWait )
pure virtual

Steps n samples in given direction.

Parameters
[in]nStepsThe number of steps to be done.
[in]eDirectionThe direction to step to.
[in]eItemsThe items to consider.
[in]bWaitWhether to block until the operation has finished or not.

The documentation for this class was generated from the following file: