Jpp  15.0.1-rc.2-highQE
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
__C__ Struct Reference
Inheritance diagram for __C__:
JLANG::JObjectAllocator< __A__, JLANG::JRAM >

Static Public Member Functions

static JLANG::JRAMgetInstance ()
 Get reference to unique instance of this class object. More...
 
static void * operator new (const std::size_t size)
 new operator. More...
 
static void operator delete (void *p, const std::size_t size)
 delete operator. More...
 

Public Attributes

int value
 
int value
 
int value
 
int value
 
int i
 
double d
 

Static Public Attributes

static const std::size_t BLOCK_SIZE
 size of object [Byte] More...
 

Detailed Description

Definition at line 45 of file JStreamAvailable.cc.

Member Function Documentation

static JLANG::JRAM & JLANG::JObjectAllocator< __A__ , JLANG::JRAM >::getInstance ( )
inlinestaticinherited

Get reference to unique instance of this class object.

Returns
reference to this class object

Definition at line 44 of file JObjectAllocator.hh.

45  {
46  static JAllocator_t allocator(BLOCK_SIZE);
47 
48  return allocator;
49  }
static const std::size_t BLOCK_SIZE
size of object [Byte]
static void* JLANG::JObjectAllocator< __A__ , JLANG::JRAM >::operator new ( const std::size_t  size)
inlinestaticinherited

new operator.

Returns
pointer to new object (or NULL)

Definition at line 60 of file JObjectAllocator.hh.

61  {
62  return getInstance().allocate();
63  }
void * allocate()
Allocate memory.
Definition: JRAM.hh:114
static JLANG::JRAM & getInstance()
Get reference to unique instance of this class object.
static void JLANG::JObjectAllocator< __A__ , JLANG::JRAM >::operator delete ( void *  p,
const std::size_t  size 
)
inlinestaticinherited

delete operator.

Parameters
ppointer to object to be freed
sizenumber of bytes

Definition at line 72 of file JObjectAllocator.hh.

73  {
74  getInstance().free(p);
75  }
static JLANG::JRAM & getInstance()
Get reference to unique instance of this class object.
void free(void *p)
Deallocate memory.
Definition: JRAM.hh:131

Member Data Documentation

int __A__::value
inherited

Definition at line 43 of file JMultiComparable.cc.

int __B__::value
inherited

Definition at line 69 of file JMultiComparable.cc.

int __A__::value
inherited

Definition at line 38 of file JMultiEquals.cc.

int __B__::value
inherited

Definition at line 63 of file JMultiEquals.cc.

int __A__::i
inherited

Definition at line 24 of file JAllocator.cc.

double __A__::d
inherited

Definition at line 25 of file JAllocator.cc.

const std::size_t JLANG::JObjectAllocator< __A__ , JLANG::JRAM >::BLOCK_SIZE
staticinherited

size of object [Byte]

Definition at line 52 of file JObjectAllocator.hh.


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