|
YSTest
PreAlpha_b380_20130211
The YSLib Test Project
|
部件控制器。 More...
#include <ycontrol.h>


Public Member Functions | |
| Controller (bool b) | |
| template<typename... _tParams> | |
| Controller (bool b, _tParams &&...args) | |
| virtual EventMapping::ItemType & | GetItem (const VisualEvent &id) |
| 取事件项。 | |
| EventMapping::ItemType & | GetItemRef (const VisualEvent &, EventMapping::MappedType(&)()) override |
| 取事件项,若不存在则用指定函数指针添加。 | |
| EventMapping::MapType & | GetEventMap () const ynothrow |
| 取事件映射表。 | |
| virtual Controller * | Clone () const |
Public Member Functions inherited from YSLib::Components::AController | |
| AController (bool b=true) | |
| 构造:使用指定可用性。 | |
| virtual | ~AController () |
| 析构:空实现。 | |
| bool | IsEnabled () const ynothrow |
| void | SetEnabled (bool _tempArgName) |
Protected Attributes | |
| EventMapping::MapType | EventMap |
| 事件映射表。 | |
|
inlineexplicit |
Definition at line 52 of file ycontrol.h.
|
inline |
Definition at line 57 of file ycontrol.h.
|
inlinevirtual |
Implements YSLib::Components::AController.
Definition at line 69 of file ycontrol.h.
|
inline |
取事件映射表。
Definition at line 66 of file ycontrol.h.
|
inlinevirtual |
取事件项。
Implements YSLib::Components::AController.
Definition at line 62 of file ycontrol.h.
|
overridevirtual |
取事件项,若不存在则用指定函数指针添加。
| 忽略加入任何事件项。 |
Reimplemented from YSLib::Components::AController.
Definition at line 53 of file ycontrol.cpp.
References GetEvent().

|
mutableprotected |
事件映射表。
Definition at line 48 of file ycontrol.h.