MayaFlux 0.3.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ create_container()

template<typename ContainerType , typename... Args>
requires std::derived_from<ContainerType, Kakshya::SignalSourceContainer>
auto MayaFlux::create_container ( Args &&...  args) -> std::shared_ptr<ContainerType>

creates a new container of the specified type

Template Parameters
ContainerTypeType of container to create (must be derived from SignalSourceContainer)
ArgsConstructor argument types
Parameters
argsConstructor arguments for the container
Returns
Shared pointer to the created container

Definition at line 41 of file Depot.hpp.

42{
43 return std::make_shared<ContainerType>(std::forward<Args>(args)...);
44}

Referenced by MayaFlux::IO::CameraReader::operator=().

+ Here is the caller graph for this function: