flx::gc::collector::flx_collector_t Struct Reference

Naive Mark and Sweep Collector. More...

#include <flx_collector.hpp>

Inheritance diagram for flx::gc::collector::flx_collector_t:

flx::gc::generic::collector_t flx::gc::collector::flx_ts_collector_t List of all members.

Public Member Functions

 flx_collector_t (allocator_t *)
void free_all_mem ()
void set_used (void *memory, unsigned long)
void incr_used (void *memory, unsigned long)
unsigned long get_used (void *memory)
unsigned long get_count (void *memory)
void * create_empty_array (gc_shape_t &shape, unsigned long count)
gc_shape_tget_shape (void *memory)

Protected Member Functions

void * impl_allocate (gc_shape_t *ptr_map, unsigned long)
 allocator
unsigned long impl_collect ()
 collector (returns number of objects collected)
void impl_add_root (void *memory)
void impl_remove_root (void *memory)
void check ()
unsigned long impl_get_allocation_count () const
unsigned long impl_get_root_count () const
unsigned long impl_get_allocation_amt () const
void impl_finalise (void *fp)

Detailed Description

Naive Mark and Sweep Collector.


The documentation for this struct was generated from the following file:
Generated on Sat Aug 25 21:22:58 2007 for Felix by  doxygen 1.5.1