7#ifndef MI_NEURAYLIB_IDATABASE_H
8#define MI_NEURAYLIB_IDATABASE_H
292 mi::base::Interface_declare<0x814ae637,0xde35,0x4870,0x8e,0x5b,0x7e,0x28,0x9d,0x30,0xfb,0x82>
408 const char* name,
IScope* parent = 0,
Uint8 privacy_level = 0) = 0;
439 PRIORITY_FORCE_32_BIT = 0xffffffffU
Mixin class template for deriving new interface declarations.
Definition: interface_declare.h:43
This interface is used to interact with the distributed database.
Definition: idatabase.h:293
Garbage_collection_priority
Priorities for synchronous garbage collection runs.
Definition: idatabase.h:421
@ PRIORITY_MEDIUM
Medium priority for synchronous garbage collection runs.
Definition: idatabase.h:431
@ PRIORITY_HIGH
High priority for synchronous garbage collection runs.
Definition: idatabase.h:436
@ PRIORITY_LOW
Low priority for synchronous garbage collection runs.
Definition: idatabase.h:426
virtual IScope * get_scope(const char *id) const =0
Looks up and returns a scope with a given ID.
virtual void lock(Uint32 lock_id)=0
Acquires a DB lock.
virtual void garbage_collection(Garbage_collection_priority priority=PRIORITY_MEDIUM)=0
Triggers a synchronous garbage collection run.
virtual IScope * create_scope(IScope *parent, Uint8 privacy_level=0, bool temp=false)=0
Creates a new optionally temporary scope at the given privacy level with the given parent scope ID.
virtual Sint32 remove_scope(const char *id) const =0
Removes a scope with the specified ID.
virtual IScope * create_or_get_named_scope(const char *name, IScope *parent=0, Uint8 privacy_level=0)=0
Creates or retrieves a new named scope at the given privacy level with the given parent scope ID.
virtual Sint32 unlock(Uint32 lock_id)=0
Releases a previously obtained DB lock.
virtual IScope * get_named_scope(const char *name) const =0
Looks up and returns a scope with a given name.
virtual IScope * get_global_scope() const =0
Returns the global scope which is the root of a tree of scopes.
A scope is the context which determines the visibility of database elements.
Definition: iscope.h:48
#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
unsigned int Uint32
32-bit unsigned integer.
Definition: types.h:49
unsigned char Uint8
8-bit unsigned integer.
Definition: types.h:47
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