pion::platform::EventPtr Class Reference

#include <Event.hpp>

List of all members.


Detailed Description

EventPtr: Event smart pointer objects generated by the EventFactory

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
EventPtroperator= (const EventPtr &ptr)
 assignment operator
Eventoperator * () const
 returns reference to the Event
Eventoperator-> () const
 returns pointer to the Event
Eventget (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


The documentation for this class was generated from the following file:
Generated on Wed Apr 13 16:38:36 2011 for pion-platform by  doxygen 1.4.7