FBCustomManager Class Reference

#include <fbcomponent.h>
FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager FBCustomManager
Inheritance diagram for FBCustomManager:
Inheritance graph
[legend]

List of all members.


Detailed Description

Custom manager class for user controlled observer objects.

This class is used to create a singleton object that has a lifetime similar to the one of the application. Meaning that it is created early in the initialization of the application and survives across File->Open and File->New, being destroyed upon shutdown of the application.

The manager object is notified by the application at certain points in time, such as when the scene is cleared or the application is shutting down.

Manager objects are not saved or mentionned in the FBX files created. Its behavior can be controlled via custom configuration files.

Definition at line 1034 of file fbcomponent.h.


Public Types

typedef FBComponent  __FBParentClass
typedef FBCustomManager  __FBClassType

Public Member Functions

virtual char *  ClassName () override
 
Returns:
Name

virtual bool  Is (int pTypeId) override
 
Parameters:
pTypeId  Represent the id of the type asked.

virtual int  GetTypeId () override
  GetTypeId( int pTypeId ).
  FBCustomManager ()
  Constructor.
void  RegisterManager ()
  Instantiating the manager is not enough.
virtual bool  FBCreate ()
  Open Reality Creation function.
virtual bool  Init ()
  This method is called upon the loading of the plugin, right after FBCreate is called.
virtual bool  Open ()
  Now all the basic initialization is done, but we have yet to load any FBX files or even create the GUI.
virtual bool  Clear ()
  This callback is used when the scene is cleared.
virtual bool  Close ()
  The application is shutting down.

Static Public Member Functions

static int  GetInternalClassId ()
 
Returns:
Internal class Id


Public Attributes

DataFBCustomManager *  mLocalPtr

Static Public Attributes

static int  TypeInfo
  Contains the Type information of the object.

Member Typedef Documentation

typedef Parent __FBParentClass

Type definition.

Definition at line 1037 of file fbcomponent.h.

typedef Name __FBClassType

Type definition.

Definition at line 1039 of file fbcomponent.h.


Constructor & Destructor Documentation

FBCustomManager (  ) 

Constructor.


Member Function Documentation

ClassName (  )  [inline, override, virtual]
Returns:
Name

Reimplemented from FBComponent.

Definition at line 1041 of file fbcomponent.h.

Is ( int  pTypeId  )  [inline, override, virtual]
Parameters:
pTypeId  Represent the id of the type asked.
Returns:
true if the object id correspond

Reimplemented from FBComponent.

Definition at line 1044 of file fbcomponent.h.

virtual int GetTypeId (  )  [inline, override, virtual]

GetTypeId( int pTypeId ).

Returns:
The TypeInfo of the object

Reimplemented from FBComponent.

Definition at line 1044 of file fbcomponent.h.

GetInternalClassId (  )  [inline, static]
Returns:
Internal class Id

Definition at line 1046 of file fbcomponent.h.

void RegisterManager (  ) 

Instantiating the manager is not enough.

It also need to be registered in the list of all managers. This call is done automatically via the use of the macro 'FBRegisterCustomManager'.

virtual bool FBCreate (  )  [virtual]

Open Reality Creation function.

Returns:
Outcome of creation (true/false).

Reimplemented from FBComponent.

virtual bool Init (  )  [virtual]

This method is called upon the loading of the plugin, right after FBCreate is called.

Since it happens very early in the lifespan of the application, not all the initialization is done. So access to system objects is very limited.

virtual bool Open (  )  [virtual]

Now all the basic initialization is done, but we have yet to load any FBX files or even create the GUI.

/warning if Init does not return true, the 'Close()' method will not be called.

virtual bool Clear (  )  [virtual]

This callback is used when the scene is cleared.

This may be from a new file being loaded (not appended to the current one), a File->New or the application being shutdown.

virtual bool Close (  )  [virtual]

The application is shutting down.

Time to cleanup anything that references system resources.


Member Data Documentation

mLocalPtr

Internal pointer.

Reimplemented from FBComponent.

Definition at line 1048 of file fbcomponent.h.

int TypeInfo [static]

Contains the Type information of the object.

Reimplemented from FBComponent.

Definition at line 1048 of file fbcomponent.h.


Please send us your comments about this page.