![]() |
MAK Data Logger API Documentation for HLA
|
The media pipeline build class stores pipeline configurations by media type and constructs gstreamer pipelines from them. More...
Collaboration diagram for MAKLogger::DtLgrMediaPipelineBuilder:Public Member Functions | |
| virtual | ~DtLgrMediaPipelineBuilder () |
| DTOR. More... | |
| virtual void | addConfiguration (const DtString &pipelineConfiguration, bool makeDefault=false) |
| Add a media type configuration from a serialized string. More... | |
| virtual const DtString & | defaultType () const |
| Return the default media type. More... | |
| virtual const DtString & | defaultConfiguration () const |
| Return the default media configuration. More... | |
| virtual const DtString & | defaultExtension () const |
| Return the default media type file extension. More... | |
| virtual void | setDefaultType (const DtString &mediaType) |
| Set the given media type as the default configuration and extension. More... | |
| virtual DtString & | mediaFileFilter () const |
| Return the media file selection filter. More... | |
| virtual const DtString & | mediaType (const DtString &fileExtension) const |
| Get the media type associated with the given extension. More... | |
| virtual const DtString & | mediaExtension (const DtString &mediaType=DtString::nullString()) const |
| Get the media extension associated with the given type If type is null, return extension for default type. More... | |
| virtual const DtString & | mediaConfiguration (const DtString &mediaType=DtString::nullString()) const |
| Get the media configuration associated with the given type If type is null, return configuration for default type. More... | |
| virtual bool | findMediaFile (const DtString &tapeFileName, DtString &mediaFileName, DtString &mediaType) |
| Find a matching media file for the given tape file name. More... | |
| virtual void | resetPipeline () |
| Reset the pipeline to null string. More... | |
| virtual const DtString & | constructRecordPipeline (const DtFilename &mediaFileName, int port) |
| Construct a record pipeline from the current configuration and the given media file and port Return the constructed pipeline. More... | |
| virtual const DtString & | constructWindowPipeline (const DtFilename &mediaFileName) |
| Construct a play in window pipeline from the current configuration and the given media file Return the constructed pipeline. More... | |
| virtual const DtString & | constructStreamPipeline (const DtString &destinationAddress, int port) |
| Construct a play to stream pipeline from the current configuration and the destination address string and port Return the constructed pipeline. More... | |
| virtual const DtString & | pipeline () |
| Return the constructed pipeline. More... | |
Static Public Member Functions | |
| static DtString & | serializeStreamConfiguration (DtString &serializedConfiguration, const DtString &mediaType, const std::vector< DtString > &mediaExtensions, const DtString &pipelineConfiguration) |
| Serialize a media type configuration into the given string. More... | |
| static void | deserializeStreamConfiguration (const DtString &serializedConfiguration, DtString &mediaType, std::vector< DtString > &mediaExtensions, DtString &pipelineConfiguration) |
| Deserialize a media type configuration. More... | |
| static void | setMediaWindowHandle (void *windowHandle) |
| Set/Get the media window handle. More... | |
| static void * | mediaWindowHandle () |
| Set/Get the media window handle. More... | |
Protected Member Functions | |
| virtual const DtString & | constructPipeline (const DtString &textPart, int port) |
| Construct a pipeline from the current configuration and string (file name/host name) and integer (port) Return the constructed pipeline. More... | |
Protected Attributes | |
| std::map< DtString, std::vector< DtString > > | myMediaTypeToExtMap |
| Map between media file extension and type for playback. More... | |
| std::map< DtString, DtString > | myMediaTypeToDefaultExtMap |
| std::map< DtString, DtString > | myMediaExtToTypeMap |
| std::map< DtString, DtString > | myMediaTypeToConfigMap |
| DtString | myPipeline |
| DtString | myMediaFileFilter |
| DtString | myMediaType |
| DtString | myMediaExtension |
| DtString | myMediaConfiguration |
The media pipeline build class stores pipeline configurations by media type and constructs gstreamer pipelines from them.
|
virtual |
DTOR.
|
virtual |
Add a media type configuration from a serialized string.
|
protectedvirtual |
Construct a pipeline from the current configuration and string (file name/host name) and integer (port) Return the constructed pipeline.
|
virtual |
Construct a record pipeline from the current configuration and the given media file and port Return the constructed pipeline.
|
virtual |
Construct a play to stream pipeline from the current configuration and the destination address string and port Return the constructed pipeline.
|
virtual |
Construct a play in window pipeline from the current configuration and the given media file Return the constructed pipeline.
|
virtual |
Return the default media configuration.
|
virtual |
Return the default media type file extension.
|
virtual |
Return the default media type.
|
static |
Deserialize a media type configuration.
|
virtual |
Find a matching media file for the given tape file name.
|
virtual |
Get the media configuration associated with the given type If type is null, return configuration for default type.
|
virtual |
Get the media extension associated with the given type If type is null, return extension for default type.
|
virtual |
Return the media file selection filter.
|
virtual |
Get the media type associated with the given extension.
|
static |
Set/Get the media window handle.
|
virtual |
Return the constructed pipeline.
|
virtual |
Reset the pipeline to null string.
|
static |
Serialize a media type configuration into the given string.
Return a reference to the given string.
|
virtual |
Set the given media type as the default configuration and extension.
|
static |
Set/Get the media window handle.
|
protected |
|
protected |
|
mutableprotected |
|
protected |
|
protected |
|
protected |
Map between media file extension and type for playback.
|
protected |