Go to the source code of this file.
Classes | |
class | DspBaseObject |
Enumerations | |
enum | LoadingErrorCode { LoadingSuccessful = 0, Uninitialised, MissingLibrary, NoValidLibrary, NoVersionMatch, KeyInvalid } |
|
strong |
This status codes will be returned by the initialise method.
It allows better error management. If you the creation should fail, return the specific error code and set the handle to a nullptr
Enumerator | |
---|---|
LoadingSuccessful |
Everything went OK. |
Uninitialised |
something went wrong during initialisation |
MissingLibrary |
the library could not be found in the library folder. |
NoValidLibrary |
The library seems to be missing a initialise() method with the correct signature. |
NoVersionMatch |
The version does not match. This error code will be never thrown automatically, but it is there to communicate the problem back to the Script Engine. |
KeyInvalid |
The licence key that was passed to the initialise() method didn't match the one of the library. |