Public Member Functions | Static Public Member Functions

MyGUI::ControllerManager Class Reference

#include <MyGUI_ControllerManager.h>

Inheritance diagram for MyGUI::ControllerManager:

Public Member Functions

 ControllerManager ()
 ~ControllerManager ()
void initialise ()
void shutdown ()
ControllerItemcreateItem (const std::string &_type)
void addItem (WidgetPtr _widget, ControllerItem *_item)
void removeItem (WidgetPtr _widget)

Static Public Member Functions

static ControllerManagergetInstance ()
static ControllerManagergetInstancePtr ()

Detailed Description

Definition at line 36 of file MyGUI_ControllerManager.h.


Constructor & Destructor Documentation

MyGUI::ControllerManager::ControllerManager (  ) 

Definition at line 37 of file MyGUI_ControllerManager.cpp.

MyGUI::ControllerManager::~ControllerManager (  ) 

Definition at line 37 of file MyGUI_ControllerManager.cpp.


Member Function Documentation

void MyGUI::ControllerManager::addItem ( WidgetPtr  _widget,
ControllerItem _item 
)

Add controlled widget

Parameters:
_widget to be controlled
_item controller with some actions (for example ControllerFadeAlpha or your own)
Note:
_item will be deleted automatically at end of controller lifetime (if not removed by removeItem(WidgetPtr _widget) before)

Definition at line 89 of file MyGUI_ControllerManager.cpp.

ControllerItem * MyGUI::ControllerManager::createItem ( const std::string &  _type  ) 

Definition at line 83 of file MyGUI_ControllerManager.cpp.

ControllerManager & MyGUI::ControllerManager::getInstance (  )  [static]

Definition at line 37 of file MyGUI_ControllerManager.cpp.

ControllerManager * MyGUI::ControllerManager::getInstancePtr (  )  [static]

Definition at line 37 of file MyGUI_ControllerManager.cpp.

void MyGUI::ControllerManager::initialise (  ) 

Definition at line 39 of file MyGUI_ControllerManager.cpp.

void MyGUI::ControllerManager::removeItem ( WidgetPtr  _widget  ) 

Stop the control over a widget

Parameters:
_widget to be removed

Definition at line 115 of file MyGUI_ControllerManager.cpp.

void MyGUI::ControllerManager::shutdown (  ) 

Definition at line 56 of file MyGUI_ControllerManager.cpp.


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