#include <simple_gc.h>
Classes | |
struct | PoolGCItem |
Public Types | |
typedef void(* | DeleteFunc) (void *pool) |
typedef bool(* | IsDeletableFunc) (void *pool) |
Public Member Functions | |
void | add (void *pool, DeleteFunc deleter, IsDeletableFunc deletable) |
SimpleGC (const InitOptions &ops) | |
~SimpleGC () | |
Private Member Functions | |
void | gcThread () |
Private Attributes | |
float | period_ |
MWSRQueue< PoolGCItem > | pool_gc_queue_ |
boost::thread | pool_gc_thread_ |
volatile bool | running_ |
Definition at line 52 of file simple_gc.h.
typedef void(* rosrt::detail::SimpleGC::DeleteFunc) (void *pool) |
Definition at line 55 of file simple_gc.h.
typedef bool(* rosrt::detail::SimpleGC::IsDeletableFunc) (void *pool) |
Definition at line 56 of file simple_gc.h.
rosrt::detail::SimpleGC::SimpleGC | ( | const InitOptions & | ops | ) |
Definition at line 45 of file simple_gc.cpp.
rosrt::detail::SimpleGC::~SimpleGC | ( | ) |
Definition at line 53 of file simple_gc.cpp.
void rosrt::detail::SimpleGC::add | ( | void * | pool, |
DeleteFunc | deleter, | ||
IsDeletableFunc | deletable | ||
) |
Definition at line 64 of file simple_gc.cpp.
|
private |
Definition at line 73 of file simple_gc.cpp.
|
private |
Definition at line 77 of file simple_gc.h.
|
private |
Definition at line 76 of file simple_gc.h.
|
private |
Definition at line 75 of file simple_gc.h.
|
private |
Definition at line 66 of file simple_gc.h.