We use a common IMalloc object for all shell memory allocations. More...
#include <shellclasses.h>

Public Member Functions | |
| CommonShellMalloc () | |
| void | init () |
| ~CommonShellMalloc () | |
| operator IMalloc * () | |
Public Attributes | |
| IMalloc * | _p |
We use a common IMalloc object for all shell memory allocations.
Definition at line 222 of file shellclasses.h.
| CommonShellMalloc::CommonShellMalloc | ( | ) | [inline] |
| CommonShellMalloc::~CommonShellMalloc | ( | ) | [inline] |
| void CommonShellMalloc::init | ( | ) | [inline] |
Definition at line 229 of file shellclasses.h.
References _p, and CHECKERROR.
Referenced by ShellMalloc::ShellMalloc().
{
if (!_p)
CHECKERROR(SHGetMalloc(&_p));
}

| CommonShellMalloc::operator IMalloc * | ( | ) | [inline] |
| IMalloc* CommonShellMalloc::_p |
Definition at line 246 of file shellclasses.h.
Referenced by CommonShellMalloc(), init(), operator IMalloc *(), and ~CommonShellMalloc().
|
ROS Explorer Source Code Documentation
generated on 02.01.2013 by
|