Crazy Eddie's GUI System  ${CEGUI_VERSION}
WindowManager_wrapper Struct Reference
+ Inheritance diagram for WindowManager_wrapper:
+ Collaboration diagram for WindowManager_wrapper:

Public Member Functions

virtual void fireEvent (::CEGUI::String const &name,::CEGUI::EventArgs &args,::CEGUI::String const &eventNamespace="")
 
void default_fireEvent (::CEGUI::String const &name,::CEGUI::EventArgs &args,::CEGUI::String const &eventNamespace="")
 
void fireEvent_impl (::CEGUI::String const &name,::CEGUI::EventArgs &args)
 
::CEGUI::ScriptModulegetScriptModule () const
 
virtual ::CEGUI::RefCounted< CEGUI::BoundSlotsubscribeScriptedEvent (::CEGUI::String const &name,::CEGUI::String const &subscriber_name)
 
::CEGUI::RefCounted< CEGUI::BoundSlotdefault_subscribeScriptedEvent (::CEGUI::String const &name,::CEGUI::String const &subscriber_name)
 
virtual ::CEGUI::RefCounted< CEGUI::BoundSlotsubscribeScriptedEvent (::CEGUI::String const &name, unsigned int group,::CEGUI::String const &subscriber_name)
 
::CEGUI::RefCounted< CEGUI::BoundSlotdefault_subscribeScriptedEvent (::CEGUI::String const &name, unsigned int group,::CEGUI::String const &subscriber_name)
 
- Public Member Functions inherited from CEGUI::WindowManager
 WindowManager (void)
 Constructs a new WindowManager object. More...
 
 ~WindowManager (void)
 Destructor for WindowManager objects. More...
 
WindowcreateWindow (const String &type, const String &name="")
 Creates a new Window object of the specified type, and gives it the specified unique name. More...
 
void destroyWindow (Window *window)
 Destroy the specified Window object. More...
 
void destroyAllWindows (void)
 Destroys all Window objects within the system. More...
 
bool isAlive (const Window *window) const
 return whether Window is alive.
 
WindowloadLayoutFromContainer (const RawDataContainer &source, PropertyCallback *callback=0, void *userdata=0)
 Creates a set of windows (a GUI layout) from the information in the specified XML. More...
 
WindowloadLayoutFromFile (const String &filename, const String &resourceGroup="", PropertyCallback *callback=0, void *userdata=0)
 Creates a set of windows (a GUI layout) from the information in the specified XML file. More...
 
WindowloadLayoutFromString (const String &source, PropertyCallback *callback=0, void *userdata=0)
 Creates a set of windows (a GUI layout) from the information in the specified XML. More...
 
bool isDeadPoolEmpty (void) const
 Return whether the window dead pool is empty. More...
 
void cleanDeadPool (void)
 Permanently destroys any windows placed in the dead pool. More...
 
void writeLayoutToStream (const Window &window, OutStream &out_stream) const
 Writes a full XML window layout, starting at the given Window to the given OutStream. More...
 
String getLayoutAsString (const Window &window) const
 Writes a full XML window layout, starting at the given Window and returns the result as string. More...
 
void saveLayoutToFile (const Window &window, const String &filename) const
 Save a full XML window layout, starting at the given Window, to a file with the given file name. More...
 
void lock ()
 Put WindowManager into the locked state. More...
 
void unlock ()
 Put WindowManager into the unlocked state. More...
 
bool isLocked () const
 Returns whether WindowManager is currently in the locked state. More...
 
WindowIterator getIterator (void) const
 Return a WindowManager::WindowIterator object to iterate over the currently defined Windows.
 
void DEBUG_dumpWindowNames (String zone) const
 Outputs the names of ALL existing windows to log (DEBUG function). More...
 
 WindowManager (void)
 Constructs a new WindowManager object. More...
 
 ~WindowManager (void)
 Destructor for WindowManager objects. More...
 
WindowcreateWindow (const String &type, const String &name="")
 Creates a new Window object of the specified type, and gives it the specified unique name. More...
 
void destroyWindow (Window *window)
 Destroy the specified Window object. More...
 
void destroyAllWindows (void)
 Destroys all Window objects within the system. More...
 
bool isAlive (const Window *window) const
 return whether Window is alive.
 
WindowloadLayoutFromContainer (const RawDataContainer &source, PropertyCallback *callback=0, void *userdata=0)
 Creates a set of windows (a GUI layout) from the information in the specified XML. More...
 
WindowloadLayoutFromFile (const String &filename, const String &resourceGroup="", PropertyCallback *callback=0, void *userdata=0)
 Creates a set of windows (a GUI layout) from the information in the specified XML file. More...
 
WindowloadLayoutFromString (const String &source, PropertyCallback *callback=0, void *userdata=0)
 Creates a set of windows (a GUI layout) from the information in the specified XML. More...
 
bool isDeadPoolEmpty (void) const
 Return whether the window dead pool is empty. More...
 
void cleanDeadPool (void)
 Permanently destroys any windows placed in the dead pool. More...
 
void writeLayoutToStream (const Window &window, OutStream &out_stream) const
 Writes a full XML window layout, starting at the given Window to the given OutStream. More...
 
String getLayoutAsString (const Window &window) const
 Writes a full XML window layout, starting at the given Window and returns the result as string. More...
 
void saveLayoutToFile (const Window &window, const String &filename) const
 Save a full XML window layout, starting at the given Window, to a file with the given file name. More...
 
void lock ()
 Put WindowManager into the locked state. More...
 
void unlock ()
 Put WindowManager into the unlocked state. More...
 
bool isLocked () const
 Returns whether WindowManager is currently in the locked state. More...
 
WindowIterator getIterator (void) const
 Return a WindowManager::WindowIterator object to iterate over the currently defined Windows.
 
void DEBUG_dumpWindowNames (String zone) const
 Outputs the names of ALL existing windows to log (DEBUG function). More...
 
- Public Member Functions inherited from CEGUI::EventSet
 EventSet ()
 Constructor for EventSet objects.
 
virtual ~EventSet (void)
 Destructor for EventSet objects.
 
void addEvent (const String &name)
 Creates a new Event object with the given name and adds it to the EventSet. More...
 
void addEvent (Event &event)
 Adds the given Event object to the EventSet. Ownership of the object passes to EventSet and it will be deleted when it is removed from the EventSet - whether explicitly via removeEvent or when the EventSet is destroyed. More...
 
void removeEvent (const String &name)
 Removes the Event with the given name. All connections to the event are disconnected, and the underlying Event object is destroyed. More...
 
void removeEvent (Event &event)
 Removes the given event from the EventSet. All connections to the event are disconnected, and the event object is destroyed. More...
 
void removeAllEvents (void)
 Remove all Event objects from the EventSet. Add connections will be disconnected, and all Event objects destroyed.
 
bool isEventPresent (const String &name)
 Checks to see if an Event with the given name is present in this EventSet. More...
 
virtual Event::Connection subscribeEvent (const String &name, Event::Subscriber subscriber)
 Subscribes a handler to the named Event. If the named Event is not yet present in the EventSet, it is created and added. More...
 
virtual Event::Connection subscribeEvent (const String &name, Event::Group group, Event::Subscriber subscriber)
 Subscribes a handler to the specified group of the named Event. If the named Event is not yet present in the EventSet, it is created and added. More...
 
template<typename Arg1 , typename Arg2 >
Event::Connection subscribeEvent (const String &name, Arg1 arg1, Arg2 arg2)
 Subscribes a handler to the named Event. If the named Event is not yet present in the EventSet, it is created and added. More...
 
template<typename Arg1 , typename Arg2 >
Event::Connection subscribeEvent (const String &name, Event::Group group, Arg1 arg1, Arg2 arg2)
 Subscribes a handler to the named Event. If the named Event is not yet present in the EventSet, it is created and added. More...
 
virtual Event::Connection subscribeScriptedEvent (const String &name, const String &subscriber_name)
 Subscribes the named Event to a scripted funtion. More...
 
virtual Event::Connection subscribeScriptedEvent (const String &name, Event::Group group, const String &subscriber_name)
 Subscribes the specified group of the named Event to a scripted funtion. More...
 
virtual void fireEvent (const String &name, EventArgs &args, const String &eventNamespace="")
 Fires the named event passing the given EventArgs object. More...
 
bool isMuted (void) const
 Return whether the EventSet is muted or not. More...
 
void setMutedState (bool setting)
 Set the mute state for this EventSet. More...
 
EventgetEventObject (const String &name, bool autoAdd=false)
 Return a pointer to the Event object with the given name, optionally adding such an Event object to the EventSet if it does not already exist. More...
 
EventIterator getEventIterator (void) const
 Return a EventSet::EventIterator object to iterate over the events currently added to the EventSet.
 
 EventSet ()
 Constructor for EventSet objects.
 
virtual ~EventSet (void)
 Destructor for EventSet objects.
 
void addEvent (const String &name)
 Creates a new Event object with the given name and adds it to the EventSet. More...
 
void addEvent (Event &event)
 Adds the given Event object to the EventSet. Ownership of the object passes to EventSet and it will be deleted when it is removed from the EventSet - whether explicitly via removeEvent or when the EventSet is destroyed. More...
 
void removeEvent (const String &name)
 Removes the Event with the given name. All connections to the event are disconnected, and the underlying Event object is destroyed. More...
 
void removeEvent (Event &event)
 Removes the given event from the EventSet. All connections to the event are disconnected, and the event object is destroyed. More...
 
void removeAllEvents (void)
 Remove all Event objects from the EventSet. Add connections will be disconnected, and all Event objects destroyed.
 
bool isEventPresent (const String &name)
 Checks to see if an Event with the given name is present in this EventSet. More...
 
virtual Event::Connection subscribeEvent (const String &name, Event::Subscriber subscriber)
 Subscribes a handler to the named Event. If the named Event is not yet present in the EventSet, it is created and added. More...
 
virtual Event::Connection subscribeEvent (const String &name, Event::Group group, Event::Subscriber subscriber)
 Subscribes a handler to the specified group of the named Event. If the named Event is not yet present in the EventSet, it is created and added. More...
 
template<typename Arg1 , typename Arg2 >
Event::Connection subscribeEvent (const String &name, Arg1 arg1, Arg2 arg2)
 Subscribes a handler to the named Event. If the named Event is not yet present in the EventSet, it is created and added. More...
 
template<typename Arg1 , typename Arg2 >
Event::Connection subscribeEvent (const String &name, Event::Group group, Arg1 arg1, Arg2 arg2)
 Subscribes a handler to the named Event. If the named Event is not yet present in the EventSet, it is created and added. More...
 
virtual Event::Connection subscribeScriptedEvent (const String &name, const String &subscriber_name)
 Subscribes the named Event to a scripted funtion. More...
 
virtual Event::Connection subscribeScriptedEvent (const String &name, Event::Group group, const String &subscriber_name)
 Subscribes the specified group of the named Event to a scripted funtion. More...
 
virtual void fireEvent (const String &name, EventArgs &args, const String &eventNamespace="")
 Fires the named event passing the given EventArgs object. More...
 
bool isMuted (void) const
 Return whether the EventSet is muted or not. More...
 
void setMutedState (bool setting)
 Set the mute state for this EventSet. More...
 
EventgetEventObject (const String &name, bool autoAdd=false)
 Return a pointer to the Event object with the given name, optionally adding such an Event object to the EventSet if it does not already exist. More...
 
EventIterator getEventIterator (void) const
 Return a EventSet::EventIterator object to iterate over the events currently added to the EventSet.
 

Additional Inherited Members

- Public Types inherited from CEGUI::WindowManager
typedef bool PropertyCallback(Window *window, String &propname, String &propvalue, void *userdata)
 Function type that is used as a callback when loading layouts from XML; the function is called for each Property element encountered. More...
 
typedef ConstVectorIterator< WindowVector > WindowIterator
 
typedef bool PropertyCallback(Window *window, String &propname, String &propvalue, void *userdata)
 Function type that is used as a callback when loading layouts from XML; the function is called for each Property element encountered. More...
 
typedef ConstVectorIterator< WindowVector > WindowIterator
 
- Public Types inherited from CEGUI::EventSet
typedef ConstMapIterator< EventMap > EventIterator
 
typedef ConstMapIterator< EventMap > EventIterator
 
- Static Public Member Functions inherited from CEGUI::WindowManager
static const StringgetDefaultResourceGroup ()
 Returns the default resource group currently set for layouts. More...
 
static void setDefaultResourceGroup (const String &resourceGroup)
 Sets the default resource group to be used when loading layouts. More...
 
static const StringgetDefaultResourceGroup ()
 Returns the default resource group currently set for layouts. More...
 
static void setDefaultResourceGroup (const String &resourceGroup)
 Sets the default resource group to be used when loading layouts. More...
 
- Static Public Member Functions inherited from CEGUI::Singleton< WindowManager >
static WindowManagergetSingleton (void)
 
static WindowManagergetSingleton (void)
 
static WindowManagergetSingletonPtr (void)
 
static WindowManagergetSingletonPtr (void)
 
- Static Public Attributes inherited from CEGUI::WindowManager
static const String GeneratedWindowNameBase
 
static const String EventNamespace
 Namespace for global events.
 
static const String EventWindowCreated
 
static const String EventWindowDestroyed
 
static const String GUILayoutSchemaName
 Filename of the XML schema used for validating GUILayout files.
 
- Protected Types inherited from CEGUI::EventSet
typedef std::map< String, Event *, StringFastLessCompare CEGUI_MAP_ALLOC(String, Event *)> EventMap
 
typedef std::map< String, Event *, StringFastLessCompare CEGUI_MAP_ALLOC(String, Event *)> EventMap
 
- Protected Member Functions inherited from CEGUI::EventSet
void fireEvent_impl (const String &name, EventArgs &args)
 Implementation event firing member.
 
ScriptModulegetScriptModule () const
 Helper to return the script module pointer or throw.
 
 EventSet (EventSet &)
 
 EventSet (const EventSet &)
 
EventSetoperator= (EventSet &)
 
EventSetoperator= (const EventSet &)
 
void fireEvent_impl (const String &name, EventArgs &args)
 Implementation event firing member.
 
ScriptModulegetScriptModule () const
 Helper to return the script module pointer or throw.
 
 EventSet (EventSet &)
 
 EventSet (const EventSet &)
 
EventSetoperator= (EventSet &)
 
EventSetoperator= (const EventSet &)
 
- Protected Attributes inherited from CEGUI::EventSet
EventMap d_events
 
bool d_muted
 true if events for this EventSet have been muted.
 
- Static Protected Attributes inherited from CEGUI::Singleton< WindowManager >
static WindowManagerms_Singleton