Pyrogenesis  trunk
Classes | Functions
counter.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ICounter
 

Functions

ICounterCreateCounter (size_t id)
 
void DestroyCounter (ICounter *&counter)
 shut down the counter, free its resources and zero its pointer. More...
 

Function Documentation

ICounter* CreateCounter ( size_t  id)
Returns
a newly created ICounter of type <id> or 0 iff the ID is invalid.
Parameters
idinteger ID (0..N-1)

there can only be one active counter at a time; the previous one must have been destroyed before creating another!

void DestroyCounter ( ICounter *&  counter)

shut down the counter, free its resources and zero its pointer.