ifw-odp 5.0.0
|
This class handle the errors produced by the calling of image processing routines. More...
#include <error.hpp>
Public Member Functions | |
Error () | |
Class constructor. | |
virtual | ~Error () |
Class destructor. | |
void | ResetCplError () |
Reset CPL error and internal error flag. | |
bool | CheckCplError () const |
Check if there is an error in CPL. | |
Protected Member Functions | |
std::string | GetErrorMsg () const |
Get CPL error message. | |
This class handle the errors produced by the calling of image processing routines.
Error - class that handles CPL errors.
Each CPL error will trigger a standard C++ runtime exception.
This class should be used as parent for classes where there will be an interface with CPL routines. This class also takes care of initializing and cleaning up CPL calling the corresponding CPL functions.
|
explicit |
Class constructor.
Initialize CPL core library. This is done only for the creation of the first object of this type.
|
virtual |
Class destructor.
Stop internal CPL subsystems for the last object destroyed.
bool ifw::odp::Error::CheckCplError | ( | ) | const |
Check if there is an error in CPL.
|
protected |
Get CPL error message.
void ifw::odp::Error::ResetCplError | ( | ) |
Reset CPL error and internal error flag.