Provider type. More...
#include <provider_type.h>
Inheritance diagram for clan::ImageProviderType:Public Member Functions | |
| ImageProviderType (const std::string &type) | |
| Registers a provider type in the ImageProviderFactory. | |
| virtual | ~ImageProviderType () |
| Unregisters a provider type in the ImageProviderFactory. | |
| virtual PixelBuffer | load (const std::string &filename, const FileSystem &fs, bool srgb)=0 |
| Called to load an image with this provider type. | |
| virtual PixelBuffer | load (IODevice &file, bool srgb)=0 |
| virtual void | save (PixelBuffer buffer, const std::string &filename, FileSystem &fs)=0 |
| Called to save a given PixelBuffer to a file. | |
| virtual void | save (PixelBuffer buffer, IODevice &file)=0 |
Provider type.
| clan::ImageProviderType::ImageProviderType | ( | const std::string & | type | ) |
Registers a provider type in the ImageProviderFactory.
|
virtual |
Unregisters a provider type in the ImageProviderFactory.
|
pure virtual |
Called to load an image with this provider type.
Implemented in clan::ProviderType_Register< ProviderClass >.
|
pure virtual |
Implemented in clan::ProviderType_Register< ProviderClass >.
|
pure virtual |
Called to save a given PixelBuffer to a file.
Implemented in clan::ProviderType_Register< ProviderClass >.
|
pure virtual |
Implemented in clan::ProviderType_Register< ProviderClass >.