binding.hpp File Reference

Classes

struct  kanzi::BindingOperation
 Base class for binding operations. More...
 
class  kanzi::Binding
 Binding objects establish connections between properties, message values or arguments. More...
 

Namespaces

 kanzi
 

Typedefs

typedef shared_ptr< Binding > kanzi::BindingSharedPtr
 
typedef shared_ptr< Binding const > kanzi::BindingSharedConstPtr
 
typedef shared_ptr< DataObject > kanzi::DataObjectSharedPtr
 
typedef shared_ptr< DataContext > kanzi::DataContextSharedPtr
 
typedef shared_ptr< BindingOperation > kanzi::BindingOperationSharedPtr
 

Enumerations

enum  kanzi::KzuPropertyBinaryDataType { kanzi::KZU_BINARY_DATA_TYPE_FLOAT, kanzi::KZU_BINARY_DATA_TYPE_TEXTURE, kanzi::KZU_BINARY_DATA_TYPE_MATRIX4X4 }
 Binary container type. More...
 
enum  kanzi::KzuPropertyBinaryTargetAttribute {
  kanzi::KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_TRANSLATION_X, kanzi::KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_TRANSLATION_Y, kanzi::KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_TRANSLATION_Z, kanzi::KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_SCALE_X,
  kanzi::KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_SCALE_Y, kanzi::KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_SCALE_Z, kanzi::KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_ROTATION_Z, kanzi::KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_ROTATION_Y,
  kanzi::KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_ROTATION_X, kanzi::KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_WHOLE_PROPERTY, kanzi::KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_COLOR_R, kanzi::KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_COLOR_G,
  kanzi::KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_COLOR_B, kanzi::KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_COLOR_A, kanzi::KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_VECTOR_X, kanzi::KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_VECTOR_Y,
  kanzi::KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_VECTOR_Z, kanzi::KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_VECTOR_W, kanzi::KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_SCALE, kanzi::KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_ROTATION,
  kanzi::KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_TRANSLATION
}
 Binary target attribute type. More...
 

Functions

KANZI_API BindingSharedPtr kanzi::loadBinding (KzcInputStream *inputStream, Domain *domain, const KzuBinaryFileInfo *file)
 Loads a binding from stream. More...
 
KANZI_API BindingSharedPtr kanzi::loadBinding (KzbFile &kzbFile, KzbMemoryParser &parser)
 Loads binding from KZB. More...
 
KANZI_API void kanzi::loadBindings (KzbFile &kzbFile, KzbMemoryParser &parser, vector< BindingSharedPtr > &bindings)
 Loads bindings from KZB. More...
 
KANZI_API PropertyField kanzi::kzuBindingFieldFromBinaryAttribute (KzuPropertyBinaryTargetAttribute attribute)
 Converts a property attribute to a field. More...