Marine systems simulation
CoRiBoDynamics::ObjectFactoryStack< _ObjectType_ > Class Template Reference

#include <ObjectFactoryStack.h>

Public Member Functions

 ObjectFactoryStack (unsigned int bufferSize)
 
void setBufferSize (unsigned int BufferSize)
 
unsigned int getObjectCounter ()
 
void restart ()
 
_ObjectType_ * getNewObject ()
 
_ObjectType_ * getNewObjectThreadSafe ()
 

Detailed Description

template<class _ObjectType_>
class CoRiBoDynamics::ObjectFactoryStack< _ObjectType_ >
Author
Jorgen Haavind Jensen

Used for batch allocation of objects.

Revision history:
Q1 2012 JHJ: Initial version.

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