Update::SeqGuard< T > Class Template Reference

Collaboration diagram for Update::SeqGuard< T >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef std::vector< T * > Seq

Public Member Functions

 ~SeqGuard ()
Seqseq ()

Private Attributes

Seq seq_

Detailed Description

template<typename T>
class Update::SeqGuard< T >

Definition at line 87 of file UpdateManager.cpp.


Member Typedef Documentation

template<typename T>
typedef std::vector<T*> Update::SeqGuard< T >::Seq

Definition at line 89 of file UpdateManager.cpp.


Constructor & Destructor Documentation

template<typename T>
Update::SeqGuard< T >::~SeqGuard (  )  [inline]

Definition at line 92 of file UpdateManager.cpp.

References Update::SeqGuard< T >::seq_.

00092               {
00093     for (typename Seq::iterator iter = seq_.begin();
00094          iter != seq_.end();) {
00095       typename Seq::iterator current = iter;
00096       iter++;
00097 
00098       delete(*current);
00099     }
00100   };


Member Function Documentation

template<typename T>
Seq& Update::SeqGuard< T >::seq (  )  [inline]

Definition at line 102 of file UpdateManager.cpp.

References Update::SeqGuard< T >::seq_.

Referenced by Update::Manager::pushImage().

00102              {
00103     return seq_;
00104   };


Member Data Documentation

template<typename T>
Seq Update::SeqGuard< T >::seq_ [private]

Definition at line 104 of file UpdateManager.cpp.

Referenced by Update::SeqGuard< T >::seq(), and Update::SeqGuard< T >::~SeqGuard().


The documentation for this class was generated from the following file:
Generated on Fri Feb 12 20:06:52 2016 for OpenDDS by  doxygen 1.4.7