1 #ifndef __FBCOMMAND_H__ 2 #define __FBCOMMAND_H__ 43 #include <kaydaradef.h> 48 #define FBSDK_DLL K_DLLIMPORT 53 #ifdef FBSDKUseNamespace 67 #define FBRegisterCommand( UniqueNameStr, ClassName, Label, Description, IconFilename ) \ 68 HIObject RegisterCommand##ClassName( HIObject ,const char* pName,void * ) \ 70 ClassName *Class = new ClassName( Label ); \ 71 Class->mAllocated = true; \ 72 if (Class->FBCreate()) { \ 73 return Class->GetHIObject(); \ 79 FBLibraryModule( ClassName ) \ 81 FBRegisterObject( ClassName##R1,"Commands",Label,Description,RegisterCommand##ClassName, true, IconFilename ); \ 82 FBRegisterObject( ClassName##R2,"FbxStorable/Command",UniqueNameStr,Description,RegisterCommand##ClassName, true, IconFilename ); \ 83 FBRegisterObject( ClassName##R3,"Browsing/Templates/Commands",Label,Description,RegisterCommand##ClassName, true, "object_command.tif" ); \ 90 #define FBCommandDeclare( ClassName, Parent ) \ 91 FBClassDeclare( ClassName,Parent); \ 93 ClassName(const char* pName):Parent(pName) { FBClassInit; } \ 99 #define FBCommandImplementation( ThisComponent ) \ 100 FBClassImplementation( ThisComponent ) 135 FBCommand(
const char* pName = NULL, HIObject pObject = NULL);
137 IObject_Declare(K_IMPLEMENTATION);
149 virtual void ExecuteNotify();
152 virtual void DragAndDropClearNotify();
157 virtual void DragAndDropAddNotify(
FBComponent* pComponent );
162 virtual void RemoveNotify(HIObject pComponent);
171 #ifdef FBSDKUseNamespace kFbxObjectStore
Description of the different store/retrieve passes of the FBX format.
#define __FBClassDeclare(Name, Parent)
For internal use only.
FB_DEFINE_COMPONENT(K_DLLIMPORT, AnimationNode)
Animation node class.
FBPropertyTimeReferential TimeReferential
Property: What is the time referential of the command?
FBPropertyString Description
Property: Command description.
#define FB_DEFINE_ENUM(DllTag, Type)
Define an enum and give it the ability to be a property.
FBPropertyTime StopTime
Property: Stop time for the command.
FBCommandState
FBCommandState.
FBTimeReferential
FBCommandState.
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
#define FBSDKNamespace
FBSDKNamespace define.
Property class: const char * (String).
FBPropertyCommandState State
Property: Current state of the command.
FBPropertyTime StartTime
Property: Start time for the command.
class K_DLLIMPORT FBPropertyBase< FBTime, kFBPT_Time > FBPropertyTime
Property: FBTime
MotionBuilder SDK base class.