Common destination-stream identity. More...
#include <StormByte/multimedia/pipeline/config/base.hxx>


Public Member Functions | |
Lifecycle | |
| Base (const Base &other) | |
| Copy constructor. | |
| Base (Base &&other) noexcept | |
| Move constructor. | |
| virtual | ~Base () noexcept override |
| Destructor. | |
| Base & | operator= (const Base &other) |
| Copy assignment. | |
| Base & | operator= (Base &&other) noexcept |
| Move assignment. | |
Identity | |
| constexpr enum StormByte::Multimedia::Type | Type () const noexcept |
| Media stamped by the leaf constructor. | |
Tags | |
| const StormByte::Safe::Optional< StormByte::Safe::String > & | Language () const noexcept |
| Language override. | |
| void | Language (StormByte::Safe::String language) |
| Sets the language override. | |
| void | RemoveLanguage () |
| Writes the track without a language tag, even if the source has one. | |
| const StormByte::Safe::Optional< StormByte::Safe::String > & | Title () const noexcept |
| Title override. | |
| void | Title (StormByte::Safe::String title) |
| Sets the title override. | |
| void | RemoveTitle () |
| Writes the track without a title, even if the source has one. | |
| const StormByte::Safe::Optional< bool > & | Default () const noexcept |
| Default-disposition override. | |
| void | Default (StormByte::Safe::Optional< bool > value) noexcept |
| Sets or clears the default-disposition override. | |
| const StormByte::Safe::Optional< bool > & | Forced () const noexcept |
| Forced-disposition override. | |
| void | Forced (StormByte::Safe::Optional< bool > value) noexcept |
| Sets or clears the forced-disposition override. | |
Implementation | |
| const struct Implementation & | Implementation () const noexcept |
| Decoder / encoder pins. | |
| void | Implementation (struct Implementation implementation) noexcept |
| Replaces both pins. | |
| Public Member Functions inherited from StormByte::Safe::Clonable< Base, StormByte::Safe::Unique< Base > > | |
| constexpr | Clonable ()=default |
| constexpr Clonable & | operator= (const Clonable &)=default |
| virtual constexpr | ~Clonable () noexcept=default |
| virtual PointerType | Clone () const =0 |
| virtual PointerType | Move ()=0 |
Protected Member Functions | |
| Base (enum StormByte::Multimedia::Type type) | |
| Empty overrides; media fixed for the leaf lifetime. | |
Additional Inherited Members | |
| Public Types inherited from StormByte::Safe::Clonable< Base, StormByte::Safe::Unique< Base > > | |
| typedef SmartPointer | PointerType |
| Static Public Member Functions inherited from StormByte::Safe::Clonable< Base, StormByte::Safe::Unique< Base > > | |
| static PointerType | MakePointer (Args &&... args) |
Common destination-stream identity.
Polymorphic store root (StormByte::Safe::Clonable with StormByte::Safe::Unique). Holds tags and implementation pins that apply to every media StormByte::Multimedia::Type used in a Plan slot. Type is stored at construction; it is not virtual. Oficio knobs live on the leaves.
A null destination codec on a leaf means Remux. Boundary use requires compatible C++ ABI and a loaded provider module. Derived classes must provide boundary-safe fields and creator-module lifetime operations, Clone and Move; this interface does not certify them.
| StormByte::Multimedia::Pipeline::Config::Base::Base | ( | const Base & | other | ) |
Copy constructor.
| other | Source config. |
|
noexcept |
Move constructor.
| other | Config to take. |
|
overridevirtualnoexcept |
Destructor.
|
explicitprotected |
Empty overrides; media fixed for the leaf lifetime.
| type | StormByte::Multimedia::Type of the derived class. |
|
inlinenoexcept |
Default-disposition override.
|
inlinenoexcept |
Sets or clears the default-disposition override.
| value | true / false to stamp, empty to inherit. |
|
inlinenoexcept |
Forced-disposition override.
|
inlinenoexcept |
Sets or clears the forced-disposition override.
| value | true / false to stamp, empty to inherit. |
|
inlinenoexcept |
|
inlinenoexcept |
Replaces both pins.
| implementation | Decoder / encoder names. Empty sides = default. |
|
inlinenoexcept |
Language override.
| void StormByte::Multimedia::Pipeline::Config::Base::Language | ( | StormByte::Safe::String | language | ) |
Sets the language override.
| language | ISO tag. Empty clears the override. |
Copy assignment.
| other | Source config. |
| void StormByte::Multimedia::Pipeline::Config::Base::RemoveLanguage | ( | ) |
Writes the track without a language tag, even if the source has one.
Containers with a mandatory language field write their own undefined value.
| void StormByte::Multimedia::Pipeline::Config::Base::RemoveTitle | ( | ) |
Writes the track without a title, even if the source has one.
|
inlinenoexcept |
Title override.
| void StormByte::Multimedia::Pipeline::Config::Base::Title | ( | StormByte::Safe::String | title | ) |
Sets the title override.
| title | Title. Empty clears the override. |
|
inlineconstexprnoexcept |
Media stamped by the leaf constructor.