OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::MemQBase Class Reference

#include <memq.hpp>

Inheritance diagram for openvpn::MemQBase:
[legend]

Public Member Functions

 MemQBase ()
 
size_t size () const
 
bool empty () const
 
size_t total_length () const
 
void clear ()
 
void write_buf (const BufferPtr &bp)
 
BufferPtr read_buf ()
 
BufferPtrpeek ()
 
void pop ()
 
void resize (const size_t cap)
 

Protected Types

typedef std::deque< BufferPtrq_type
 

Protected Attributes

size_t length
 
q_type q
 

Detailed Description

Definition at line 24 of file memq.hpp.

Member Typedef Documentation

◆ q_type

typedef std::deque<BufferPtr> openvpn::MemQBase::q_type
protected

Definition at line 85 of file memq.hpp.

Constructor & Destructor Documentation

◆ MemQBase()

openvpn::MemQBase::MemQBase ( )
inline

Definition at line 27 of file memq.hpp.

Member Function Documentation

◆ clear()

void openvpn::MemQBase::clear ( )
inline

Definition at line 47 of file memq.hpp.

Here is the caller graph for this function:

◆ empty()

bool openvpn::MemQBase::empty ( ) const
inline

Definition at line 37 of file memq.hpp.

Here is the caller graph for this function:

◆ peek()

BufferPtr & openvpn::MemQBase::peek ( )
inline

Definition at line 68 of file memq.hpp.

◆ pop()

void openvpn::MemQBase::pop ( )
inline

Definition at line 73 of file memq.hpp.

◆ read_buf()

BufferPtr openvpn::MemQBase::read_buf ( )
inline

Definition at line 60 of file memq.hpp.

Here is the caller graph for this function:

◆ resize()

void openvpn::MemQBase::resize ( const size_t  cap)
inline

Definition at line 79 of file memq.hpp.

◆ size()

size_t openvpn::MemQBase::size ( ) const
inline

Definition at line 32 of file memq.hpp.

Here is the caller graph for this function:

◆ total_length()

size_t openvpn::MemQBase::total_length ( ) const
inline

Definition at line 42 of file memq.hpp.

Here is the caller graph for this function:

◆ write_buf()

void openvpn::MemQBase::write_buf ( const BufferPtr bp)
inline

Definition at line 54 of file memq.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ length

size_t openvpn::MemQBase::length
protected

Definition at line 86 of file memq.hpp.

◆ q

q_type openvpn::MemQBase::q
protected

Definition at line 87 of file memq.hpp.


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