天佐.追日靴  tianzuo.Zhuiri
可靠UDP传输 reliable UDP transmission
Loading...
Searching...
No Matches
tianzuo_DataQueue Class Referenceabstract

追日靴数据队列模块类 for c++ More...

#include <tianzuo.ZhuiriInterface.h>

Public Member Functions

 tianzuo_DataQueue ()
 
virtual ~tianzuo_DataQueue ()
 
initialize

队列初始化

Parameters
[in]init_size队列初始大小
Returns
int
Author
郑天佐
Date
2013-4-3
virtual int initialize (int const init_size)=0
 
terminate

队列销毁

Parameters
[in]
Returns
Author
郑天佐
Date
2013-4-3
virtual void terminate ()=0
 
push_back

数据入队列

Parameters
[in]data数据
Returns
int
Author
郑天佐
Date
2013-4-3
virtual int push_back (const Zhuiri_data_pkg_pointer data)=0
 
pop_up

数据出队列

Parameters
[in]data数据
Returns
int
Author
郑天佐
Date
2013-4-3
virtual int pop_up (const Zhuiri_data_pkg_pointer data)=0
 
alloc_send_data

申请数据

Parameters
[in]data数据
[in]space_size数据大小
Returns
Author
郑天佐
Date
2013-4-3
virtual void alloc_send_data (Zhuiri_data_pkg_pointer *data, int const space_size)=0
 
free_send_data

释放申请的数据

Parameters
[in]
Returns
Author
郑天佐
Date
2013-4-3
virtual void free_send_data ()=0
 
get_used_count

获取已用队列数

Parameters
[in]
Returns
int
Author
郑天佐
Date
2013-4-3
virtual int get_used_count () const =0
 
get_unuse_count

获取未用队列数

Parameters
[in]
Returns
int
Author
郑天佐
Date
2013-4-3
virtual int get_unuse_count () const =0
 
get_all_count

获取总队列数

Parameters
[in]
Returns
int
Author
郑天佐
Date
2013-4-3
virtual int get_all_count () const =0
 
clear

清理队列

Parameters
[in]
Returns
Author
郑天佐
Date
2013-4-3
virtual void clear ()=0
 

Detailed Description

追日靴数据队列模块类 for c++

Constructor & Destructor Documentation

◆ tianzuo_DataQueue()

tianzuo_DataQueue::tianzuo_DataQueue ( )
inline

◆ ~tianzuo_DataQueue()

virtual tianzuo_DataQueue::~tianzuo_DataQueue ( )
inlinevirtual

Member Function Documentation

◆ alloc_send_data()

virtual void tianzuo_DataQueue::alloc_send_data ( Zhuiri_data_pkg_pointer data,
int const  space_size 
)
pure virtual

◆ clear()

virtual void tianzuo_DataQueue::clear ( )
pure virtual

◆ free_send_data()

virtual void tianzuo_DataQueue::free_send_data ( )
pure virtual

◆ get_all_count()

virtual int tianzuo_DataQueue::get_all_count ( ) const
pure virtual

◆ get_unuse_count()

virtual int tianzuo_DataQueue::get_unuse_count ( ) const
pure virtual

◆ get_used_count()

virtual int tianzuo_DataQueue::get_used_count ( ) const
pure virtual

◆ initialize()

virtual int tianzuo_DataQueue::initialize ( int const  init_size)
pure virtual

◆ pop_up()

virtual int tianzuo_DataQueue::pop_up ( const Zhuiri_data_pkg_pointer  data)
pure virtual

◆ push_back()

virtual int tianzuo_DataQueue::push_back ( const Zhuiri_data_pkg_pointer  data)
pure virtual

◆ terminate()

virtual void tianzuo_DataQueue::terminate ( )
pure virtual

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