YSTest
PreAlpha_b380_20130211
The YSLib Test Project
|
控制器抽象类。 More...
#include <ywgtevt.h>
Public Member Functions | |
AController (bool b=true) | |
构造:使用指定可用性。 | |
virtual | ~AController () |
析构:空实现。 | |
bool | IsEnabled () const ynothrow |
virtual EventMapping::ItemType & | GetItem (const VisualEvent &)=0 |
取事件项。 | |
virtual EventMapping::ItemType & | GetItemRef (const VisualEvent &id, EventMapping::MappedType(&)()) |
取事件项,若不存在则用指定函数指针添加。 | |
void | SetEnabled (bool _tempArgName) |
virtual AController * | Clone () const =0 |
Private Attributes | |
bool | enabled |
控件可用性。 | |
|
inline |
|
inlinevirtual |
|
pure virtual |
Implemented in YSLib::Components::WidgetController, and YSLib::Components::Controller.
|
pure virtual |
取事件项。
Implemented in YSLib::Components::WidgetController, and YSLib::Components::Controller.
|
inlinevirtual |
取事件项,若不存在则用指定函数指针添加。
忽略加入任何事件项。 |
Reimplemented in YSLib::Components::Controller.
Definition at line 378 of file ywgtevt.h.
Referenced by YSLib::Components::FetchEvent().
|
inline |
|
inline |
Definition at line 383 of file ywgtevt.h.
Referenced by YSLib::Components::SetEnabledOf().
|
private |