libpromeki main
PROfessional MEdia toolKIt
 
Loading...
Searching...
No Matches
fileformatfactory.h File Reference
Include dependency graph for fileformatfactory.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FileFormatFactory< Product >
 Generic factory template for file-format-specific product creation. More...
 
struct  FileFormatFactory< Product >::Context
 Context passed to factory methods for lookup and creation. More...
 

Macros

#define PROMEKI_REGISTER_FILE_FORMAT_FACTORY(product, name)
 Registers a FileFormatFactory subclass at static initialization time.
 

Detailed Description

See LICENSE file in the project root folder for license information.

Macro Definition Documentation

◆ PROMEKI_REGISTER_FILE_FORMAT_FACTORY

#define PROMEKI_REGISTER_FILE_FORMAT_FACTORY (   product,
  name 
)
Value:
[[maybe_unused]] static int \
PROMEKI_CONCAT(__promeki_fff_, PROMEKI_UNIQUE_ID) = \
Dynamic array container wrapping std::vector.
Definition list.h:40

Registers a FileFormatFactory subclass at static initialization time.

Parameters
productThe product type (e.g. AudioFile).
nameThe factory subclass to instantiate and register.