omegalib
13.1
|
Base class for engine modules Engine modules are classes that can be attached to the engine and receive update, event and command calls. More...
#include <ModuleServices.h>
Public Types | |
enum | Priority { PriorityLowest = 0, PriorityLow = 1, PriorityNormal = 2, PriorityHigh = 3, PriorityHighest = 4 } |
enum | OpenGLProfile { CoreProfile, CompatibilityProfile, UnspecifiedProfile } |
Public Member Functions | |
EngineModule (const String &name) | |
EngineModule () | |
virtual | ~EngineModule () |
void | requestOpenGLProfile (OpenGLProfile profile) |
This method can be used within an engine module ctor or initialization to test for module compatibility. More... | |
void | enableSharedData () |
void | disableSharedData () |
virtual void | initialize () |
virtual void | dispose () |
virtual void | update (const UpdateContext &context) |
virtual void | handleEvent (const Event &evt) |
virtual bool | handleCommand (const String &cmd) |
virtual void | commitSharedData (SharedOStream &out) |
virtual void | updateSharedData (SharedIStream &in) |
virtual void | initializeRenderer (Renderer *) |
void | doInitialize (Engine *server) |
void | doDispose () |
virtual bool | isInitialized () |
Engine * | getEngine () |
Priority | getPriority () |
void | setPriority (Priority value) |
const String & | getName () |
Public Member Functions inherited from omicron::ReferenceType | |
ReferenceType () | |
virtual | ~ReferenceType () |
void | ref () |
void | unref () |
long | refCount () |
Friends | |
class | ModuleServices |
Additional Inherited Members | |
Static Public Member Functions inherited from omicron::ReferenceType | |
static void | printObjCounts () |
Static Protected Attributes inherited from omicron::ReferenceType | |
static List< ReferenceType * > | mysObjList |
Base class for engine modules Engine modules are classes that can be attached to the engine and receive update, event and command calls.
|
inline |
|
inline |
|
virtual |
|
inlinevirtual |
Reimplemented from omega::SharedObject.
Reimplemented in omega::EventSharingModule, and omega::ImageBroadcastModule.
void omega::EngineModule::disableSharedData | ( | ) |
|
inlinevirtual |
Reimplemented in omega::MissionControlClient, omegaToolkit::UiModule, omega::EventSharingModule, and omegaToolkit::ui::MenuManager.
void omega::EngineModule::doDispose | ( | ) |
void omega::EngineModule::doInitialize | ( | Engine * | server | ) |
void omega::EngineModule::enableSharedData | ( | ) |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented in omega::Actor, omega::Console, and omega::CameraController.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in omegaToolkit::UiModule, and omega::Console.
|
inlinevirtual |
void omega::EngineModule::requestOpenGLProfile | ( | OpenGLProfile | profile | ) |
This method can be used within an engine module ctor or initialization to test for module compatibility.
After initialization, the module will test requested profile against what the display system is running.
|
inline |
|
inlinevirtual |
Reimplemented in omega::MissionControlClient, omega::Actor, omegaToolkit::WandManipulator, omegaToolkit::UiModule, omegaToolkit::SceneEditorModule, omegaToolkit::ui::MenuManager, omega::CameraController, omega::KeyboardMouseCameraController, omega::GamepadCameraController, omega::TrackedObject, omega::WandCameraController, omega::MouseCameraController, omegaToolkit::ControllerManipulator, and omegaToolkit::MouseManipulator.
|
inlinevirtual |
Reimplemented from omega::SharedObject.
Reimplemented in omega::EventSharingModule, and omega::ImageBroadcastModule.
|
friend |