GlobeEngine
geSpatial::Cache< T > Class Template Reference

#include <Cache.h>

Public Member Functions

 Cache ()
 
 ~Cache ()
 
void clear ()
 
void create (int _capacity)
 
void swap ()
 
std::shared_ptr< T > requestCacheWritePointer ()
 
const std::vector< std::shared_ptr< T > > & getFrontBuffer ()
 
void setCapacity (unsigned int _capacity)
 
int getObjectCount ()
 

Constructor & Destructor Documentation

template<class T >
geSpatial::Cache< T >::Cache ( )
inline
template<class T >
geSpatial::Cache< T >::~Cache ( )
inline

Member Function Documentation

template<class T >
void geSpatial::Cache< T >::clear ( )
inline
template<class T >
void geSpatial::Cache< T >::create ( int  _capacity)
inline
template<class T >
const std::vector< std::shared_ptr<T> >& geSpatial::Cache< T >::getFrontBuffer ( )
inline
template<class T >
int geSpatial::Cache< T >::getObjectCount ( )
inline
template<class T >
std::shared_ptr<T> geSpatial::Cache< T >::requestCacheWritePointer ( )
inline
template<class T >
void geSpatial::Cache< T >::setCapacity ( unsigned int  _capacity)
inline
template<class T >
void geSpatial::Cache< T >::swap ( )
inline

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