7#ifndef MI_NEURAYLIB_INEURAY_H
8#define MI_NEURAYLIB_INEURAY_H
13#if defined(_XLIB_H_) || defined(_X11_XLIB_H_)
43 mi::base::Interface_declare<0x34b6a7c3,0xf040,0x43ec,0x9b,0x7c,0xc1,0x36,0x2f,0xe7,0x0a,0xaa>
106 FORCE_32_BIT = 0xffffffffU
166 if ( !ptr_iinterface)
168 T* ptr_T =
static_cast<T*
>( ptr_iinterface->
get_interface(
typename T::IID()));
246#if defined(_XLIB_H_) || defined(_X11_XLIB_H_)
The basic extensible interface.
Definition: iinterface.h:103
Mixin class template for deriving new interface declarations.
Definition: interface_declare.h:43
This is an object representing the DiCE library.
Definition: ineuray.h:44
virtual Sint32 shutdown(bool blocking=true)=0
Shuts down the library.
Sint32 unregister_api_component()
Unregisters an API component with the DiCE API.
Definition: ineuray.h:231
T * get_api_component() const
Returns an API component from the DiCE API.
Definition: ineuray.h:163
virtual Uint32 get_interface_version() const =0
Returns the interface version of the DiCE library.
virtual base::IInterface * get_api_component(const base::Uuid &uuid) const =0
Returns an API component from the DiCE API.
virtual Sint32 unregister_api_component(const base::Uuid &uuid)=0
Unregisters an API component with the DiCE API.
Sint32 register_api_component(T *api_component)
Registers an API component with the DiCE API.
Definition: ineuray.h:204
virtual Sint32 register_api_component(const base::Uuid &uuid, base::IInterface *api_component)=0
Registers an API component with the DiCE API.
virtual Status get_status() const =0
Returns the status of the library.
Status
The operational status of the library or additional clusters .
Definition: ineuray.h:92
@ SHUTTINGDOWN
The library or the cluster is shutting down.
Definition: ineuray.h:100
@ STARTING
The library or the cluster is starting.
Definition: ineuray.h:96
@ STARTED
The library or the cluster is ready for operation.
Definition: ineuray.h:98
@ SHUTDOWN
The library or the cluster has been shut down.
Definition: ineuray.h:102
@ PRE_STARTING
The library or the cluster has not yet been started.
Definition: ineuray.h:94
@ FAILURE
There was a failure during operation.
Definition: ineuray.h:104
virtual const char * get_version() const =0
Returns the version of the DiCE library.
virtual Sint32 start(bool blocking=true)=0
Starts the operation of the DiCE library.
#define mi_static_assert(expr)
Compile time assertion that raises a compilation error if the constant expression expr evaluates to f...
Definition: assert.h:65
virtual const IInterface * get_interface(const Uuid &interface_id) const =0
Acquires a const interface from another.
virtual Uint32 release() const =0
Decrements the reference count.
unsigned int Uint32
32-bit unsigned integer.
Definition: types.h:49
signed int Sint32
32-bit signed integer.
Definition: types.h:46
Mixin class template for deriving new interface declarations.
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
Definition: dice.h:89
A 128 bit representation of a universally unique identifier (UUID or GUID).
Definition: uuid.h:26