ADTF
|
Namespace for all service interfaces provided since v3.0. More...
Classes | |
class | IApplication |
The IApplication interface wraps a generic processing loop. More... | |
class | ILogging |
Interface for the ADTF Logging Service. More... | |
class | IMacroResolver |
The IMacroResolver interface provides methods for resolving macros in strings. More... | |
class | IPlayer |
ADTF Playback Service Control interface to control the ADTF Player. More... | |
class | cPlayerStreams |
Helper class that stores all streams from a 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 | ISignalListening |
Interface for listening to signals that are available via the signal regsitry. More... | |
class | ISignalRegistry |
Interface for asynchronous signal transmission. More... | |
class | IReferenceClock |
The IReferenceClock interface provides the reference time source for the filter graph. More... | |
class | IMediaDescriptionService |
Interface for the ADTF media description service. More... | |
class | IRPCObjectServerRegistry |
The Object Server Registry is a single instance to create a single adress entry for RPC Server Objects. More... | |
class | IKernel |
Kernel interface for thread, timer and signal handling. More... | |
class | IMemoryAllocator |
Interface for allocation and releasing of memory. More... | |
class | ISession |
Main interface for a Session. More... | |
class | ISessionManager |
Session Manager interface defines a System Core Object. More... | |
Functions | |
adtf::util::cString | adtf_resolve_macros (const char *strString) |
Resolves the macro within a string and returns the result. More... | |
void | adtf_register_macro (const char *strMacro, const char *strMacroString) |
Registers a macro within the IMacroResolver. More... | |
tResult | get_player (ucom::object_ptr< IPlayer > &pPlayer) |
Gets the current registered player instance. More... | |
template<typename RecorderInterface = IRecorder> | |
tResult | get_recorders (adtf::ucom::object_list< RecorderInterface > &lstRecorders) |
Gets the all registered recorder instances. More... | |
template<typename RecorderInterface = IRecorder> | |
tResult | get_recorder (adtf::ucom::ant::object_ptr< RecorderInterface > &pRecorder) |
Gets the current registered recorder instance. More... | |
tResult | get_session (ucom::ant::iobject_ptr< ISession > &pCurrentSession) |
Retrieves the current ISession from ISessionManager. More... | |
tResult | get_session_filter_graph (ucom::ant::iobject_ptr< adtf::streaming::IFilterGraph > &pCurrentFilterGraph) |
Retrieves the current adtf::streaming::ant::IFilterGraph from ISessionManager. More... | |
tResult | get_session_streaming_graph (ucom::ant::iobject_ptr< adtf::streaming::IStreamingGraph > &pCurrentStreamingGraph) |
Retrieves the current adtf::streaming::ant::IStreamingGraph from ISessionManager. More... | |
tResult | create_empty_session () |
Creates an empty session. More... | |
Namespace for all service interfaces provided since v3.0.
|
inline |
Registers a macro within the IMacroResolver.
It will try to register a macro using the single IMacroResolver registered within runtime. If IMacroResolver is not present the adtf_util::cSystem::SetEnvVariable
is used.
[in] | strMacro | MacroName (NULL-terminated!) |
[in] | strMacroString | Macro string to reset if macro is used (NULL-terminated!) |
Definition at line 175 of file macroresolver_intf.h.
References _runtime, and IRuntime::GetObject().
|
inline |
Resolves the macro within a string and returns the result.
It will try to resolve a macro by using the single IMacroResolver registered within runtime. If IMacroResolver is not present the adtf_util::cMacroResolver is used.
[in] | strString | The string with macros to resolve (NULL-terminated!) |
Definition at line 145 of file macroresolver_intf.h.
References _runtime, adtf_string_intf, and IRuntime::GetObject().
tResult adtf::services::ant::create_empty_session | ( | ) |
Creates an empty session.
ERR_INVALID_STATE | This function can only be calles while runlevel is adtf::base::tADTFRunLevel::RL_Shutdown. |
|
inline |
Gets the current registered player instance.
ERR_NOERROR | Succeeded. |
ERR_NOTFOUND | No object found with IPlayer interface. Make sure the Playback Service is registered. |
Definition at line 228 of file player_intf.h.
References _runtime, and IRuntime::GetObject().
|
inline |
Gets the current registered recorder instance.
ERR_NOERROR | Succeeded. |
ERR_NOTFOUND | No object found with IRecorder interface. Make sure the ADTFDAT File Recorder is registered. |
Definition at line 166 of file recorder_intf.h.
References get_recorders(), object_ptr< T >::Reset(), RETURN_ERROR_DESC, and RETURN_IF_FAILED.
|
inline |
Gets the all registered recorder instances.
ERR_NOERROR | Succeeded. |
ERR_NOTFOUND | No object found with IRecorder interface. Make sure the ADTFDAT File Recorder is registered. |
Definition at line 132 of file recorder_intf.h.
References adtf::streaming::ant::get_filter_graph_objects(), get_session(), adtf::streaming::ant::get_streaming_graph_objects(), IS_OK, RETURN_IF_FAILED, and RETURN_NOERROR.
Referenced by get_recorder().
tResult adtf::services::ant::get_session | ( | ucom::ant::iobject_ptr< ISession > & | pCurrentSession | ) |
Retrieves the current ISession from ISessionManager.
[in,out] | pCurrentSession | return value of the current session. |
ERR_NOT_FOUND | No session manager found. |
ERR_NOT_INITIALIZED | No Session initialized. |
Referenced by get_recorders().
tResult adtf::services::ant::get_session_filter_graph | ( | ucom::ant::iobject_ptr< adtf::streaming::IFilterGraph > & | pCurrentFilterGraph | ) |
Retrieves the current adtf::streaming::ant::IFilterGraph from ISessionManager.
[in,out] | pCurrentFilterGraph | return value of the current Filter Graph. |
ERR_NOT_FOUND | No session manager found. |
ERR_NOT_INITIALIZED | No Session initialized, No Filter Graph initialized. |
tResult adtf::services::ant::get_session_streaming_graph | ( | ucom::ant::iobject_ptr< adtf::streaming::IStreamingGraph > & | pCurrentStreamingGraph | ) |
Retrieves the current adtf::streaming::ant::IStreamingGraph from ISessionManager.
[in,out] | pCurrentStreamingGraph | return value of the current Streaming Graph. |
ERR_NOT_FOUND | No session manager found. |
ERR_NOT_INITIALIZED | No Session initialized, No Streaming Graph initialized. |