EEROS  0.4.1.0
API for the EEROS Real-Time Robotics Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
RingBufferTest.cpp File Reference
#include <iostream>
#include <ostream>
#include <stdlib.h>
#include <eeros/core/RingBuffer.hpp>
Include dependency graph for RingBufferTest.cpp:

Macros

#define PUSH()   push(__LINE__)
 
#define POP()   pop(__LINE__)
 
#define PUSH_FAIL()   push_fail(__LINE__)
 
#define POP_FAIL()   pop_fail(__LINE__)
 
#define LEN(x)   len(x, __LINE__)
 

Functions

void error (int line, eeros::RingBuffer< int, 4 > &rb)
 
void push (int line)
 
void push_fail (int line)
 
void pop (int line)
 
void pop_fail (int line)
 
void len (int len, int line)
 
int main ()
 

Variables

RingBuffer< int, 4 > rb
 
int i = 0
 
int j = 0
 
int v
 
unsigned int ERROR = 0
 

Macro Definition Documentation

#define LEN (   x)    len(x, __LINE__)
#define POP ( )    pop(__LINE__)
#define POP_FAIL ( )    pop_fail(__LINE__)
#define PUSH ( )    push(__LINE__)
#define PUSH_FAIL ( )    push_fail(__LINE__)

Function Documentation

void error ( int  line,
eeros::RingBuffer< int, 4 > &  rb 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void len ( int  len,
int  line 
)

Here is the call graph for this function:

int main ( )

Here is the call graph for this function:

void pop ( int  line)

Here is the call graph for this function:

void pop_fail ( int  line)

Here is the call graph for this function:

void push ( int  line)

Here is the call graph for this function:

void push_fail ( int  line)

Here is the call graph for this function:

Variable Documentation

unsigned int ERROR = 0
int i = 0
int j = 0
RingBuffer<int, 4> rb
int v