fbdevicelayout.h File Reference

FBDevice layout file. More...

#include <kaydaradef.h>
#include <fbsdk/fbcore.h>
#include <fbcontrols/fbcontrols.h>

Go to the source code of this file.

Classes

class   FBDeviceLayout
  Device layout class. More...
class   FBDeviceOpticalLayout
  Layout for optical device. More...
class   FBDeviceCameraLayout
  Camera device layout. More...

Defines

#define  FBSDK_DLL   K_DLLIMPORT
  Be sure that FBSDK_DLL is defined only once...
#define  FBRegisterDeviceLayout(ClassName, UniqueNameStr, IconFilename)
  Register a device layout class.
#define  FBDeviceLayoutDeclare(ClassName, Parent)
  Device layout declaration.
#define  FBDeviceLayoutImplementation(ThisComponent)   FBClassImplementation( ThisComponent )
  Device layout implementation.
#define  FBTRACKER_NO_LENSFILE   "-- no lens file --"
  FBTRACKER_NO_LENSFILE.

Functions

  FB_FORWARD (FBDeviceCameraInstrument)
  FB_FORWARD (FBDeviceCamera)
  FB_FORWARD (FBDeviceOptical)
  __FB_FORWARD (FBDeviceLayout)
  __FB_FORWARD (FBDeviceOpticalLayout)
  __FB_FORWARD (FBDeviceCameraLayout)

Detailed Description

FBDevice layout file.

Definition in file fbdevicelayout.h.


Define Documentation

#define FBSDK_DLL   K_DLLIMPORT

Be sure that FBSDK_DLL is defined only once...

Definition at line 48 of file fbdevicelayout.h.

#define FBRegisterDeviceLayout (   ClassName,
  UniqueNameStr,
  IconFilename 
)
Value:
HIObject RegisterDeviceLayout##ClassName( HIObject /*pOwner*/,char * /*pName*/,void *pData) \
    {\
        ClassName *Class = new ClassName( (HFBDevice)FBGetFBObject((HIObject)pData) ); \
        Class->mAllocated = true; \
        if (Class->FBCreate()) { \
            return Class->GetHIObject(); \
        } else { \
            delete Class; \
            return NULL; \
        } \
    } \
    FBLibraryModule( ClassName )    \
    {   \
        FBRegisterObject( ClassName,"UI_Associated_ClassName",UniqueNameStr,UniqueNameStr" Device Layout",RegisterDeviceLayout##ClassName, true, IconFilename );\
    }

Register a device layout class.

Parameters:
ClassName Name of device layout class.
UniqueNameStr Unique name of class.
IconFilename Filename of associated icon.

Definition at line 71 of file fbdevicelayout.h.

#define FBDeviceLayoutDeclare (   ClassName,
  Parent 
)
Value:
FBClassDeclare( ClassName,Parent ); \
  public: \
    ClassName(HFBDevice pDevice):Parent(pDevice) { FBClassInit; } \
  private:

Device layout declaration.

Parameters:
ClassName Name of device layout class.
Parent Parent of device layout class.

Definition at line 92 of file fbdevicelayout.h.

#define FBDeviceLayoutImplementation (   ThisComponent )    FBClassImplementation( ThisComponent )

Device layout implementation.

Parameters:
ThisComponent Name of device layout class to implement.

Definition at line 101 of file fbdevicelayout.h.

#define FBTRACKER_NO_LENSFILE   "-- no lens file --"

FBTRACKER_NO_LENSFILE.

Definition at line 165 of file fbdevicelayout.h.


Function Documentation