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