Definition in file fbcommand.h.
#include <kaydaradef.h>
#include <fbsdk/fbcomponent.h>


Go to the source code of this file.
Classes |
|
| class | FBCommand |
| Command class. More... |
|
Defines |
|
| #define | FBSDK_DLL K_DLLIMPORT |
| Be sure that FBSDK_DLL is defined only once.
|
|
| #define | FBRegisterCommand(UniqueNameStr, ClassName, Label, Description, IconFilename) |
| Command class registration. |
|
| #define | FBCommandDeclare(ClassName, Parent) |
| Command class declaration. |
|
| #define | FBCommandImplementation(ThisComponent) FBClassImplementation( ThisComponent ) |
| Command class implementation. |
|
Enumerations |
|
| enum | FBCommandState
{ kFBCommandStateStandard, kFBCommandStateMute, kFBCommandStateSolo, kFBCommandStateMuteBecauseSolo } |
| FBCommandState. More... |
|
| enum | FBTimeReferential
{ kFBTimeReferentialAction, kFBTimeReferentialShot, kFBTimeReferentialEdit } |
| FBCommandState. More... |
|
| #define FBCommandDeclare | ( | ClassName, | |||
| Parent | ) |
Value:
FBClassDeclare( ClassName,Parent); \ public: \ ClassName(char * pName):Parent(pName) { FBClassInit; } \ private:
| ClassName | Command class name. | |
| Parent | Parent class. |
Definition at line 89 of file fbcommand.h.
| #define FBCommandImplementation | ( | ThisComponent | ) | FBClassImplementation( ThisComponent ) |
Command class implementation.
| ThisComponent | Class to implement. |
Definition at line 98 of file fbcommand.h.
| #define FBRegisterCommand | ( | UniqueNameStr, | |||
| ClassName, | |||||
| Label, | |||||
| Description, | |||||
| IconFilename | ) |
Value:
HIObject RegisterCommand##ClassName( HIObject /*pOwner*/,char * pName,void * /*pData*/) \ { \ ClassName *Class = new ClassName( Label ); \ if (Class->FBCreate()) { \ return Class->GetHIObject(); \ } else { \ delete Class; \ return NULL; \ } \ } \ FBLibraryModule( ClassName ) \ { \ FBRegisterObject( ClassName##R1,"Commands",Label,Description,RegisterCommand##ClassName, true, IconFilename ); \ FBRegisterObject( ClassName##R2,"FbxStorable/Command",UniqueNameStr,Description,RegisterCommand##ClassName, true, IconFilename ); \ FBRegisterObject( ClassName##R3,"Browsing/Templates/Commands",Label,Description,RegisterCommand##ClassName, true, "object_command.tif" ); \ } \
| UniqueNameStr | Unique name. | |
| ClassName | Command class name. | |
| Label | Short description. | |
| Description | Long description. | |
| IconFilename | Filename of associated icon. |
Definition at line 67 of file fbcommand.h.
| #define FBSDK_DLL K_DLLIMPORT |
| enum FBCommandState |
FBCommandState.
| kFBCommandStateStandard | Standard. |
| kFBCommandStateMute | Mute. |
| kFBCommandStateSolo | Solo. |
| kFBCommandStateMuteBecauseSolo | Mute because of solo. |
Definition at line 107 of file fbcommand.h.
| enum FBTimeReferential |
FBCommandState.
| kFBTimeReferentialAction | Action. |
| kFBTimeReferentialShot | Shot. |
| kFBTimeReferentialEdit | Edit. |
Definition at line 115 of file fbcommand.h.