Classes | Defines | Functions
misc.h File Reference
#include "pthread.h"
Include dependency graph for misc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Status_t

Defines

#define MAX(a, b)   (((a) > (b)) ? (a) : (b))
#define mBits(x, m)   ((x)&(m))
#define mBitsExcept(x, m, be)   (((x)&(m))& ~(be))
#define mBitsIsSet(x, n)   mBits(x, (int) (1<<n))
#define mBitsOff(lvx, bn)   ((lvx)&= ~(bn))
#define mBitsOffExcept(lvx, bn, be)   ((lvx)&= ~((bn)&~(be)))
#define mBitsOn(lvx, by)   ((lvx)|=(by))
#define mBitsOnExcept(lvx, by, be)   ((lvx)|=(by)&~(be))
#define mBitsOnOff(lvx, by, bn)   {mBitsOff(lvx,bn);mBitsOn(lvx,by);}
#define mBitsOnOffExcept(lvx, by, bn, be)   {mBitsOffExcept(lvx,bn,be);mBitsOnExcept(lvx,by,be);}
#define mBitsSet(x, n)   mBitsOn(x, (int) (1<<n))
#define mBitsTogg(x, n)   mBitsToggle(x, (int) (1<<n))
#define mBitsToggle(lvx, b)   ((lvx)^= (b))
#define mBitsToggleExcept(lvx, b, be)   ((lvx)^= ((b)&~(be)))
#define mBitsUnset(x, n)   mBitsOff(x, (int) (1<<n))
#define mTestBits(x, m, b)   (mBits(x,m)==(b)))
#define mTestBitsExcept(x, m, b, be)   (mBitsExcept(x,m,be)==(b))
#define SIGNAL(p)
#define WAIT(p)

Functions

unsigned long getActualTimeus ()
unsigned long long getRawActualTimeus ()

Define Documentation

#define MAX (   a,
 
)    (((a) > (b)) ? (a) : (b))

Definition at line 41 of file misc.h.

#define mBits (   x,
  m 
)    ((x)&(m))

Definition at line 43 of file misc.h.

#define mBitsExcept (   x,
  m,
  be 
)    (((x)&(m))& ~(be))

Definition at line 44 of file misc.h.

#define mBitsIsSet (   x,
  n 
)    mBits(x, (int) (1<<n))

Definition at line 62 of file misc.h.

#define mBitsOff (   lvx,
  bn 
)    ((lvx)&= ~(bn))

Definition at line 50 of file misc.h.

#define mBitsOffExcept (   lvx,
  bn,
  be 
)    ((lvx)&= ~((bn)&~(be)))

Definition at line 51 of file misc.h.

#define mBitsOn (   lvx,
  by 
)    ((lvx)|=(by))

Definition at line 48 of file misc.h.

#define mBitsOnExcept (   lvx,
  by,
  be 
)    ((lvx)|=(by)&~(be))

Definition at line 49 of file misc.h.

#define mBitsOnOff (   lvx,
  by,
  bn 
)    {mBitsOff(lvx,bn);mBitsOn(lvx,by);}

Definition at line 55 of file misc.h.

#define mBitsOnOffExcept (   lvx,
  by,
  bn,
  be 
)    {mBitsOffExcept(lvx,bn,be);mBitsOnExcept(lvx,by,be);}

Definition at line 56 of file misc.h.

#define mBitsSet (   x,
  n 
)    mBitsOn(x, (int) (1<<n))

Definition at line 58 of file misc.h.

#define mBitsTogg (   x,
  n 
)    mBitsToggle(x, (int) (1<<n))

Definition at line 60 of file misc.h.

#define mBitsToggle (   lvx,
 
)    ((lvx)^= (b))

Definition at line 52 of file misc.h.

#define mBitsToggleExcept (   lvx,
  b,
  be 
)    ((lvx)^= ((b)&~(be)))

Definition at line 53 of file misc.h.

#define mBitsUnset (   x,
  n 
)    mBitsOff(x, (int) (1<<n))

Definition at line 59 of file misc.h.

#define mTestBits (   x,
  m,
 
)    (mBits(x,m)==(b)))

Definition at line 45 of file misc.h.

#define mTestBitsExcept (   x,
  m,
  b,
  be 
)    (mBitsExcept(x,m,be)==(b))

Definition at line 46 of file misc.h.

#define SIGNAL (   p)

Definition at line 65 of file misc.h.

#define WAIT (   p)

Definition at line 64 of file misc.h.


Function Documentation

unsigned long getActualTimeus ( )

Definition at line 42 of file time.cc.

unsigned long long getRawActualTimeus ( )

Definition at line 64 of file time.cc.



ros_rt_wmp_sniffer
Author(s): Danilo Tardioli, dantard@unizar.es
autogenerated on Mon Oct 6 2014 08:27:58