Empirical
|
Fundamental information about a single image. More...
#include <RawImage.h>
Public Member Functions | |
RawImage (const std::string &url) | |
RawImage (const RawImage &)=default | |
~RawImage () | |
RawImage & | operator= (const RawImage &)=default |
int | GetID () const |
const std::string & | GetURL () const |
bool | HasLoaded () const |
bool | HasError () const |
void | OnLoad (const std::function< void()> &callback_fun) |
Add a new function to be called when the image finishes loading. More... | |
void | OnError (const std::function< void()> &callback_fun) |
Add a new function to be called if an image load has an error. More... | |
Fundamental information about a single image.
|
inline |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Add a new function to be called if an image load has an error.
|
inline |
Add a new function to be called when the image finishes loading.