OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
LifetimeRef< Ref > Class Template Reference

#include <lifetime.h>

Inheritance diagram for LifetimeRef< Ref >:
Collaboration diagram for LifetimeRef< Ref >:

Public Member Functions

 LifetimeRef (Ref *ptr, LifetimeActor *actor)
 
virtual void Delete ()
 
- Public Member Functions inherited from LifetimeRefBase
 LifetimeRefBase (LifetimeActor *actor)
 
virtual ~LifetimeRefBase ()
 
void Reset (LifetimeActor *actor)
 
bool IsSet () const
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (LifetimeRef)
 

Private Attributes

Ref * ptr_
 

Detailed Description

template<class Ref>
class LifetimeRef< Ref >

Definition at line 100 of file lifetime.h.

Constructor & Destructor Documentation

template<class Ref>
LifetimeRef< Ref >::LifetimeRef ( Ref *  ptr,
LifetimeActor actor 
)
inline

Definition at line 102 of file lifetime.h.

Member Function Documentation

template<class Ref>
virtual void LifetimeRef< Ref >::Delete ( )
inlinevirtual

Implements LifetimeRefBase.

Definition at line 106 of file lifetime.h.

template<class Ref>
LifetimeRef< Ref >::DISALLOW_COPY_AND_ASSIGN ( LifetimeRef< Ref >  )
private

Member Data Documentation

template<class Ref>
Ref* LifetimeRef< Ref >::ptr_
private

Definition at line 111 of file lifetime.h.


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