Raytrix Light Field SDK
5.0
|
Provides methods for authenticating with the Light Field Runtime and for querying LFR parameters.
Inherits Rx::LFR::CPimpl< CLightFieldRuntime_Impl, Interfaces::ELightFieldRuntime::ID >.
Public Member Functions | |
CLightFieldRuntime_Impl & | GetImpl () |
Gets the non constant implementation. More... | |
const CLightFieldRuntime_Impl & | GetImpl () const |
Gets the constant implementation. More... | |
const void * | GetInterface (Interfaces::ELightFieldRuntime::ID eInterface) const |
Gets the interface defined by the given interface ID. More... | |
bool | HasInterface (Interfaces::ELightFieldRuntime::ID eInterface) |
Queries if this object has the given interface. More... | |
Static Public Member Functions | |
static void | Authenticate (void *pvData=nullptr) |
Authenticates the attached USB dongle with the Light Field Runtime. More... | |
static void | Decode (unsigned &uOutKey1, unsigned &uOutKey2, unsigned uInKey1, unsigned uInKey2) |
Decodes both given input keys into the given output keys using the USB dongle. More... | |
static void | End () |
Finalizes the Light Field Runtime. Frees the memory used by this class. Finalizes also the Cuda device but does not finalize other classes. More... | |
static void | GetApplicationDetails (CRxString &sxAppName, CRxString &sxAppVersion) |
Gets application details. More... | |
static void | GetDongleIDs (int &iDongleID, int &iRaytrixID) |
Get the IDs of the attached dongle. More... | |
static void * | GetInterface (Interfaces::ELightFieldRuntime::ID eData) |
Gets the interface defined by ELightFieldRuntimeInterface. More... | |
static void | GetReleaseDate (int &iDay, int &iMonth, int &iYear) |
Gets the release date of this Light Field Runtime. Does not need to be authenticated to get the release date. More... | |
static bool | IsAuthenticated () |
Queries if a USB dongle is authenticated with the Light Field Runtime. More... | |
static bool | IsFeatureSupported (Dongle::ERuntimeFeature::ID eFeatureID) |
Queries if the given feature is supported by your dongle. Returns always false if called before Authenticate. More... | |
static bool | IsFeatureSupported (unsigned uFeatureIDs) |
Queries if the given features are supported by your dongle. Returns always false if called before Authenticate. More... | |
static void | SetApplicationDetails (const CRxString &sxAppName, const CRxString &sxAppVersion) |
Sets application details. More... | |
|
static |
Authenticates the attached USB dongle with the Light Field Runtime.
An exception is thrown in the following cases:
pvData | [in] (Optional) Pointer to internal data. The passed pointer is stored in this class and must be available for the lifetime of this class and is deleted by calling End. Should be null. |
|
static |
Decodes both given input keys into the given output keys using the USB dongle.
uOutKey1 | [out] The first output key. |
uOutKey2 | [out] The second output key. |
uInKey1 | [in] The first input key. |
uInKey2 | [in] The second input key. |
|
static |
Finalizes the Light Field Runtime. Frees the memory used by this class. Finalizes also the Cuda device but does not finalize other classes.
This function is NOT called automatically. You have to call this method at the end of your application.
|
static |
Gets application details.
sxAppName | [out] Name of the application. |
sxAppVersion | [out] The application version. |
|
static |
Get the IDs of the attached dongle.
iDongleID | [Out] The hardware dongle ID. |
iRaytrixID | [Out] The Raytrix dongle ID. |
|
inlineinherited |
Gets the non constant implementation.
|
inlineinherited |
Gets the constant implementation.
|
static |
Gets the interface defined by ELightFieldRuntimeInterface.
eData | [in] The interface type. |
|
inherited |
Gets the interface defined by the given interface ID.
eInterface | [in] The interface ID. |
|
static |
Gets the release date of this Light Field Runtime. Does not need to be authenticated to get the release date.
iDay | [out] The release day. |
iMonth | [out] The release month. |
iYear | [out] The release year. |
|
inlineinherited |
Queries if this object has the given interface.
eInterface | [in] The interface to query. |
|
static |
Queries if a USB dongle is authenticated with the Light Field Runtime.
|
static |
Queries if the given feature is supported by your dongle. Returns always false if called before Authenticate.
eFeatureID | [in] The feature ID to query. |
|
static |
Queries if the given features are supported by your dongle. Returns always false if called before Authenticate.
uFeatureIDs | [in] A OR-ed list of Dongle::ERuntimeFeature::ID to query. |