Class template to register a provider type. More...
#include <provider_type_register.h>
Inheritance diagram for clan::ProviderType_Register< ProviderClass >:Public Member Functions | |
| ProviderType_Register (const std::string &type) | |
| Registers provider type in the ProviderFactory. | |
| virtual PixelBuffer | load (const std::string &filename, const FileSystem &fs, bool srgb) override |
| Called to load an image with this provider type. | |
| virtual PixelBuffer | load (IODevice &file, bool srgb) override |
| virtual void | save (PixelBuffer buffer, const std::string &filename, FileSystem &fs) override |
| Called to save a given PixelBuffer to a file. | |
| virtual void | save (PixelBuffer buffer, IODevice &file) override |
Public Member Functions inherited from clan::ImageProviderType | |
| ImageProviderType (const std::string &type) | |
| Registers a provider type in the ImageProviderFactory. | |
| virtual | ~ImageProviderType () |
| Unregisters a provider type in the ImageProviderFactory. | |
Class template to register a provider type.
|
inline |
Registers provider type in the ProviderFactory.
|
inlineoverridevirtual |
Called to load an image with this provider type.
Implements clan::ImageProviderType.
|
inlineoverridevirtual |
Implements clan::ImageProviderType.
|
inlineoverridevirtual |
Called to save a given PixelBuffer to a file.
Implements clan::ImageProviderType.
|
inlineoverridevirtual |
Implements clan::ImageProviderType.