载入中...
搜索中...
未找到
eve::Object类 参考
Object is the base class for all game objects. It provides reference counting and dirty flag for update. 更多...
#include <Object.h>
类 eve::Object 继承关系图:
Public 成员函数 | |
| Object () | |
| void | setUpdate (Object *update) |
| Update the current object with a replacement. You don't need to care about the reference to the old object since it will be automatically updated in the ref smart pointer. | |
Protected 成员函数 | |
| virtual | ~Object () |
| bool | isDirty () const |
| Object * | getUpdate () const |
| void | ref () |
| void | unref () |
Protected 属性 | |
| Object * | update |
| unsigned | ref_count = 0 |
友元 | |
| template<typename T > | |
| class | ref |
详细描述
Object is the base class for all game objects. It provides reference counting and dirty flag for update.
构造及析构函数说明
◆ Object()
◆ ~Object()
成员函数说明
◆ getUpdate()
◆ isDirty()
◆ ref()
◆ setUpdate()
|
inline |
Update the current object with a replacement. You don't need to care about the reference to the old object since it will be automatically updated in the ref smart pointer.
引用了 EV_PARAM_CHECK , 以及 update.
◆ unref()
友元及相关函数文档
◆ ref
类成员变量说明
◆ ref_count
◆ update
|
protected |
被这些函数引用 getUpdate(), isDirty(), Object() , 以及 setUpdate().
该类的文档由以下文件生成:
- src/engine/common/Object.h