SEGS  0.6.1-develop [3e741b81]
Super Entity Game Server
Public Types | Public Member Functions | Public Attributes | List of all members
FixedSizePacketQueue< size > Struct Template Reference

#include <CRUDP_Protocol.h>

Inheritance diagram for FixedSizePacketQueue< size >:
Inheritance graph
Collaboration diagram for FixedSizePacketQueue< size >:
Collaboration graph

Public Types

using iterator = std::deque< CrudP_Packet * >::iterator
 

Public Member Functions

bool isFull () const
 
void push_back (CrudP_Packet *v)
 
void pop_front ()
 
CrudP_Packetfront ()
 
bool empty () const
 
iterator begin ()
 
iterator end ()
 
iterator erase (iterator v)
 
void clear ()
 

Public Attributes

std::deque< CrudP_Packet * > m_storage
 

Member Typedef Documentation

◆ iterator

template<size_t size>
using FixedSizePacketQueue< size >::iterator = std::deque<CrudP_Packet *>::iterator

Member Function Documentation

◆ begin()

template<size_t size>
iterator FixedSizePacketQueue< size >::begin ( )
inline

◆ clear()

template<size_t size>
void FixedSizePacketQueue< size >::clear ( )
inline

◆ empty()

template<size_t size>
bool FixedSizePacketQueue< size >::empty ( ) const
inline

◆ end()

template<size_t size>
iterator FixedSizePacketQueue< size >::end ( )
inline

◆ erase()

template<size_t size>
iterator FixedSizePacketQueue< size >::erase ( iterator  v)
inline

◆ front()

template<size_t size>
CrudP_Packet* FixedSizePacketQueue< size >::front ( )
inline

◆ isFull()

template<size_t size>
bool FixedSizePacketQueue< size >::isFull ( ) const
inline
Here is the caller graph for this function:

◆ pop_front()

template<size_t size>
void FixedSizePacketQueue< size >::pop_front ( )
inline

◆ push_back()

template<size_t size>
void FixedSizePacketQueue< size >::push_back ( CrudP_Packet v)
inline

Member Data Documentation

◆ m_storage

template<size_t size>
std::deque<CrudP_Packet *> FixedSizePacketQueue< size >::m_storage

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