B2BITS FIX Antenna HFT  1.0.13
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Typedefs | Functions
fifo_iface.h File Reference
#include "message_queue_iface.h"
+ Include dependency graph for fifo_iface.h:

Classes

struct  Fifo
 
struct  InOutChannel
 

Typedefs

typedef struct Fifo Fifo
 
typedef struct InOutChannel InOutChannel
 

Functions

static void * fifo_claim_continuous_space_for_push (Fifo *queue, int len)
 
static void fifo_commit_peek (Fifo *queue, int len)
 
static void fifo_commit_push (Fifo *queue, int len)
 
static Fifofifo_create (void *buffer, int size, unsigned flags)
 
static void fifo_dispose (Fifo *queue)
 
static int fifo_is_empty (Fifo *queue)
 
static int fifo_is_full (Fifo *queue, int len)
 
static int fifo_is_ready (Fifo *queue)
 
static int fifo_peek_continuous_buf (Fifo *queue, void **ptr)
 
static int fifo_pop (Fifo *queue, char *message, int bufLen)
 
static int fifo_push (Fifo *queue, const char *message, int len)
 
static InOutChannelinout_channel_create (Fifo *in, Fifo *out)
 
static InOutChannelinout_channel_create_on_heap (int in_size, int out_size, int flags)
 
static void inout_channel_dispose (InOutChannel *ch)
 

Typedef Documentation

typedef struct Fifo Fifo
typedef struct InOutChannel InOutChannel

Function Documentation

static void* fifo_claim_continuous_space_for_push ( Fifo queue,
int  len 
)
inlinestatic
static void fifo_commit_peek ( Fifo queue,
int  len 
)
inlinestatic

References atom_read, atom_set, MB, Fifo::sh, and Fifo::size.

static void fifo_commit_push ( Fifo queue,
int  len 
)
inlinestatic

References atom_read, atom_set, MB, Fifo::sh, and Fifo::size.

static Fifo* fifo_create ( void *  buffer,
int  size,
unsigned  flags 
)
static
static void fifo_dispose ( Fifo queue)
static
static int fifo_is_empty ( Fifo queue)
inlinestatic

References atom_read, fifo_is_ready(), and Fifo::sh.

static int fifo_is_full ( Fifo queue,
int  len 
)
inlinestatic
static int fifo_is_ready ( Fifo queue)
inlinestatic
static int fifo_peek_continuous_buf ( Fifo queue,
void **  ptr 
)
inlinestatic
static int fifo_pop ( Fifo queue,
char *  message,
int  bufLen 
)
inlinestatic
static int fifo_push ( Fifo queue,
const char *  message,
int  len 
)
inlinestatic
static InOutChannel* inout_channel_create ( Fifo in,
Fifo out 
)
static
static InOutChannel* inout_channel_create_on_heap ( int  in_size,
int  out_size,
int  flags 
)
static
static void inout_channel_dispose ( InOutChannel ch)
static