Public Types | Public Member Functions | Static Public Member Functions | Data Fields

MyGUI::ControllerItem Class Reference

#include <MyGUI_ControllerItem.h>

Inheritance diagram for MyGUI::ControllerItem:

Public Types

typedef RTTIBase Base
typedef ControllerItem RTTIBase

Public Member Functions

virtual const std::string & getTypeName () const
virtual bool isType (const std::type_info &_type) const
template<typename Type >
bool isType () const
virtual ~ControllerItem ()
virtual void prepareItem (WidgetPtr _widget)=0
virtual bool addTime (WidgetPtr _widget, float _time)=0
virtual void setProperty (const std::string &_key, const std::string &_value)

Static Public Member Functions

static const std::string & getClassTypeName ()

Data Fields

delegates::CDelegate1< WidgetPtreventPreAction
delegates::CDelegate1< WidgetPtreventUpdateAction
delegates::CDelegate1< WidgetPtreventPostAction

Detailed Description

Base interface for controllers

Definition at line 36 of file MyGUI_ControllerItem.h.


Member Typedef Documentation

Reimplemented from MyGUI::IObject.

Reimplemented in MyGUI::ControllerEdgeHide, MyGUI::ControllerFadeAlpha, and MyGUI::ControllerPosition.

Definition at line 39 of file MyGUI_ControllerItem.h.


Constructor & Destructor Documentation

virtual MyGUI::ControllerItem::~ControllerItem (  )  [inline, virtual]

Definition at line 42 of file MyGUI_ControllerItem.h.


Member Function Documentation

virtual bool MyGUI::ControllerItem::addTime ( WidgetPtr  _widget,
float  _time 
) [pure virtual]
static const std::string& MyGUI::ControllerItem::getClassTypeName (  )  [inline, static]

Reimplemented from MyGUI::IObject.

Reimplemented in MyGUI::ControllerEdgeHide, MyGUI::ControllerFadeAlpha, and MyGUI::ControllerPosition.

Definition at line 39 of file MyGUI_ControllerItem.h.

virtual const std::string& MyGUI::ControllerItem::getTypeName (  )  const [inline, virtual]

Get type name as string

Reimplemented from MyGUI::IObject.

Reimplemented in MyGUI::ControllerEdgeHide, MyGUI::ControllerFadeAlpha, and MyGUI::ControllerPosition.

Definition at line 39 of file MyGUI_ControllerItem.h.

template<typename Type >
bool MyGUI::ControllerItem::isType (  )  const [inline]

Compare with selected type

Reimplemented from MyGUI::IObject.

Reimplemented in MyGUI::ControllerEdgeHide, MyGUI::ControllerFadeAlpha, and MyGUI::ControllerPosition.

Definition at line 39 of file MyGUI_ControllerItem.h.

virtual bool MyGUI::ControllerItem::isType ( const std::type_info &  _type  )  const [inline, virtual]

Compare with selected type

Reimplemented from MyGUI::IObject.

Reimplemented in MyGUI::ControllerEdgeHide, MyGUI::ControllerFadeAlpha, and MyGUI::ControllerPosition.

Definition at line 39 of file MyGUI_ControllerItem.h.

virtual void MyGUI::ControllerItem::prepareItem ( WidgetPtr  _widget  )  [pure virtual]
virtual void MyGUI::ControllerItem::setProperty ( const std::string &  _key,
const std::string &  _value 
) [inline, virtual]

Field Documentation

Event : After controller finished working.
signature : void method(MyGUI::WidgetPtr _sender)

Parameters:
_sender widget under control

Definition at line 68 of file MyGUI_ControllerItem.h.

Event : Before controller started working.
signature : void method(MyGUI::WidgetPtr _sender)

Parameters:
_sender widget under control

Definition at line 54 of file MyGUI_ControllerItem.h.

Event : Controller updated (called every frame).
signature : void method(MyGUI::WidgetPtr _sender)

Parameters:
_sender widget under control

Definition at line 61 of file MyGUI_ControllerItem.h.


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