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_lock_t2< SPINLOCK_T > Class Template Reference

#include <b2b_platform.h>

Public Member Functions

 auto_lock_t2 () throw ()
 
 auto_lock_t2 (SPINLOCK_T &alock, bool lockNow) throw ()
 
 auto_lock_t2 (SPINLOCK_T &alock, bool lockNow, bool isLocked) throw ()
 
bool isLocked () throw ()
 
void lock () throw ()
 
bool try_lock () throw ()
 
void unlock () throw ()
 
 ~auto_lock_t2 () throw ()
 

Public Attributes

SPINLOCK_Tlock_
 

Constructor & Destructor Documentation

auto_lock_t2< SPINLOCK_T >::auto_lock_t2 ( )
throw (
)
inline
auto_lock_t2< SPINLOCK_T >::auto_lock_t2 ( SPINLOCK_T alock,
bool  lockNow 
)
throw (
)
inlineexplicit
auto_lock_t2< SPINLOCK_T >::auto_lock_t2 ( SPINLOCK_T alock,
bool  lockNow,
bool  isLocked 
)
throw (
)
inlineexplicit
auto_lock_t2< SPINLOCK_T >::~auto_lock_t2 ( )
throw (
)
inline

Member Function Documentation

bool auto_lock_t2< SPINLOCK_T >::isLocked ( )
throw (
)
inline
void auto_lock_t2< SPINLOCK_T >::lock ( )
throw (
)
inline
bool auto_lock_t2< SPINLOCK_T >::try_lock ( )
throw (
)
inline
void auto_lock_t2< SPINLOCK_T >::unlock ( )
throw (
)
inline

Member Data Documentation