ADTF  3.18.2
adtf::services::bat Namespace Reference

Namespace for all service interfaces provided since v3.1. More...

Classes

class  IPlayer
 ADTF Playback Service Control interface to control the ADTF Player. More...
 
class  IRecorder
 ADTFDAT File Recorder Service Control interface to control the ADTFDAT File Recorder. More...
 
class  IRecordingFile
 Interface for manipulating recording files. More...
 
class  IRecordingSignal
 
class  ISampleStreamTracer
 Interface for listening to sample stream traces that are available via the sample stream trace provider. More...
 
class  IRPCObjectServerRegistry
 

Functions

tResult get_player (ucom::object_ptr< IPlayer > &pPlayer)
 Gets the current registered player instance. More...
 

Detailed Description

Namespace for all service interfaces provided since v3.1.

Function Documentation

◆ get_player()

tResult adtf::services::bat::get_player ( ucom::object_ptr< IPlayer > &  pPlayer)
inline

Gets the current registered player instance.

Return values
ERR_NOERRORSucceeded.
ERR_NOTFOUNDNo object found with IPlayer interface. Make sure the Playback Service is registered.

Definition at line 285 of file player_intf.h.

References _runtime, and IRuntime::GetObject().