Garbage Class Reference

#include <garbage.h>

Collaboration diagram for Garbage:

Collaboration graph
[legend]

Public Member Functions

 Garbage ()
 ~Garbage ()
void add_object (GarbageObject *ptr)

Static Public Member Functions

static void delete_object (GarbageObject *ptr)
static void remove_expired ()

Data Fields

Mutexlock
ArrayList< GarbageObject * > objects

Static Public Attributes

static Garbagegarbage = 0

Detailed Description

Definition at line 52 of file garbage.h.


Constructor & Destructor Documentation

Garbage::Garbage (  ) 

Definition at line 48 of file garbage.C.

References lock.

Garbage::~Garbage (  ) 

Definition at line 54 of file garbage.C.

References lock.


Member Function Documentation

void Garbage::add_object ( GarbageObject ptr  ) 

Definition at line 59 of file garbage.C.

References ArrayList< TYPE >::append(), Mutex::lock(), lock, objects, and Mutex::unlock().

Referenced by GarbageObject::GarbageObject().

Here is the call graph for this function:

void Garbage::delete_object ( GarbageObject ptr  )  [static]

void Garbage::remove_expired (  )  [static]


Field Documentation

Definition at line 69 of file garbage.h.

Referenced by add_object(), and remove_expired().

Garbage * Garbage::garbage = 0 [static]

Definition at line 72 of file garbage.h.

Referenced by delete_object(), main(), and remove_expired().


The documentation for this class was generated from the following files:

Generated on Mon Apr 28 14:27:11 2008 for Cinelerra by  doxygen 1.5.5