Declaration for the FBCommand class. More...
#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... |
|
Functions |
|
__FB_FORWARD (FBCommand) | |
FB_DEFINE_ENUM (FBSDK_DLL, CommandState) | |
FB_DEFINE_ENUM (FBSDK_DLL, TimeReferential) | |
FB_DEFINE_COMPONENT (FBSDK_DLL, Command) |
Declaration for the FBCommand class.
Definition in file fbcommand.h.
#define FBSDK_DLL K_DLLIMPORT |
Be sure that FBSDK_DLL is defined only once...
Definition at line 48 of file fbcommand.h.
#define FBRegisterCommand | ( | UniqueNameStr, | |
ClassName, | |||
Label, | |||
Description, | |||
IconFilename | |||
) |
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" ); \ } \
Command class registration.
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 FBCommandDeclare | ( | ClassName, | |
Parent | |||
) |
FBClassDeclare( ClassName,Parent); \ public: \ ClassName(char * pName):Parent(pName) { FBClassInit; } \ private:
Command class declaration.
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.
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.
__FB_FORWARD | ( | FBCommand | ) |
FB_DEFINE_ENUM | ( | FBSDK_DLL | , |
CommandState | |||
) |
FB_DEFINE_ENUM | ( | FBSDK_DLL | , |
TimeReferential | |||
) |
FB_DEFINE_COMPONENT | ( | FBSDK_DLL | , |
Command | |||
) |