Property classes. More...
#include <kaydaradef.h>#include <assert.h>#include <stdio.h>#include <stdlib.h>#include <fbsdk/fbplug.h>#include <fbsdk/fbarray.h>#include <fbsdk/fbstring.h>#include <fbsdk/fbtime.h>#include <fbsdk/fbevaluateinfo.h>Go to the source code of this file.
Classes | |
| class | FBProperty |
| Property: Base property class. More... | |
| class | FBPropertyEvent |
| PropertyEvent: Base event class. More... | |
| class | FBPropertyEventUIIdle |
| PropertyEvent: UI idle event. More... | |
| class | FBPropertyEventVideoFrameRendering |
| PropertyEvent: Video Frame Rendering Event More... | |
| class | FBPropertyEventConnectionNotify |
| PropertyEvent: Global ConnectionNotify event. More... | |
| class | FBPropertyEventConnectionDataNotify |
| PropertyEvent: Global ConnectionDataNotify event. More... | |
| class | FBPropertyEventConnectionStateNotify |
| PropertyEvent: Global ConnectionStateNotify event. More... | |
| class | FBPropertyEventConnectionKeyingNotify |
| PropertyEvent: Global KeyingNotify event. More... | |
| class | FBPropertyBase< tType, pPT > |
| class | FBPropertyBaseEnum< tType > |
| class | FBPropertyBasicList |
| class | FBPropertyBaseList< tType > |
| class | FBPropertyStringList |
| Property: StringList More... | |
| class | FBPropertyManager |
| Property Manager. More... | |
| class | FBPropertyBaseComponent< tType > |
| class | FBPropertyString |
| Property class: const char * (String). More... | |
| class | FBPropertyAction |
| Property: Action Action property to trigger function. More... | |
| class | FBPropertyAnimatable |
| Animatable property base class. More... | |
| class | FBPropertyBaseAnimatable< tType, pPT > |
| class | FBPropertyBaseAnimatableEnum< tType > |
Macros | |
| #define | FBSDK_DLL K_DLLIMPORT |
| Be sure that FBSDK_DLL is defined only once... More... | |
| #define | FB_DEFINE_COMPONENT(DllTag, Type) |
| Define a component and give it the ability to be a property. More... | |
| #define | FB_DEFINE_ENUM(DllTag, Type) typedef class DllTag FBPropertyBaseEnum< enum FB##Type > FBProperty##Type; |
| Define an enum and give it the ability to be a property. More... | |
| #define | FB_DEFINE_CLASS_ENUM(EnumName) typedef class FBPropertyBaseEnum< enum __FBClassType::e##EnumName > Property##EnumName; |
| Define a private enum and give it the ability to be a property. More... | |
| #define | FB_DEFINE_LIST(DllTag, Type) typedef class DllTag FBPropertyBaseList< FB##Type* > FBPropertyBaseList##Type; |
| Define a component list. More... | |
| #define | FBImplementPropertyComponent(DllTag, Type) |
| Implement a property based on a component. More... | |
| #define | FBImplementPropertyEnum(DllTag, Type) template class DllTag FBSDKNamespaceFunc(FBPropertyBaseEnum)< enum FB##Type > |
| Implement a property based on an enumeration. More... | |
| #define | FBImplementClassPropertyEnum(DllTag, Class, EnumName) template class DllTag FBSDKNamespaceFunc(FBPropertyBaseEnum)< enum Class::E##EnumName > |
| #define | FBImplementPropertyList(DllTag, Type) template class DllTag FBSDKNamespaceFunc(FBPropertyBaseList) < FB##Type* > |
| Implement a property list for a component. More... | |
| #define | FBPropertyInit(Param, Type, PropName, Get, Set) |
| Initialize a property: default. More... | |
| #define | FBPropertyInitList(Param, PropName) |
| Initialize a property: list. More... | |
| #define | FBPropertyInitStringList(Param, PropName) |
| Initialize a property: string list. More... | |
| #define | FBPropertyInitEvent(Param, Type, SubType, PropName) |
| Initialize a property: event. More... | |
| #define | FBPropertyInitEventGlobal(GlobalEventName, PropName) |
| Initialize a property: global event. More... | |
| #define | FBPropertyInitInternal(Parent, PropName, MBProperty) |
| Mapping to internal properties. More... | |
| #define | FBPropertyInitInternalEnum(Param, Type, PropName, MBProperty, Get, Set) |
| Mapping to internal enum properties. More... | |
| #define | FBPropertyPublish(Parent, Prop, PropName, Get, Set) |
| Publish a property. More... | |
| #define | FBPropertyInitTextureConnectable(Parent, Prop, PropName) |
| Initialize a property: user texture connect property. More... | |
Functions | |
| K_FORWARD (KEventBase) | |
| K_FORWARD (KObject) | |
| K_FORWARD (KProperty) | |
| K_FORWARD (KEvaluationProperty) | |
| K_FORWARD (KDataType) | |
| K_FORWARD (IFBObject) | |
| K_FORWARD (IRegister) | |
| FB_FORWARD (FBComponent) | |
| __FB_FORWARD (FBProperty) | |
| template<class T > | |
| T * | FBCast (FBProperty *pProperty, bool pAutoCreate=false) |
| Cast property using it's IObject interface into the proper type. More... | |
| __FB_FORWARD (FBPropertyAnimatable) | |
| FB_FORWARD (FBBox) | |
| FB_FORWARD (FBAnimationNode) | |
| FB_FORWARD (FBTake) | |
| __FB_FORWARD (FBPropertyEvent) | |
| FB_FORWARD (FBPropertyStringList) | |
| __FB_FORWARD (FBPropertyManager) | |
Property classes.
Properties are callback variables that insert a layer of abstraction between the internal objects and the software development kit.
Definition in file fbproperties.h.
| #define FB_DEFINE_CLASS_ENUM | ( | EnumName | ) | typedef class FBPropertyBaseEnum< enum __FBClassType::e##EnumName > Property##EnumName; |
Define a private enum and give it the ability to be a property.
| EnumName | Name of the Enum to register as a property. |
Definition at line 154 of file fbproperties.h.
| #define FB_DEFINE_COMPONENT | ( | DllTag, | |
| Type | |||
| ) |
Define a component and give it the ability to be a property.
| DllTag | Associated DLL. |
| Type | Component to register as a property. |
Definition at line 139 of file fbproperties.h.
| #define FB_DEFINE_ENUM | ( | DllTag, | |
| Type | |||
| ) | typedef class DllTag FBPropertyBaseEnum< enum FB##Type > FBProperty##Type; |
Define an enum and give it the ability to be a property.
| DllTag | Associated DLL. |
| Type | Enum to register as a property. |
Definition at line 148 of file fbproperties.h.
| #define FB_DEFINE_LIST | ( | DllTag, | |
| Type | |||
| ) | typedef class DllTag FBPropertyBaseList< FB##Type* > FBPropertyBaseList##Type; |
Define a component list.
| DllTag | Associated DLL. |
| Type | Component to use as a list item. |
Definition at line 161 of file fbproperties.h.
| #define FBImplementPropertyComponent | ( | DllTag, | |
| Type | |||
| ) |
Implement a property based on a component.
| DllTag | Associated DLL. |
| Type | Class to implement. |
Definition at line 1258 of file fbproperties.h.
| #define FBImplementPropertyEnum | ( | DllTag, | |
| Type | |||
| ) | template class DllTag FBSDKNamespaceFunc(FBPropertyBaseEnum)< enum FB##Type > |
Implement a property based on an enumeration.
| DllTag | Associated DLL. |
| Type | Class to implement. |
Definition at line 1271 of file fbproperties.h.
| #define FBImplementPropertyList | ( | DllTag, | |
| Type | |||
| ) | template class DllTag FBSDKNamespaceFunc(FBPropertyBaseList) < FB##Type* > |
Implement a property list for a component.
| DllTag | Associated DLL. |
| Type | Class to implement list for. |
Definition at line 1284 of file fbproperties.h.
| #define FBPropertyInit | ( | Param, | |
| Type, | |||
| PropName, | |||
| Get, | |||
| Set | |||
| ) |
Initialize a property: default.
| Param | Owner name. |
| Type | Type of variable. |
| PropName | Variable name. |
| Get | Get function pointer. |
| Set | Set function pointer. |
Definition at line 1385 of file fbproperties.h.
| #define FBPropertyInitEvent | ( | Param, | |
| Type, | |||
| SubType, | |||
| PropName | |||
| ) |
Initialize a property: event.
| Param | Owner name. |
| Type | Event Type. |
| SubType | Event SubType. |
| PropName | Variable name. |
Definition at line 1414 of file fbproperties.h.
| #define FBPropertyInitEventGlobal | ( | GlobalEventName, | |
| PropName | |||
| ) |
Initialize a property: global event.
| GlobalEventName | Name of the global eventEvent Type. |
| PropName | Variable name. |
Definition at line 1423 of file fbproperties.h.
| #define FBPropertyInitInternal | ( | Parent, | |
| PropName, | |||
| MBProperty | |||
| ) |
Mapping to internal properties.
Definition at line 1429 of file fbproperties.h.
| #define FBPropertyInitInternalEnum | ( | Param, | |
| Type, | |||
| PropName, | |||
| MBProperty, | |||
| Get, | |||
| Set | |||
| ) |
Mapping to internal enum properties.
Definition at line 1435 of file fbproperties.h.
| #define FBPropertyInitList | ( | Param, | |
| PropName | |||
| ) |
Initialize a property: list.
| Param | Owner name. |
| PropName | Variable name. |
Definition at line 1394 of file fbproperties.h.
| #define FBPropertyInitStringList | ( | Param, | |
| PropName | |||
| ) |
Initialize a property: string list.
| Param | Owner name. |
| PropName | Variable name . |
Definition at line 1403 of file fbproperties.h.
| #define FBPropertyInitTextureConnectable | ( | Parent, | |
| Prop, | |||
| PropName | |||
| ) |
Initialize a property: user texture connect property.
Only support Color, ColorAndAlpha, Number, Vector, Vector2, Vector4 data type for user texture connectable property!
| Parent | Owner name. |
| Prop | Variable |
| PropName | Variable Name. |
Definition at line 1459 of file fbproperties.h.
| #define FBPropertyPublish | ( | Parent, | |
| Prop, | |||
| PropName, | |||
| Get, | |||
| Set | |||
| ) |
Publish a property.
| Parent | Owner name. |
| Prop | Variable |
| PropName | Variable Name. |
| Get | Get function pointer. |
| Set | Set function pointer. |
Definition at line 1448 of file fbproperties.h.
| #define FBSDK_DLL K_DLLIMPORT |
Be sure that FBSDK_DLL is defined only once...
Definition at line 51 of file fbproperties.h.
| typedef class K_DLLIMPORT FBPropertyBase< FBComponent*,kFBPT_object > _FBPropertyBaseComponent |
Property: FBPropertyBase(FBComponent*)
Definition at line 1370 of file fbproperties.h.
| typedef class K_DLLIMPORT FBPropertyBase< FBPlug*,kFBPT_object > _FBPropertyBasePlug |
Property: FBPropertyBase(FBPlug*)
Definition at line 1374 of file fbproperties.h.
| typedef void(* fbExternalGetSetHandler) (HIObject pObject) |
function pointer
Definition at line 167 of file fbproperties.h.
| typedef void(* fbGetSetHandler) (void) |
function pointer
Definition at line 165 of file fbproperties.h.
| typedef FBPropertyBaseAnimatable< bool, kFBPT_Action > FBPropertyAnimatableAction |
FBPropertyAnimatableAction type definition.
Definition at line 1738 of file fbproperties.h.
| typedef FBPropertyBaseAnimatable< bool, kFBPT_bool > FBPropertyAnimatableBool |
FBPropertyAnimatableBool type definition.
Definition at line 1742 of file fbproperties.h.
FBPropertyAnimatableColor type definition.
Definition at line 1786 of file fbproperties.h.
| typedef FBPropertyBaseAnimatable< FBColorAndAlpha, kFBPT_ColorRGBA > FBPropertyAnimatableColorAndAlpha |
FBPropertyAnimatableColorAndAlpha type definition.
Definition at line 1790 of file fbproperties.h.
| typedef FBPropertyBaseAnimatable< double, kFBPT_double > FBPropertyAnimatableDouble |
FBPropertyBaseAnimatableDouble type definition.
Definition at line 1762 of file fbproperties.h.
| typedef FBPropertyBaseAnimatable< int, kFBPT_enum > FBPropertyAnimatableEnum |
FBPropertyBaseAnimatableEnum type definition.
Definition at line 1758 of file fbproperties.h.
| typedef FBPropertyBaseAnimatable< int, kFBPT_in > FBPropertyAnimatableInt |
FBPropertyAnimatableInt type definition.
Definition at line 1746 of file fbproperties.h.
| typedef FBPropertyBaseAnimatable< long long, kFBPT_int64 > FBPropertyAnimatableInt64 |
FBPropertyAnimatableInt64 type definition.
Definition at line 1750 of file fbproperties.h.
| typedef FBPropertyBaseAnimatable< FBTime, kFBPT_time > FBPropertyAnimatableTime |
FBPropertyBaseAnimatableTime type definition.
Definition at line 1766 of file fbproperties.h.
| typedef FBPropertyBaseAnimatable< FBTimeCode, kFBPT_timecode > FBPropertyAnimatableTimeCode |
FBPropertyBaseAnimatableTimeCode type definition.
Definition at line 1770 of file fbproperties.h.
| typedef FBPropertyBaseAnimatable< unsigned long long, kFBPT_uint64 > FBPropertyAnimatableUInt64 |
FBPropertyAnimatableUInt64 type definition.
Definition at line 1754 of file fbproperties.h.
FBPropertyAnimatableVector2D type definition.
Definition at line 1774 of file fbproperties.h.
FBPropertyAnimatableVector3D type definition.
Definition at line 1778 of file fbproperties.h.
FBPropertyAnimatableVector4D type definition.
Definition at line 1782 of file fbproperties.h.
| typedef class K_DLLIMPORT FBPropertyBase< bool,kFBPT_bool > FBPropertyBool |
Property: bool
Definition at line 1318 of file fbproperties.h.
| typedef class FBSDK_DLL FBPropertyBase< FBColor, kFBPT_ColorRGB > FBPropertyColor |
FBPropertyColor type definition.
Definition at line 1464 of file fbproperties.h.
| typedef class FBSDK_DLL FBPropertyBase< FBColorAndAlpha, kFBPT_ColorRGBA > FBPropertyColorAndAlpha |
FBPropertyColorAndAlpha type definition.
Definition at line 1469 of file fbproperties.h.
| typedef class K_DLLIMPORT FBPropertyBaseComponent< FBComponent* > FBPropertyComponent |
Property: FBPropertyBaseComponent(FBComponent*)
Definition at line 1372 of file fbproperties.h.
| typedef class K_DLLIMPORT FBPropertyBase< double,kFBPT_double > FBPropertyDouble |
Property: double
Definition at line 1350 of file fbproperties.h.
| typedef class FBSDK_DLL FBPropertyBaseEnum< enum kDefaultEnum > FBPropertyEnum |
A typedef Definition.
Definition at line 976 of file fbproperties.h.
| typedef class K_DLLIMPORT FBPropertyBase< float,kFBPT_float > FBPropertyFloat |
Property: float
Definition at line 1353 of file fbproperties.h.
| typedef class K_DLLIMPORT FBPropertyBase< int,kFBPT_int > FBPropertyInt |
Property: int
Definition at line 1341 of file fbproperties.h.
| typedef class K_DLLIMPORT FBPropertyBase< long long,kFBPT_int64 > FBPropertyInt64 |
Property: int
Definition at line 1344 of file fbproperties.h.
| typedef class K_DLLIMPORT FBPropertyBase< kReference,kFBPT_kReference > FBPropertykReference |
Property: kReference
Definition at line 1365 of file fbproperties.h.
| typedef class FBPropertyBaseComponent< FBPlug *> FBPropertyPlug |
Property: FBPropertyBaseComponent(FBPlug*)
Definition at line 1376 of file fbproperties.h.
| typedef class K_DLLIMPORT FBPropertyBase< FBProperty*,kFBPT_Reference > FBPropertyReference |
Property: FBProperty *
Definition at line 1368 of file fbproperties.h.
| typedef class K_DLLIMPORT FBPropertyBase< FBTime,kFBPT_Time > FBPropertyTime |
Property: FBTime
Definition at line 1356 of file fbproperties.h.
| typedef class K_DLLIMPORT FBPropertyBase< FBTimeCode,kFBPT_TimeCode > FBPropertyTimeCode |
Property: FBTimeCode
Definition at line 1359 of file fbproperties.h.
| typedef class K_DLLIMPORT FBPropertyBase< FBTimeSpan,kFBPT_TimeSpan > FBPropertyTimeSpan |
Property: FBTimeSpan
Definition at line 1362 of file fbproperties.h.
| typedef class K_DLLIMPORT FBPropertyBase< unsigned long long,kFBPT_uint64 > FBPropertyUInt64 |
Property: int
Definition at line 1347 of file fbproperties.h.
| typedef class FBPropertyBase< FBVector2d, kFBPT_Vector2D > FBPropertyVector2d |
FBPropertyVector2d type definition.
Definition at line 1474 of file fbproperties.h.
| typedef class FBPropertyBase< FBVector3d, kFBPT_Vector3D > FBPropertyVector3d |
FBPropertyVector3d type definition.
Definition at line 1479 of file fbproperties.h.
| typedef class FBPropertyBase< FBColor, kFBPT_Vector4D > FBPropertyVector4d |
FBPropertyVector4d type definition.
Definition at line 1485 of file fbproperties.h.
| enum FBDataAsStringFlag |
FBDataAsStringFlag.
| Enumerator | |
|---|---|
| kFBDataAsStringUI | Convert data to string type for UI display. |
| kFBDataAsStringPersistence | Convert data to string type for storage. |
Definition at line 109 of file fbproperties.h.
| enum FBPropertyFlag |
Available flags for FBProperty objects.
Definition at line 118 of file fbproperties.h.
| enum FBPropertyType |
Property types.
Definition at line 79 of file fbproperties.h.
| enum kDefaultEnum |
Patch to use the base enum for casting values .
| Enumerator | |
|---|---|
| kDefaultItemNone | None. |
Definition at line 971 of file fbproperties.h.
|
inline |
Cast property using it's IObject interface into the proper type.
| pProperty | Property pointer to be cast into the proper type. |
| pAutoCreate | Create object if it doesn't exist? (default = false) |
pProperty. Definition at line 480 of file fbproperties.h.
References FBGetFBObject().