omegalib  13.1
omega::EventSharingModule Class Reference

#include <EventSharingModule.h>

Public Member Functions

 EventSharingModule ()
 
virtual void commitSharedData (SharedOStream &out)
 
virtual void updateSharedData (SharedIStream &in)
 
virtual void dispose ()
 
- Public Member Functions inherited from omega::EngineModule
 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 update (const UpdateContext &context)
 
virtual void handleEvent (const Event &evt)
 
virtual bool handleCommand (const String &cmd)
 
virtual void initializeRenderer (Renderer *)
 
void doInitialize (Engine *server)
 
void doDispose ()
 
virtual bool isInitialized ()
 
EnginegetEngine ()
 
Priority getPriority ()
 
void setPriority (Priority value)
 
const StringgetName ()
 
- Public Member Functions inherited from omicron::ReferenceType
 ReferenceType ()
 
virtual ~ReferenceType ()
 
void ref ()
 
void unref ()
 
long refCount ()
 

Static Public Member Functions

static void markLocal (const Event &evt)
 
static bool isLocal (const Event &evt)
 
static void share (const Event &evt)
 
static void clearQueue ()
 
- Static Public Member Functions inherited from omicron::ReferenceType
static void printObjCounts ()
 

Static Public Attributes

static const int MaxSharedEventsQueue = 120
 Max number of events. More...
 
static const uint LocalEventFlag = Event::User << 2
 Flag for local events. More...
 

Additional Inherited Members

- Public Types inherited from omega::EngineModule
enum  Priority {
  PriorityLowest = 0, PriorityLow = 1, PriorityNormal = 2, PriorityHigh = 3,
  PriorityHighest = 4
}
 
enum  OpenGLProfile { CoreProfile, CompatibilityProfile, UnspecifiedProfile }
 
- Static Protected Attributes inherited from omicron::ReferenceType
static List< ReferenceType * > mysObjList
 
+ Inheritance diagram for omega::EventSharingModule:

Constructor & Destructor Documentation

omega::EventSharingModule::EventSharingModule ( )

Member Function Documentation

static void omega::EventSharingModule::clearQueue ( )
static
virtual void omega::EventSharingModule::commitSharedData ( SharedOStream out)
virtual

Reimplemented from omega::EngineModule.

virtual void omega::EventSharingModule::dispose ( )
virtual

Reimplemented from omega::EngineModule.

bool omega::EventSharingModule::isLocal ( const Event evt)
inlinestatic
void omega::EventSharingModule::markLocal ( const Event evt)
inlinestatic
static void omega::EventSharingModule::share ( const Event evt)
static
virtual void omega::EventSharingModule::updateSharedData ( SharedIStream in)
virtual

Reimplemented from omega::EngineModule.

Member Data Documentation

const uint omega::EventSharingModule::LocalEventFlag = Event::User << 2
static

Flag for local events.

const int omega::EventSharingModule::MaxSharedEventsQueue = 120
static

Max number of events.


The documentation for this class was generated from the following file: