YSTest  PreAlpha_b500_20140530
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
YSLib::UI::GAnimationSession< _tCallable > 模板类 参考final

动画会话。 更多...

#include <Animation.h>

YSLib::UI::GAnimationSession< _tCallable > 的协作图:

Public 类型

using Connection = ystdex::decay_t< _tCallable >
 
using ConnectionPtr = shared_ptr< Connection >
 

Public 成员函数

 DefDeCtor (GAnimationSession)~GAnimationSession()
 使用 ADL 调用 ResetState 函数复位连接对象状态以确保安全。 更多...
 
template<typename... _tParams>
void Reset (_tParams &&...args)
 
 PDefH (void, Start,) const ImplExpr(AnimateConnection(conn)) DefGetter(const ynothrow
 使用 ADL 调用 AnimateConnection 开始动画。 更多...
 
Connection YAssertNonnull (conn)
 

Public 属性

Connection ConnectionRef
 

Private 属性

ConnectionPtr conn
 

详细描述

template<typename _tCallable = std::function<bool()>>
class YSLib::UI::GAnimationSession< _tCallable >

动画会话。

在文件 Animation.h85 行定义.

成员类型定义说明

template<typename _tCallable = std::function<bool()>>
using YSLib::UI::GAnimationSession< _tCallable >::Connection = ystdex::decay_t<_tCallable>

在文件 Animation.h88 行定义.

template<typename _tCallable = std::function<bool()>>
using YSLib::UI::GAnimationSession< _tCallable >::ConnectionPtr = shared_ptr<Connection>

在文件 Animation.h89 行定义.

成员函数说明

template<typename _tCallable = std::function<bool()>>
YSLib::UI::GAnimationSession< _tCallable >::DefDeCtor ( GAnimationSession< _tCallable >  )
inline

使用 ADL 调用 ResetState 函数复位连接对象状态以确保安全。

在文件 Animation.h95 行定义.

template<typename _tCallable = std::function<bool()>>
YSLib::UI::GAnimationSession< _tCallable >::PDefH ( void  ,
Start   
) const

使用 ADL 调用 AnimateConnection 开始动画。

template<typename _tCallable = std::function<bool()>>
template<typename... _tParams>
void YSLib::UI::GAnimationSession< _tCallable >::Reset ( _tParams &&...  args)
inline

在文件 Animation.h105 行定义.

template<typename _tCallable = std::function<bool()>>
Connection YSLib::UI::GAnimationSession< _tCallable >::YAssertNonnull ( conn  )

类成员变量说明

template<typename _tCallable = std::function<bool()>>
ConnectionPtr YSLib::UI::GAnimationSession< _tCallable >::conn
private
template<typename _tCallable = std::function<bool()>>
Connection YSLib::UI::GAnimationSession< _tCallable >::ConnectionRef

在文件 Animation.h114 行定义.


该类的文档由以下文件生成: