45 #include <kaydaradef.h> 51 #define FBSDK_DLL K_DLLIMPORT 55 #include <object/i/icallback.h> 57 #include <fbsdk/fbscriptwrapper.h> 60 #ifdef FBSDKUseNamespace 67 #define __FBClassImplementation( ThisComponent,pInternalClassId ) \ 68 int ThisComponent::TypeInfo=__FBRegisterTypeInfo(pInternalClassId);\ 69 int ThisComponent::GetInternalClassId() { return pInternalClassId; } 71 #define __FBClassImplementationGroup( ThisComponent, pInternalClass ) \ 72 __FBClassImplementation( ThisComponent,pInternalClass::ClassId )\ 73 const char* ThisComponent::ClassGroupName = pInternalClass::ClassGroupName; 182 kFBAllModifiedMask = kFBSelfAllModifiedMask | kFBContentAllModifiedMask
224 #ifndef DOXYGEN_SHOULD_SKIP_THIS 229 FBPlug( HIObject pObject );
235 virtual HIObject GetHIObject()
const;
238 virtual bool SetHIObject( HIObject pObject,
bool pSDKComponent );
242 bool IsSDKComponent();
280 bool DisconnectDst(
FBPlug* pDst );
286 bool DisconnectSrc(
FBPlug* pSrc );
289 void DisconnectAllSrc();
292 void DisconnectAllDst();
298 bool DisconnectDstAt(
int pIndex );
304 bool DisconnectSrcAt(
int pIndex );
311 bool ReplaceDstAt(
int pIndex,
FBPlug* pDst );
318 bool ReplaceSrcAt(
int pIndex,
FBPlug* pSrc );
325 bool SwapSrc(
int pIndexA,
int pIndexB );
333 bool MoveSrcAt(
int pIndex,
int pAtIndex );
352 FBPlug* GetSrc(
int pIndex );
369 FBPlug* GetDst(
int pIndex );
444 FBPlug* GetOwned(
int pIndex );
452 virtual const char* ClassName();
457 virtual bool Is(
int pTypeId );
463 virtual int GetTypeId();
482 virtual bool PlugDataNotify(
FBConnectionAction pAction,
FBPlug* pThis,
void* pData=NULL,
void* pDataOld=NULL,
int pDataSize=0);
492 virtual bool PlugStateNotify(
FBConnectionAction pAction,
FBPlug* pThis,
void* pData=NULL,
void* pDataOld=NULL,
int pDataSize=0);
505 #ifndef DOXYGEN_SHOULD_SKIP_THIS 506 IObject_Declare(K_IMPLEMENTATION);
507 ICallback_Declare(K_IMPLEMENTATION);
512 static void PrintClassDefinitions();
520 virtual void FBDelete();
523 static int GetInternalClassId();
569 template<
class T>
inline T*
FBCast(HIObject pObject,
bool pAutoCreate =
false)
599 bool Is(
int pTypeId );
609 bool operator==(
const HdlFBPlug& pFBPlug)
const;
610 bool operator!=(
const HdlFBPlug& pFBPlug)
const;
613 inline FBPlug* operator()()
const {
return GetPlug(); }
614 inline FBPlug* operator->()
const {
return GetPlug(); }
616 inline operator FBPlug* ()
const 618 return (
FBPlug *)GetPlug();
623 void SetPlug(
const FBPlug* pFBPlug);
648 SetPlug(pPlug.GetPlug());
654 return GetPlug() == pFBPlug.GetPlug();
659 return GetPlug() != pFBPlug.GetPlug();
662 T* operator()()
const 664 return (T *)GetPlug();
667 T* operator->()
const 669 return (T *)GetPlug();
674 return (T *)GetPlug();
678 #ifdef FBSDKUseNamespace
A template class for arrays.
Request connection of destination to source.
The src property of this plug has been modified.
Disconnect owner from destination.
bool mAllocated
Contain the Allocation State of the Component.
The dst property of this plug has been modified.
K_DLLIMPORT void FBDestroyPlugList(FBPlugList *pPlugList)
Delete a FBPlugList object.
Template class to contain an array of items.
Object custom property change.
Data candidate event, after the data is set.
Connected owner to destination.
Component prefix has been renamed.
Plug is owned by undo framework.
Connect source to destination.
static int mGlobalTypeInfo
Represente the Type Index.
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
bool mSDKComponent
bool Plug is an SDK component.
K_DLLIMPORT bool FBConnect(FBPlug *pSrc, FBPlug *pDst, FBConnectionType pConnectionType=kFBConnectionTypeNone)
Request the connection two FBPlug objects.
End replace source during merge.
Request disconnection of source to destination.
Component has been renamed.
Component detached from scene.
The purpose of this file is to hold all of the SDK general-purpose preprocessor definitions.
Disconnect source from destination.
Object/Property itself has been dirty, in case of property get dirty, its owner object will be set di...
Disconnect destination from source.
Compoent request Prefix Rename.
Disconnected source from destination.
Begin replace source during merge.
Component request rename.
Owner object/Namespace has dirty property/objects.
Begin replace destination during merge.
static const char * ClassGroupName
ClassGroupName of the object.
Object/Property itself has been dirty, in case of property get dirty, its owner object will be set di...
K_DLLIMPORT FBPlug * FBGetFBPlug(HIObject pObject, bool pAutoCreate=true)
Get the FBPlug from an Internal Object.
FBConnectionType
Connection types available between plugs.
Owner object/Namespace has data dirty property/objects.
Source has been reordered.
Connected source to destination.
Begin change on destination.
Connect destination to source.
Component description event.
Data candidate event, before the data is set.
Component is going to be renamed.
End change on destination.
#define FBSDKNamespace
FBSDKNamespace define.
Component prefix is going to be renamed.
Object/Property naming change.
The src object of this plug has been modified.
K_DLLIMPORT FBPlugList * FBCreatePlugList()
Create a FBPlugList object.
Connections Basic Open Reality SDK Element.
Component keying candidate event.
K_DLLIMPORT bool FBDisconnect(FBPlug *pSrc, FBPlug *pDst)
Connect two FBPlug objects.
Data candidate event, global candidate.
#define FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
Component curve has changed.
K_DLLIMPORT HIObject FBGetFBObject(HIObject pObject, bool pAutoCreate=false)
Get the SDK object from an Internal Object.
FBArrayTemplate< FBPlug * > FBPlugList
typedef FBArrayTemplate<FBPlug*> FBPlugList;
Disconnected destination from source.
HIObject mObject
Handle on the Plug.
The dst object of this plug has been modified.
Handler of FBPlug object Use this handler object to gracefully take care of dangling pointer problem...
Component curve changes in Dopesheet completed.
Component keying add event.
Owner object/namespace has connection modified property/objects.
Connected destination to source.
Component keying delete event.
Owner object/Namespace has state dirty property/objects.
Request connection of source to destination.
Request disconnection of destination to source.
FBConnectionAction
Possible actions when a notify plug event occurs.
Owner object/Namespace has data dirty property/objects.
static int TypeInfo
TypeInfo.
T * FBCast(HIObject pObject, bool pAutoCreate=false)
Cast the SDK object using it's IObject interface into the proper class.
End replace destination during merge.
K_DLLIMPORT int __FBRegisterTypeInfo(int pInternalClassId)
__FBRegisterTypeInfo For internal use only, Register the TypeInfo mapped to internal class id...