alaCarte Maps
Renderer for OpenStreetMap tiles
ObjCounter< Obj > Class Template Reference

#include <obj_counter.hpp>

Public Member Functions

 ObjCounter ()
 
 ObjCounter (const ObjCounter &obj)
 
 ~ObjCounter ()
 

Static Public Member Functions

static unsigned int getCount ()
 

Static Private Attributes

static std::atomic< unsigned int > count
 

Detailed Description

template<typename Obj>
class ObjCounter< Obj >

Definition at line 28 of file obj_counter.hpp.

Constructor & Destructor Documentation

template<typename Obj >
ObjCounter< Obj >::ObjCounter ( )
inline

Definition at line 34 of file obj_counter.hpp.

template<typename Obj >
ObjCounter< Obj >::ObjCounter ( const ObjCounter< Obj > &  obj)
inline

Definition at line 35 of file obj_counter.hpp.

template<typename Obj >
ObjCounter< Obj >::~ObjCounter ( )
inline

Definition at line 36 of file obj_counter.hpp.

Member Function Documentation

template<typename Obj >
static unsigned int ObjCounter< Obj >::getCount ( )
inlinestatic

Definition at line 37 of file obj_counter.hpp.

Member Data Documentation

template<typename Obj >
std::atomic< unsigned int > ObjCounter< Obj >::count
staticprivate

Definition at line 31 of file obj_counter.hpp.


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