Go to the documentation of this file.
4 #ifndef tools_sg_zb_manager
5 #define tools_sg_zb_manager
22 virtual
void*
cast(const std::
string& a_class)
const {
23 if(
void* p = cmp_cast<zb_manager>(
this,a_class)) {
return p;}
27 virtual bool begin_render(
int,
int,
unsigned int,
unsigned int,
float,
float,
float,
float,
bool =
true) {
return true;}
39 gstos_t::const_iterator it =
m_gstos.find(a_id);
40 if(it==
m_gstos.end())
return false;
44 gstos_t::iterator it =
m_gstos.find(a_id);
58 mem::increment(s_class().c_str());
64 mem::decrement(s_class().c_str());
74 mem::increment(s_class().c_str());
78 if(&a_from==
this)
return *
this;
85 gstos_t::iterator it =
m_gstos.find(a_id);
86 if(it==
m_gstos.end())
return false;
94 typedef std::map<unsigned int,img_byte>
gstos_t;
#define TOOLS_SCLASS(a_name)