Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6ICircbuf::initialize ( P6SIZE  cSize,
CIRCBFLAGS  fFlags,
p6IMonitor pReadMonitor 
)
pure virtual

This method is used to initialize the component for use and must be called before any other method.

Parameters
cSize[ in ] The size in bytes to make the buffer.
fFlags[ in ]
pReadMonitor[ in ] a pointer to the p6IMonitor interface to be used for locking and write notification. If this argument is NULL, the component will create it's own monitor for locking and notifications will be disabled.
Returns
SuccessP6R::eOk 
FailureP6R::eInvalidArgA zero size buffer was specified.
P6R::eNoMemoryThere was not enough available memory to create the buffer.