Added few functions in SeriesPool<>.
This commit is contained in:
parent
7db9159a7d
commit
30cd6bf2fb
@ -1,5 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
//#include<hgl/type/DataType.h>
|
#include<hgl/type/DataType.h>
|
||||||
|
|
||||||
namespace hgl
|
namespace hgl
|
||||||
{
|
{
|
||||||
@ -18,7 +18,11 @@ namespace hgl
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
const int GetMaxCount()const{return max_count;}
|
const T * GetRawData ()const{return series_data;} ///<取得原始数据指针
|
||||||
|
|
||||||
|
const T GetMaxCount ()const{return max_count;} ///<取得最大数量
|
||||||
|
const T GetFreeCount()const{return access-series_data;} ///<取得空闲数量
|
||||||
|
const T GetUseCount ()const{return end-access;} ///<取得使用数量
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user