#include <Event.hpp>
Definition at line 1282 of file Event.hpp.
Public Member Functions | |
| ~EventPtr () | |
| non-virtual destructor | |
| EventPtr (void) | |
| default constructor | |
| EventPtr (const EventPtr &ptr) | |
| copy constructor | |
| EventPtr & | operator= (const EventPtr &ptr) |
| assignment operator | |
| Event & | operator * () const |
| returns reference to the Event | |
| Event * | operator-> () const |
| returns pointer to the Event | |
| Event * | get (void) const |
| returns pointer to the Event | |
| bool | is_safe (void) const |
| returns true if the pointer contains an Event object with a single reference | |
| void | reset (void) |
| resets the pointer to be undefined | |
| void | reset (const EventPtr &ptr) |
| resets the pointer to be equal to another one | |
| void | swap (EventPtr &ptr) |
| swaps the values of two pointers without changing reference counts | |
Protected Member Functions | |
| EventPtr (Event *event_ptr) | |
| protected constructor: only allow EventFactory to create EventPtr objects | |
Friends | |
| class | EventFactory |
| only EventFactory can construct new pointers that are not null | |
1.4.7