The VisAO Camera
sharedim_stack.h File Reference

Declarations for the shared image circular buffer. More...

#include <sys/shm.h>
#include <sys/time.h>
#include <iostream>
#include <sstream>
#include "libvisao.h"

Go to the source code of this file.

Classes

struct  sharedim< IMDATA_TYPE >
 Convenience structure for an image. More...
 
struct  sharedim_stack_header
 Convenience structure for the stack header. More...
 
class  sharedim_stack< IMDATA_TYPE >
 Class to manage a stack of images in shared memory. More...
 

Macros

#define IM0_OFFSET   (sizeof(sharedim_stack_header) + header->n_images*sizeof(int))
 
#define IMD_OFFSET   (2*sizeof(int)+sizeof(int *))
 
#define ERROR_REPORTSIM(er)   if(global_error_report) (*global_error_report)(er,__FILE__,__LINE__);
 
#define LOG_INFOSIM(li)   if(global_log_info) (*global_log_info)(li);
 

Typedefs

typedef sharedim< shortsharedimS
 
typedef sharedim< double > sharedimD
 
typedef sharedim_stack< shortsharedim_stackS
 
typedef sharedim_stack< double > sharedim_stackD
 
typedef sharedim_stack< float > sharedim_stackF
 
typedef sharedim_stack< unsigned char > sharedim_stackUC
 

Detailed Description

Author
Jared R. Males

Definition in file sharedim_stack.h.