Kanzi  3.9.7
Kanzi Engine API
interop.hpp File Reference

Namespaces

 kanzi
 Easing functions that require external dependencies for calculation.
 
 kanzi::interop
 

Typedefs

using kanzi::interop::ErrorCallback = void(void *, ErrorCode, const char *)
 

Enumerations

enum  kanzi::interop::ErrorCode {
  kanzi::interop::ErrorCode::Unknown, kanzi::interop::ErrorCode::ObjectNotFound, kanzi::interop::ErrorCode::InvalidArgument, kanzi::interop::ErrorCode::IndexOutofBounds,
  kanzi::interop::ErrorCode::FileNotFound, kanzi::interop::ErrorCode::InvalidKzbFile, kanzi::interop::ErrorCode::AlreadyExists, kanzi::interop::ErrorCode::MetaclassSealed
}
 

Functions

KANZI_INTEROP_API Context * kanzi::interop::Context_create (Domain *domain)
 
KANZI_INTEROP_API void * kanzi::interop::Context_getUserData (Context *context)
 
KANZI_INTEROP_API void kanzi::interop::Context_loadKzbFile (Context *context, string_view fileName)
 
KANZI_INTEROP_API void kanzi::interop::Context_release (Context *context)
 
KANZI_INTEROP_API void kanzi::interop::Context_setErrorCallback (void *callbackUserData, ErrorCallback *callback)
 
KANZI_INTEROP_API void kanzi::interop::Context_setUserData (Context *context, void *userData, ContextDirector *director)
 
KANZI_INTEROP_API Domain * kanzi::interop::Context_unwrap (Context *context)
 
KANZI_INTEROP_API DataContextModifiedSubscriptionTokenWrapper * kanzi::interop::DataContext_addModifiedNotificationHandler (ObjectWrapper *wrapper, DataContextModifiedSubscriptionDirector *director)
 
KANZI_INTEROP_API ObjectWrapper * kanzi::interop::DataContext_getData (ObjectWrapper *wrapper)
 
KANZI_INTEROP_API ObjectWrapper * kanzi::interop::DataContext_lookupDataContext (ObjectWrapper *wrapper, string_view relativePath)
 
KANZI_INTEROP_API void kanzi::interop::DataContext_notifyModified (ObjectWrapper *wrapper)
 
KANZI_INTEROP_API void kanzi::interop::DataContext_removeModifiedNotificationHandler (ObjectWrapper *wrapper, DataContextModifiedSubscriptionTokenWrapper *token)
 
KANZI_INTEROP_API void kanzi::interop::DataContextModifiedSubscriptionToken_release (DataContextModifiedSubscriptionTokenWrapper *wrapper)
 
KANZI_INTEROP_API void kanzi::interop::DataObject_addChild (ObjectWrapper *wrapper, ObjectWrapper *child)
 
KANZI_INTEROP_API ObjectReference * kanzi::interop::DataObject_create (Context *context, const char *name)
 
KANZI_INTEROP_API ObjectWrapper * kanzi::interop::DataObject_findChild (ObjectWrapper *wrapper, const char *childName)
 
KANZI_INTEROP_API ObjectWrapper * kanzi::interop::DataObject_getChild (ObjectWrapper *wrapper, size_t index)
 
KANZI_INTEROP_API size_t kanzi::interop::DataObject_getChildCount (ObjectWrapper *wrapper)
 
KANZI_INTEROP_API size_t kanzi::interop::DataObject_getChildIndex (ObjectWrapper *wrapper, ObjectWrapper *child)
 
KANZI_INTEROP_API IteratorWrapper * kanzi::interop::DataObject_getChildrenIterator (ObjectWrapper *objectWrapper)
 
KANZI_INTEROP_API string kanzi::interop::DataObject_getName (ObjectWrapper *wrapper)
 
KANZI_INTEROP_API ObjectWrapper * kanzi::interop::DataObject_getParent (ObjectWrapper *wrapper)
 
KANZI_INTEROP_API DataObjectType kanzi::interop::DataObject_getType (ObjectWrapper *wrapper)
 
KANZI_INTEROP_API bool kanzi::interop::DataObject_getValueBool (ObjectWrapper *wrapper)
 
KANZI_INTEROP_API int kanzi::interop::DataObject_getValueInt (ObjectWrapper *wrapper)
 
KANZI_INTEROP_API double kanzi::interop::DataObject_getValueReal (ObjectWrapper *wrapper)
 
KANZI_INTEROP_API string kanzi::interop::DataObject_getValueString (ObjectWrapper *wrapper)
 
KANZI_INTEROP_API bool kanzi::interop::DataObject_hasChild (ObjectWrapper *wrapper, ObjectWrapper *child)
 
KANZI_INTEROP_API void kanzi::interop::DataObject_insertChild (ObjectWrapper *wrapper, size_t index, ObjectWrapper *child)
 
KANZI_INTEROP_API void kanzi::interop::DataObject_removeAllChildren (ObjectWrapper *wrapper)
 
KANZI_INTEROP_API void kanzi::interop::DataObject_removeChild (ObjectWrapper *wrapper, ObjectWrapper *child)
 
KANZI_INTEROP_API void kanzi::interop::DataObject_removeChildAtIndex (ObjectWrapper *wrapper, size_t index)
 
KANZI_INTEROP_API void kanzi::interop::DataObject_setName (ObjectWrapper *wrapper, const char *value)
 
KANZI_INTEROP_API void kanzi::interop::DataObject_setParent (ObjectWrapper *wrapper, ObjectWrapper *parent)
 
KANZI_INTEROP_API ObjectReference * kanzi::interop::DataObjectBool_create (Context *context, const char *name, bool value)
 
KANZI_INTEROP_API bool kanzi::interop::DataObjectBool_getValue (ObjectWrapper *wrapper)
 
KANZI_INTEROP_API void kanzi::interop::DataObjectBool_setValue (ObjectWrapper *wrapper, bool value)
 
KANZI_INTEROP_API ObjectReference * kanzi::interop::DataObjectInt_create (Context *context, const char *name, int32_t value)
 
KANZI_INTEROP_API int32_t kanzi::interop::DataObjectInt_getValue (ObjectWrapper *wrapper)
 
KANZI_INTEROP_API void kanzi::interop::DataObjectInt_setValue (ObjectWrapper *wrapper, int32_t value)
 
KANZI_INTEROP_API ObjectWrapper * kanzi::interop::DataObjectList_acquireItem (ObjectWrapper *wrapper, size_t index)
 
KANZI_INTEROP_API ObjectReference * kanzi::interop::DataObjectList_createDirector (Context *context, const char *name, MetaclassWrapper *metaClass)
 
KANZI_INTEROP_API ObjectReference * kanzi::interop::DataObjectList_getItemTemplate (ObjectWrapper *wrapper)
 
KANZI_INTEROP_API size_t kanzi::interop::DataObjectList_itemCount (ObjectWrapper *wrapper)
 
KANZI_INTEROP_API void kanzi::interop::DataObjectList_releaseItem (ObjectWrapper *wrapper, size_t index)
 
KANZI_INTEROP_API ObjectReference * kanzi::interop::DataObjectReal_create (Context *context, const char *name, double value)
 
KANZI_INTEROP_API double kanzi::interop::DataObjectReal_getValue (ObjectWrapper *wrapper)
 
KANZI_INTEROP_API void kanzi::interop::DataObjectReal_setValue (ObjectWrapper *wrapper, double value)
 
KANZI_INTEROP_API ObjectReference * kanzi::interop::DataObjectString_create (Context *context, const char *name, const char *value)
 
KANZI_INTEROP_API string kanzi::interop::DataObjectString_getValue (ObjectWrapper *wrapper)
 
KANZI_INTEROP_API void kanzi::interop::DataObjectString_setValue (ObjectWrapper *wrapper, const char *value)
 
KANZI_INTEROP_API ObjectReference * kanzi::interop::DataSource_createDirector (Context *context, string_view name, MetaclassWrapper *metaClass)
 
KANZI_INTEROP_API EditorInfoWrapper * kanzi::interop::EditorInfo_create ()
 
KANZI_INTEROP_API bool kanzi::interop::EditorInfo_equals (EditorInfoWrapper *lhs, EditorInfoWrapper *rhs)
 
KANZI_INTEROP_API string_view kanzi::interop::EditorInfo_getAttribute (EditorInfoWrapper *editorInfo, string_view key)
 
KANZI_INTEROP_API string_view kanzi::interop::EditorInfo_getCategory (EditorInfoWrapper *editorInfo)
 
KANZI_INTEROP_API string_view kanzi::interop::EditorInfo_getDefaultValue (EditorInfoWrapper *editorInfo)
 
KANZI_INTEROP_API string_view kanzi::interop::EditorInfo_getDisplayName (EditorInfoWrapper *editorInfo)
 
KANZI_INTEROP_API string_view kanzi::interop::EditorInfo_getEditor (EditorInfoWrapper *editorInfo)
 
KANZI_INTEROP_API string_view kanzi::interop::EditorInfo_getHelpHeading (EditorInfoWrapper *editorInfo)
 
KANZI_INTEROP_API string_view kanzi::interop::EditorInfo_getHost (EditorInfoWrapper *editorInfo)
 
KANZI_INTEROP_API string_view kanzi::interop::EditorInfo_getLegacyName (EditorInfoWrapper *editorInfo)
 
KANZI_INTEROP_API string_view kanzi::interop::EditorInfo_getListenable (EditorInfoWrapper *editorInfo)
 
KANZI_INTEROP_API string_view kanzi::interop::EditorInfo_getLowerBound (EditorInfoWrapper *editorInfo)
 
KANZI_INTEROP_API string_view kanzi::interop::EditorInfo_getSendable (EditorInfoWrapper *editorInfo)
 
KANZI_INTEROP_API string_view kanzi::interop::EditorInfo_getSortingIndex (EditorInfoWrapper *editorInfo)
 
KANZI_INTEROP_API string_view kanzi::interop::EditorInfo_getStep (EditorInfoWrapper *editorInfo)
 
KANZI_INTEROP_API string_view kanzi::interop::EditorInfo_getStudioVisibility (EditorInfoWrapper *editorInfo)
 
KANZI_INTEROP_API string_view kanzi::interop::EditorInfo_getTooltip (EditorInfoWrapper *editorInfo)
 
KANZI_INTEROP_API string_view kanzi::interop::EditorInfo_getUpperBound (EditorInfoWrapper *editorInfo)
 
KANZI_INTEROP_API string_view kanzi::interop::EditorInfo_getValueProvider (EditorInfoWrapper *editorInfo)
 
KANZI_INTEROP_API void kanzi::interop::EditorInfo_release (EditorInfoWrapper *editorInfo)
 
KANZI_INTEROP_API void kanzi::interop::EditorInfo_setAttribute (EditorInfoWrapper *editorInfo, string_view key, string_view value)
 
KANZI_INTEROP_API void kanzi::interop::EditorInfo_setCategory (EditorInfoWrapper *editorInfo, string_view value)
 
KANZI_INTEROP_API void kanzi::interop::EditorInfo_setDefaultValue (EditorInfoWrapper *editorInfo, string_view value)
 
KANZI_INTEROP_API void kanzi::interop::EditorInfo_setDisplayName (EditorInfoWrapper *editorInfo, string_view value)
 
KANZI_INTEROP_API void kanzi::interop::EditorInfo_setEditor (EditorInfoWrapper *editorInfo, string_view value)
 
KANZI_INTEROP_API void kanzi::interop::EditorInfo_setHelpHeading (EditorInfoWrapper *editorInfo, string_view value)
 
KANZI_INTEROP_API void kanzi::interop::EditorInfo_setHost (EditorInfoWrapper *editorInfo, string_view value)
 
KANZI_INTEROP_API void kanzi::interop::EditorInfo_setLegacyName (EditorInfoWrapper *editorInfo, string_view value)
 
KANZI_INTEROP_API void kanzi::interop::EditorInfo_setListenable (EditorInfoWrapper *editorInfo, string_view value)
 
KANZI_INTEROP_API void kanzi::interop::EditorInfo_setLowerBound (EditorInfoWrapper *editorInfo, string_view value)
 
KANZI_INTEROP_API void kanzi::interop::EditorInfo_setSendable (EditorInfoWrapper *editorInfo, string_view value)
 
KANZI_INTEROP_API void kanzi::interop::EditorInfo_setSortingIndex (EditorInfoWrapper *editorInfo, string_view value)
 
KANZI_INTEROP_API void kanzi::interop::EditorInfo_setStep (EditorInfoWrapper *editorInfo, string_view value)
 
KANZI_INTEROP_API void kanzi::interop::EditorInfo_setStudioVisibility (EditorInfoWrapper *editorInfo, string_view value)
 
KANZI_INTEROP_API void kanzi::interop::EditorInfo_setTooltip (EditorInfoWrapper *editorInfo, string_view value)
 
KANZI_INTEROP_API void kanzi::interop::EditorInfo_setUpperBound (EditorInfoWrapper *editorInfo, string_view value)
 
KANZI_INTEROP_API void kanzi::interop::EditorInfo_setValueProvider (EditorInfoWrapper *editorInfo, string_view value)
 
void kanzi::interop::handleErrorCallback (ErrorCode code, const char *message)
 
KANZI_INTEROP_API bool kanzi::interop::Iterator_hasNext (IteratorWrapper *iteratorWrapper)
 
KANZI_INTEROP_API void * kanzi::interop::Iterator_next (IteratorWrapper *iteratorWrapper)
 
KANZI_INTEROP_API void kanzi::interop::Iterator_release (IteratorWrapper *iteratorWrapper)
 
KANZI_INTEROP_API MessageArgumentsWrapper * kanzi::interop::MessageArguments_create ()
 
KANZI_INTEROP_API ObjectWrapper * kanzi::interop::MessageArguments_getSource (MessageArgumentsWrapper *wrapper)
 
KANZI_INTEROP_API bool kanzi::interop::MessageArguments_isHandled (MessageArgumentsWrapper *wrapper)
 
KANZI_INTEROP_API void kanzi::interop::MessageArguments_release (MessageArgumentsWrapper *wrapper)
 
KANZI_INTEROP_API void kanzi::interop::MessageArguments_setHandled (MessageArgumentsWrapper *wrapper, bool handled)
 
KANZI_INTEROP_API bool kanzi::interop::MessageType_compare (MessageTypeWrapper *wrapper, MessageTypeWrapper *otherWrapper)
 
KANZI_INTEROP_API MessageTypeWrapper * kanzi::interop::MessageType_create (string_view name, MessageRouting routing, EditorInfoWrapper *editorInfo, MetaclassWrapper *messageArgumentMetaclassWrapper)
 
KANZI_INTEROP_API MessageTypeWrapper * kanzi::interop::MessageType_find (string_view name)
 
KANZI_INTEROP_API MetaclassWrapper * kanzi::interop::MessageType_getArgumentsMetaclass (MessageTypeWrapper *wrapper)
 
KANZI_INTEROP_API EditorInfoWrapper * kanzi::interop::MessageType_getEditorInfo (MessageTypeWrapper *wrapper)
 
KANZI_INTEROP_API string kanzi::interop::MessageType_getName (MessageTypeWrapper *wrapper)
 
KANZI_INTEROP_API MessageRouting kanzi::interop::MessageType_getRouting (MessageTypeWrapper *wrapper)
 
KANZI_INTEROP_API void kanzi::interop::MessageType_release (MessageTypeWrapper *wrapper)
 
KANZI_INTEROP_API const void * kanzi::interop::MessageType_unwrap (MessageTypeWrapper *wrapper)
 
KANZI_INTEROP_API void kanzi::interop::Metaclass_addMessageType (MetaclassWrapper *wrapper, MessageTypeWrapper *messageTypeWrapper)
 
KANZI_INTEROP_API void kanzi::interop::Metaclass_addNestedClass (MetaclassWrapper *wrapper, MetaclassWrapper *nestedMetaclassWrapper)
 
KANZI_INTEROP_API bool kanzi::interop::Metaclass_compare (MetaclassWrapper *wrapper, MetaclassWrapper *otherWrapper)
 
KANZI_INTEROP_API MetaclassWrapper * kanzi::interop::Metaclass_create (string_view name, MetaclassWrapper *baseclassMetaclass)
 
KANZI_INTEROP_API ObjectReference * kanzi::interop::Metaclass_createInstance (MetaclassWrapper *wrapper, Context *context, string_view name)
 
KANZI_INTEROP_API MetaclassWrapper * kanzi::interop::Metaclass_find (Context *context, string_view name)
 
KANZI_INTEROP_API MetaclassWrapper * kanzi::interop::Metaclass_getBase (MetaclassWrapper *wrapper)
 
KANZI_INTEROP_API EditorInfoWrapper * kanzi::interop::Metaclass_getEditorInfo (MetaclassWrapper *wrapper)
 
KANZI_INTEROP_API IteratorWrapper * kanzi::interop::Metaclass_getMessageTypeIterator (MetaclassWrapper *wrapper)
 
KANZI_INTEROP_API string kanzi::interop::Metaclass_getName (MetaclassWrapper *wrapper)
 
KANZI_INTEROP_API IteratorWrapper * kanzi::interop::Metaclass_getNestedClassIterator (MetaclassWrapper *wrapper)
 
KANZI_INTEROP_API bool kanzi::interop::Metaclass_isAbstract (MetaclassWrapper *wrapper)
 
KANZI_INTEROP_API bool kanzi::interop::Metaclass_isDerivedFrom (MetaclassWrapper *wrapperChild, MetaclassWrapper *wrapperBase)
 
KANZI_INTEROP_API void kanzi::interop::Metaclass_override (Context *context, MetaclassWrapper *metaclass)
 
KANZI_INTEROP_API void kanzi::interop::Metaclass_register (Context *context, MetaclassWrapper *metaclass)
 
KANZI_INTEROP_API void kanzi::interop::Metaclass_release (MetaclassWrapper *wrapper)
 
KANZI_INTEROP_API void kanzi::interop::Metaclass_seal (MetaclassWrapper *wrapper)
 
KANZI_INTEROP_API void kanzi::interop::Metaclass_setEditorInfo (MetaclassWrapper *wrapper, EditorInfoWrapper *editorInfo)
 
KANZI_INTEROP_API const void * kanzi::interop::Metaclass_unwrap (MetaclassWrapper *context)
 
KANZI_INTEROP_API void kanzi::interop::Object_clearUserData (ObjectWrapper *wrapper)
 
KANZI_INTEROP_API ObjectReference * kanzi::interop::Object_createReference (ObjectWrapper *wrapper)
 
KANZI_INTEROP_API Context * kanzi::interop::Object_getContext (ObjectWrapper *wrapper)
 
KANZI_INTEROP_API MetaclassWrapper * kanzi::interop::Object_getMetaclass (ObjectWrapper *wrapper)
 
KANZI_INTEROP_API void * kanzi::interop::Object_getUserData (ObjectWrapper *wrapper)
 
KANZI_INTEROP_API bool kanzi::interop::Object_hasUserData (ObjectWrapper *wrapper)
 
KANZI_INTEROP_API bool kanzi::interop::Object_isStale (ObjectWrapper *wrapper)
 
KANZI_INTEROP_API void kanzi::interop::Object_release (ObjectWrapper *wrapper)
 
KANZI_INTEROP_API void kanzi::interop::Object_setUserData (ObjectWrapper *wrapper, void *userData)
 
KANZI_INTEROP_API ObjectReference * kanzi::interop::Object_tryCreateReference (ObjectWrapper *wrapper)
 
KANZI_INTEROP_API void * kanzi::interop::Object_unwrap (ObjectWrapper *wrapper)
 
KANZI_INTEROP_API ObjectWrapper * kanzi::interop::ObjectRef_getObjectWrapper (ObjectReference *ref)
 
KANZI_INTEROP_API void kanzi::interop::ObjectRef_release (ObjectReference *ref)
 
KANZI_INTEROP_API void kanzi::interop::Plugin_register (Context *context, string_view name, PluginDirector *director)
 
KANZI_INTEROP_API void kanzi::interop::Plugin_registerPluginHandler (Context *context, string_view protocol, PluginHandlerDirector *director)
 
KANZI_INTEROP_API void kanzi::interop::Plugin_unregisterPluginHandler (Context *context, string_view protocol)
 
KANZI_INTEROP_API void kanzi::interop::Profiler_addSample (string_view name, long long duration)
 
KANZI_INTEROP_API ObjectReference * kanzi::interop::ResourceAcquireTask_getLoadedResource (ResourceAcquireTaskWrapper *wrapper, string_view url)
 
KANZI_INTEROP_API bool kanzi::interop::ResourceAcquireTask_isFinished (ResourceAcquireTaskWrapper *wrapper)
 
KANZI_INTEROP_API void kanzi::interop::ResourceAcquireTask_release (ResourceAcquireTaskWrapper *wrapper)
 
KANZI_INTEROP_API ObjectReference * kanzi::interop::ResourceManager_acquireLoadedResource (Context *context, string_view url)
 
KANZI_INTEROP_API ObjectReference * kanzi::interop::ResourceManager_acquireResource (Context *context, string_view url)
 
KANZI_INTEROP_API ResourceAcquireTaskWrapper * kanzi::interop::ResourceManager_acquireResourcesAsync (Context *context, const char **urlsStart, size_t urlsCount, ResourceAcquireTaskDirector *director)
 
KANZI_INTEROP_API void kanzi::interop::ResourceManager_addKzbFile (Context *context, string_view fileName)
 
KANZI_INTEROP_API void kanzi::interop::ResourceManager_collectAndAcquirePrefabAsync (ObjectWrapper *nodeWrapper, string_view id, ResourceAcquireTaskDirector *director)
 
KANZI_INTEROP_API MemoryStrategy kanzi::interop::ResourceManager_getDefaultMemoryStrategy (Context *context)
 
KANZI_INTEROP_API void kanzi::interop::ResourceManager_purge (Context *context)
 
KANZI_INTEROP_API void kanzi::interop::ResourceManager_registerProtocolHandler (Context *context, string_view protocol, ResourceProtocolDirector *loadDirector, ResourceReloadProtocolDirector *reloadDirector)
 
KANZI_INTEROP_API void kanzi::interop::ResourceManager_setDefaultMemoryStrategy (Context *context, MemoryStrategy strategy)
 
KANZI_INTEROP_API bool kanzi::interop::ResourceManager_supportsProtocolHandler (Context *context, string_view protocol)
 
KANZI_INTEROP_API ObjectReference * kanzi::interop::ResourceManager_tryAcquireResource (Context *context, string_view url)
 
KANZI_INTEROP_API void kanzi::interop::ResourceManager_unregisterProtocolHandler (Context *context, string_view protocol)
 
KANZI_INTEROP_API void kanzi::interop::ResourceManager_wait (ResourceAcquireTaskWrapper *acquireTaskWrapper)