Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Emma::WxGUI Class Reference

WxGUI represents a user interface panel composed of WxWidgets. More...

#include <EmmaWxGUI.h>

Inheritance diagram for Emma::WxGUI:

Emma::Node Emma::EventHandler Emma::Extension Emma::Thread Fusion::Object Fusion::IObject List of all members.

Public Member Functions

 WxGUI ()
virtual ~WxGUI ()
 DECLARE_CLASS (WxGUI, Node)
Fusion::ResultType execute ()
virtual void execute (wxEvent *event)
virtual Fusion::ResultType preInitialize ()
virtual Fusion::ResultType finalize ()
 Finalize this instance before it is destroyed.
virtual Fusion::ResultType endFieldFiring (const char *property, const Fusion::Value &value)
virtual bool handleEvent (const Event &event)
 Callback function that is implemented by the callee.
virtual int filterWxEvent (wxEvent &event)
virtual Fusion::Value createMenu ()
virtual void addMenuEvent (int32_t id)
virtual Fusion::Value getGUI ()

Protected Types

enum  WxGuiEventType {
  NONE, URL, NAME, SHOW,
  FLOATING, WIDGETS, POSITION, UNLOAD,
  TERMINATE
}

Protected Member Functions

bool _unloadResource ()
bool _createDialog ()
void _setEvents ()
void _updatePosition ()
void _fieldFired (WxGuiEventType)
void _processEvent (WxGuiEventType t)
bool _sendEvent (WxGuiEventType t)

Friends

class MyApp

Detailed Description

WxGUI represents a user interface panel composed of WxWidgets.

Author:
Chris Marrin, Murat Aktihanoglu
Date:
5/24/2005


Member Enumeration Documentation

enum Emma::WxGUI::WxGuiEventType [protected]
 

Enumerator:
NONE 
URL 
NAME 
SHOW 
FLOATING 
WIDGETS 
POSITION 
UNLOAD 
TERMINATE 


Constructor & Destructor Documentation

Emma::WxGUI::WxGUI  ) 
 

virtual Emma::WxGUI::~WxGUI  )  [virtual]
 


Member Function Documentation

bool Emma::WxGUI::_createDialog  )  [protected]
 

void Emma::WxGUI::_fieldFired WxGuiEventType   )  [protected]
 

void Emma::WxGUI::_processEvent WxGuiEventType  t  )  [protected]
 

bool Emma::WxGUI::_sendEvent WxGuiEventType  t  )  [protected]
 

void Emma::WxGUI::_setEvents  )  [protected]
 

bool Emma::WxGUI::_unloadResource  )  [protected]
 

void Emma::WxGUI::_updatePosition  )  [protected]
 

virtual void Emma::WxGUI::addMenuEvent int32_t  id  )  [virtual]
 

virtual Fusion::Value Emma::WxGUI::createMenu  )  [virtual]
 

Emma::WxGUI::DECLARE_CLASS WxGUI  ,
Node 
 

virtual Fusion::ResultType Emma::WxGUI::endFieldFiring const char *  property,
const Fusion::Value value
[virtual]
 

Reimplemented from Emma::Node.

virtual void Emma::WxGUI::execute wxEvent *  event  )  [virtual]
 

Fusion::ResultType Emma::WxGUI::execute  )  [virtual]
 

Implements Emma::Thread.

virtual int Emma::WxGUI::filterWxEvent wxEvent &  event  )  [virtual]
 

virtual Fusion::ResultType Emma::WxGUI::finalize  )  [virtual]
 

Finalize this instance before it is destroyed.

Reimplemented from Fusion::Object.

virtual Fusion::Value Emma::WxGUI::getGUI  )  [inline, virtual]
 

virtual bool Emma::WxGUI::handleEvent const Event event  )  [virtual]
 

Callback function that is implemented by the callee.

Parameters:
event specifies the time of the event. Event time will be the same for events occurring in the same render phase For example, PREUPDATE, POSTUPDATE, PRERENDER and POSTRENDER event callbacks will all pass the same event time for the same frame. Returning stop Emma from calling the rest of the handlers for this event If you return true, Emma will keep on calling rest of the handlers for this event

Implements Emma::EventHandler.

virtual Fusion::ResultType Emma::WxGUI::preInitialize  )  [virtual]
 

Reimplemented from Fusion::Object.


Friends And Related Function Documentation

friend class MyApp [friend]
 


The documentation for this class was generated from the following file:
Generated on Sat Apr 1 06:08:29 2006 for Emma SDK Guide by  doxygen 1.4.3