B2BITS FIX Antenna HFT  1.0.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Macros | Typedefs | Variables
UtilsDefines.h File Reference
#include "B2BITS_Guard.h"
#include "B2BITS_Mutex.h"
#include "DGuard.h"
+ Include dependency graph for UtilsDefines.h:
+ This graph shows which files directly or indirectly include this file:

Namespaces

 Utils
 Utils namespace.
 

Macros

#define CHARS_QTY(array)   (ELEMS_QTY(array)-1)
 
#define DMGuard(x, y)   ::Utils::_DMGuard x(y)
 
#define ELEMS_QTY(array)   sizeof(array)/sizeof((array)[0])
 
#define EngMGuard(x, y)   ::Utils::_EngMGuard x(y)
 
#define EngMGuard2(x, y, z)   ::Utils::_EngMGuard2 x(y, z)
 
#define MGuard(x, y)   ::Utils::_MGuard x(y)
 
#define MUnlocker(x, y)   ::Utils::_MUnlocker x(y)
 
#define NonSMGuard(x, y)   ::Utils::_NonSMGuard x(y)
 
#define OldMGuard(x, y)   ::Utils::_OldMGuard x(y)
 
#define RDGuard(x, y)   ::Utils::_RDGuard x(y)
 
#define SMGuard(x, y)   ::Utils::_SMGuard x(y)
 
#define VERIFY(x)   ((void) (x))
 

Typedefs

typedef DGuard< System::MutexUtils::_DMGuard
 
typedef Guard< System::EngMutexUtils::_EngMGuard
 
typedef Guard< System::EngMutexUtils::_EngMGuard2
 
typedef Guard< System::MutexUtils::_MGuard
 
typedef Unlocker< System::MutexUtils::_MUnlocker
 
typedef Guard< System::OldMutexUtils::_OldMGuard
 
typedef Guard< System::SpinMutexUtils::_SMGuard
 

Variables

static const int OLD_MUTEX = 2
 
static const int SPIN_MUTEX = 1
 

Macro Definition Documentation

#define CHARS_QTY (   array)    (ELEMS_QTY(array)-1)
#define DMGuard (   x,
 
)    ::Utils::_DMGuard x(y)
#define ELEMS_QTY (   array)    sizeof(array)/sizeof((array)[0])
#define EngMGuard (   x,
 
)    ::Utils::_EngMGuard x(y)
#define EngMGuard2 (   x,
  y,
 
)    ::Utils::_EngMGuard2 x(y, z)
#define MGuard (   x,
 
)    ::Utils::_MGuard x(y)
#define MUnlocker (   x,
 
)    ::Utils::_MUnlocker x(y)
#define NonSMGuard (   x,
 
)    ::Utils::_NonSMGuard x(y)
#define OldMGuard (   x,
 
)    ::Utils::_OldMGuard x(y)
#define RDGuard (   x,
 
)    ::Utils::_RDGuard x(y)
#define SMGuard (   x,
 
)    ::Utils::_SMGuard x(y)
#define VERIFY (   x)    ((void) (x))

Variable Documentation

const int OLD_MUTEX = 2
static
const int SPIN_MUTEX = 1
static