B2BITS FIX Antenna HFT  1.0.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
auto_plock_t2< lock_t > Class Template Reference

#include <b2b_platform.h>

Public Member Functions

 auto_plock_t2 () throw ()
 
 auto_plock_t2 (lock_t *alock, bool lockNow=true, bool isLocked=false) throw ()
 
void init (lock_t *alock, bool lockNow, bool isLocked) throw ()
 
bool isLocked () throw ()
 
void lock (lock_t *alock) throw ()
 
void lock () throw ()
 
bool try_lock () throw ()
 
void unlock () throw ()
 
 ~auto_plock_t2 () throw ()
 

Public Attributes

lock_t * lock_
 

Constructor & Destructor Documentation

template<class lock_t >
auto_plock_t2< lock_t >::auto_plock_t2 ( )
throw (
)
inline
template<class lock_t >
auto_plock_t2< lock_t >::auto_plock_t2 ( lock_t *  alock,
bool  lockNow = true,
bool  isLocked = false 
)
throw (
)
inlineexplicit
template<class lock_t >
auto_plock_t2< lock_t >::~auto_plock_t2 ( )
throw (
)
inline

Member Function Documentation

template<class lock_t >
void auto_plock_t2< lock_t >::init ( lock_t *  alock,
bool  lockNow,
bool  isLocked 
)
throw (
)
inline
template<class lock_t >
bool auto_plock_t2< lock_t >::isLocked ( )
throw (
)
inline
template<class lock_t >
void auto_plock_t2< lock_t >::lock ( lock_t *  alock)
throw (
)
inline
template<class lock_t >
void auto_plock_t2< lock_t >::lock ( )
throw (
)
inline
template<class lock_t >
bool auto_plock_t2< lock_t >::try_lock ( )
throw (
)
inline
template<class lock_t >
void auto_plock_t2< lock_t >::unlock ( )
throw (
)
inline

Member Data Documentation

template<class lock_t >
lock_t* auto_plock_t2< lock_t >::lock_