• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

kcachegrind

Public Member Functions | List of all members
FixPool Class Reference

#include <pool.h>

Public Member Functions

 FixPool ()
 
 ~FixPool ()
 
void * allocate (unsigned int size)
 
bool allocateReserved (unsigned int size)
 
void * reserve (unsigned int size)
 

Detailed Description

FixPool.

For objects with fixed size and life time ending with that of the pool.

Definition at line 34 of file pool.h.

Constructor & Destructor Documentation

FixPool::FixPool ( )

Definition at line 35 of file pool.cpp.

FixPool::~FixPool ( )

Definition at line 43 of file pool.cpp.

Member Function Documentation

void * FixPool::allocate ( unsigned int  size)

Take <size> bytes from the pool.

Definition at line 57 of file pool.cpp.

bool FixPool::allocateReserved ( unsigned int  size)

Before calling this, you have to reserve at least <size> bytes with reserveSpace().

Definition at line 80 of file pool.cpp.

void * FixPool::reserve ( unsigned int  size)

Reserve space.

If you call allocateReservedSpace(realsize) with realSize < reserved size directly after, you will get the same memory area.

Definition at line 71 of file pool.cpp.


The documentation for this class was generated from the following files:
  • pool.h
  • pool.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:03:28 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kcachegrind

Skip menu "kcachegrind"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal