TorchCraftAI
A bot for machine learning research on StarCraft: Brood War
Public Member Functions | List of all members
common::CircularBuffer< T > Class Template Reference

#include <circularbuffer.h>

Public Member Functions

 CircularBuffer (size_t capacity)
 
 ~CircularBuffer ()
 
void push ()
 
void push (T const &value)
 
void push (T &value)
 
size_t size () const
 
T const & at (ssize_t pos) const
 
T & at (ssize_t pos)
 

Constructor & Destructor Documentation

template<typename T>
common::CircularBuffer< T >::CircularBuffer ( size_t  capacity)
inline
template<typename T>
common::CircularBuffer< T >::~CircularBuffer ( )
inline

Member Function Documentation

template<typename T>
T const& common::CircularBuffer< T >::at ( ssize_t  pos) const
inline
template<typename T>
T& common::CircularBuffer< T >::at ( ssize_t  pos)
inline
template<typename T>
void common::CircularBuffer< T >::push ( )
inline
template<typename T>
void common::CircularBuffer< T >::push ( T const &  value)
inline
template<typename T>
void common::CircularBuffer< T >::push ( T &  value)
inline
template<typename T>
size_t common::CircularBuffer< T >::size ( ) const
inline

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