cafe::detail Namespace Reference


Detailed Description

Helper class to avoid that a pointer stored in the Event is deleted.

Use it like this:

SomeObject *ptr = ...; event.put("MyName", keep(ptr));

and retrieve as usual: SomeObject *ptr = 0; if(event.get("MyName", ptr)) { ... }


Classes

struct  keeper

Variables

const Variables empty


Variable Documentation

const Variables cafe::detail::empty
 

Definition at line 16 of file EventBase.cpp.


Generated on Thu Apr 3 04:14:28 2008 for CAF by doxygen 1.3.4