libtorrent::set_to_zero< T > Struct Template Reference

List of all members.

Public Member Functions

 set_to_zero (T &v, bool cond)
void fire ()
 ~set_to_zero ()

Private Attributes

T & m_val
bool m_cond


Detailed Description

template<class T>
struct libtorrent::set_to_zero< T >

Definition at line 1817 of file peer_connection.cpp.


Constructor & Destructor Documentation

template<class T>
libtorrent::set_to_zero< T >::set_to_zero ( T &  v,
bool  cond 
) [inline]

Definition at line 1819 of file peer_connection.cpp.

template<class T>
libtorrent::set_to_zero< T >::~set_to_zero (  )  [inline]

Definition at line 1821 of file peer_connection.cpp.

References m_cond.


Member Function Documentation

template<class T>
void libtorrent::set_to_zero< T >::fire (  )  [inline]

Definition at line 1820 of file peer_connection.cpp.

References m_cond.


Member Data Documentation

template<class T>
T& libtorrent::set_to_zero< T >::m_val [private]

Definition at line 1823 of file peer_connection.cpp.

template<class T>
bool libtorrent::set_to_zero< T >::m_cond [private]

Definition at line 1824 of file peer_connection.cpp.


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

Generated on Sun May 25 00:21:45 2008 by  doxygen 1.5.6