omegalib  13.1
omega::Console Class Reference

#include <Console.h>

Public Types

enum  DrawFlags { DrawNone = 0, DrawLog = 1 << 1, DrawStats = 1 << 2 }
 
- Public Types inherited from omega::EngineModule
enum  Priority {
  PriorityLowest = 0, PriorityLow = 1, PriorityNormal = 2, PriorityHigh = 3,
  PriorityHighest = 4
}
 
enum  OpenGLProfile { CoreProfile, CompatibilityProfile, UnspecifiedProfile }
 

Public Member Functions

 Console ()
 
virtual ~Console ()
 
virtual void initializeRenderer (Renderer *)
 
virtual void initialize ()
 
virtual void handleEvent (const Event &evt)
 
virtual bool handleCommand (const String &cmd)
 
virtual void addLine (const String &line)
 
void setFont (const FontInfo &font)
 
void setNumLines (int value)
 
int getNumLines ()
 
void setDrawFlags (uint flags)
 
uint getDrawFlags ()
 
- 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 dispose ()
 
virtual void update (const UpdateContext &context)
 
virtual void commitSharedData (SharedOStream &out)
 
virtual void updateSharedData (SharedIStream &in)
 
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 ConsolecreateAndInitialize ()
 
- Static Public Member Functions inherited from omicron::ReferenceType
static void printObjCounts ()
 

Friends

class ConsoleRenderPass
 

Additional Inherited Members

- Static Protected Attributes inherited from omicron::ReferenceType
static List< ReferenceType * > mysObjList
 
+ Inheritance diagram for omega::Console:

Member Enumeration Documentation

Enumerator
DrawNone 
DrawLog 
DrawStats 

Constructor & Destructor Documentation

omega::Console::Console ( )
virtual omega::Console::~Console ( )
virtual

Member Function Documentation

virtual void omega::Console::addLine ( const String line)
virtual

Implements omicron::ILogListener.

static Console* omega::Console::createAndInitialize ( )
static
uint omega::Console::getDrawFlags ( )
inline
int omega::Console::getNumLines ( )
inline
virtual bool omega::Console::handleCommand ( const String cmd)
virtual

Reimplemented from omega::EngineModule.

virtual void omega::Console::handleEvent ( const Event evt)
virtual

Reimplemented from omega::EngineModule.

virtual void omega::Console::initialize ( )
virtual

Reimplemented from omega::EngineModule.

virtual void omega::Console::initializeRenderer ( Renderer )
virtual

Reimplemented from omega::EngineModule.

void omega::Console::setDrawFlags ( uint  flags)
inline
void omega::Console::setFont ( const FontInfo font)
inline
void omega::Console::setNumLines ( int  value)
inline

Friends And Related Function Documentation

friend class ConsoleRenderPass
friend

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