se_ogre::Console Class Reference

#include <Console.hpp>

List of all members.

Public Member Functions

 Console ()
 ~Console ()
void setGuiSystem ()
void setConsoleHandler (ConsoleHandler *h)
 Set the console handler that will handle this object.
void setupGuiSystem ()
void createConsoleWindow ()
void initXMLMenu (const char *filename)
void output (const char *msg)
 Output message to console.
void output (const wchar_t *msg)
void keyPressed (const OIS::KeyEvent *e)
void mouseMoved (const OIS::MouseEvent *e)
void mouseDragged (const OIS::MouseEvent *e)
void mouseReleased (const OIS::MouseEvent *e, int button)
void mousePressed (const OIS::MouseEvent *e, int button)
bool isFocused ()
void setFocus (bool newState)
void flipFocus ()
void renderGui ()
void updateConsole ()

Protected Member Functions

void clearInput ()

Protected Attributes

bool isFocused_
ConsoleHandlerhandler_
int inCount_
int outCount_
int lineCount_
wchar_t * input_
wchar_t * output_
CEGUI::OgreCEGUIRenderer * guiRenderer_
CEGUI::System * guiSystem_
CEGUI::Window * editorGuiSheet_
CEGUI::MultiLineEditbox * editBox_
Ogre::RenderTexture * rttTexture_

Static Protected Attributes

const int INPUT_BUFFER_SIZE = 256
const int OUTPUT_BUFFER_SIZE = 16384


Constructor & Destructor Documentation

se_ogre::Console::Console  ) 
 

Definition at line 55 of file Console.cpp.

se_ogre::Console::~Console  ) 
 

Definition at line 70 of file Console.cpp.


Member Function Documentation

void se_ogre::Console::clearInput  )  [protected]
 

Definition at line 91 of file Console.cpp.

void se_ogre::Console::createConsoleWindow  ) 
 

Definition at line 219 of file Console.cpp.

void se_ogre::Console::flipFocus  ) 
 

Definition at line 100 of file Console.cpp.

void se_ogre::Console::initXMLMenu const char *  filename  ) 
 

Definition at line 249 of file Console.cpp.

bool se_ogre::Console::isFocused  )  [inline]
 

Definition at line 63 of file Console.hpp.

void se_ogre::Console::keyPressed const OIS::KeyEvent *  e  ) 
 

Definition at line 324 of file Console.cpp.

References LogDetail.

void se_ogre::Console::mouseDragged const OIS::MouseEvent *  e  ) 
 

Definition at line 416 of file Console.cpp.

void se_ogre::Console::mouseMoved const OIS::MouseEvent *  e  ) 
 

Definition at line 406 of file Console.cpp.

void se_ogre::Console::mousePressed const OIS::MouseEvent *  e,
int  button
 

Definition at line 422 of file Console.cpp.

References se_ogre::convertOgreButtonToCegui().

void se_ogre::Console::mouseReleased const OIS::MouseEvent *  e,
int  button
 

Definition at line 431 of file Console.cpp.

References se_ogre::convertOgreButtonToCegui().

void se_ogre::Console::output const wchar_t *  msg  ) 
 

Definition at line 301 of file Console.cpp.

void se_ogre::Console::output const char *  msg  ) 
 

Output message to console.

Definition at line 279 of file Console.cpp.

void se_ogre::Console::renderGui  ) 
 

Definition at line 211 of file Console.cpp.

void se_ogre::Console::setConsoleHandler ConsoleHandler h  ) 
 

Set the console handler that will handle this object.

Definition at line 258 of file Console.cpp.

References Assert, and se_ogre::ConsoleHandler::console_.

void se_ogre::Console::setFocus bool  newState  )  [inline]
 

Definition at line 64 of file Console.hpp.

void se_ogre::Console::setGuiSystem  ) 
 

void se_ogre::Console::setupGuiSystem  ) 
 

Definition at line 151 of file Console.cpp.

References LogDetail.

void se_ogre::Console::updateConsole  ) 
 

Definition at line 118 of file Console.cpp.

References Assert.


Member Data Documentation

CEGUI::MultiLineEditbox* se_ogre::Console::editBox_ [protected]
 

Definition at line 84 of file Console.hpp.

CEGUI::Window* se_ogre::Console::editorGuiSheet_ [protected]
 

Definition at line 83 of file Console.hpp.

CEGUI::OgreCEGUIRenderer* se_ogre::Console::guiRenderer_ [protected]
 

Definition at line 81 of file Console.hpp.

CEGUI::System* se_ogre::Console::guiSystem_ [protected]
 

Definition at line 82 of file Console.hpp.

ConsoleHandler* se_ogre::Console::handler_ [protected]
 

Definition at line 73 of file Console.hpp.

int se_ogre::Console::inCount_ [protected]
 

Definition at line 74 of file Console.hpp.

wchar_t* se_ogre::Console::input_ [protected]
 

Definition at line 76 of file Console.hpp.

const int se_ogre::Console::INPUT_BUFFER_SIZE = 256 [static, protected]
 

Definition at line 75 of file Console.hpp.

bool se_ogre::Console::isFocused_ [protected]
 

Definition at line 72 of file Console.hpp.

int se_ogre::Console::lineCount_ [protected]
 

Definition at line 74 of file Console.hpp.

int se_ogre::Console::outCount_ [protected]
 

Definition at line 74 of file Console.hpp.

wchar_t* se_ogre::Console::output_ [protected]
 

Definition at line 78 of file Console.hpp.

const int se_ogre::Console::OUTPUT_BUFFER_SIZE = 16384 [static, protected]
 

Definition at line 77 of file Console.hpp.

Ogre::RenderTexture* se_ogre::Console::rttTexture_ [protected]
 

Definition at line 86 of file Console.hpp.


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

Home Page | SagaEngine trunk (updated nightly) reference generated Sun Dec 2 20:06:32 2007 by Doxygen version 1.3.9.1.

SourceForge.net Logo