ngl_server 1.0
基于 Actor 模型的 C++ 服务器框架
ngl::make_rank Class Reference

排名集合工厂类 More...

#include <rankset.h>

Static Public Member Functions

static std::unique_ptr< rankset_basemake (pbdb::eranklist atype)
 根据类型创建排行榜实例

Detailed Description

排名集合工厂类

根据排行榜类型创建对应的rankset实例

Member Function Documentation

◆ make()

std::unique_ptr< rankset_base > ngl::make_rank::make ( pbdb::eranklist atype)
inlinestatic

根据类型创建排行榜实例

Parameters
[in]atype排行榜类型
Returns
rankset_base智能指针,未知类型返回nullptr

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