Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
lumiera::anonymous_namespace{instancehandle.hpp} Namespace Reference

Functions

void throwIfError ()
 
LumieraInterface register_and_open (LumieraInterface descriptor)
 takes a (single) instance definitions, as typically created when defining interfaces for external use, and registers it with the InterfaceSystem.
 
bool verify_validity (LumieraInterface ifa)
 do a lookup within the interfaceregistry using the name/version found within the interface handle, to ensure it is still valid and registered
 

Function Documentation

◆ throwIfError()

void throwIfError ( )
inline

Definition at line 60 of file instancehandle.hpp.

References lumiera_error(), lumiera_error_peek(), and throwIfError().

Referenced by register_and_open(), and throwIfError().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ register_and_open()

LumieraInterface register_and_open ( LumieraInterface  descriptor)
inline

takes a (single) instance definitions, as typically created when defining interfaces for external use, and registers it with the InterfaceSystem.

Then uses the data found in the given instance descriptor to open an instance handle.

Exceptions
error::Configwhen the registration process fails

Definition at line 73 of file instancehandle.hpp.

References lumiera_interface_open(), lumiera_interfaceregistry_register_interface(), NULL, register_and_open(), and throwIfError().

Referenced by register_and_open().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ verify_validity()

bool verify_validity ( LumieraInterface  ifa)
inline

do a lookup within the interfaceregistry using the name/version found within the interface handle, to ensure it is still valid and registered

Definition at line 88 of file instancehandle.hpp.

References lumiera_interfaceregistry_interface_find(), and verify_validity().

Referenced by verify_validity().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: