areaDetector  3-5-0
EPICS areaDetector framework
Classes | Macros | Typedefs | Functions
testCams.cpp File Reference
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <getopt.h>
#include <unistd.h>
#include <ellLib.h>
#include <dc1394/dc1394.h>

Classes

struct  camNode_t
 

Macros

#define FDC_DC1394_NUM_BUFFERS   5
 Number of image buffers the dc1394 library will use internally. More...
 
#define ERR(errCode)   if (errCode != 0) fprintf(stderr, "ERROR [%s:%d]: dc1394 code: %d\n", __FILE__, __LINE__, errCode)
 Print an errorcode to stderr. More...
 
#define DEBUG(errCode)   printf("%3d: " #errCode "\n", __LINE__); ERR(errCode)
 
#define NFRAMES   100
 

Typedefs

typedef struct camNode_t camNode_t
 

Functions

void reset_bus ()
 
int main (int argc, char *argv[])
 

Macro Definition Documentation

◆ DEBUG

#define DEBUG (   errCode)    printf("%3d: " #errCode "\n", __LINE__); ERR(errCode)

◆ ERR

#define ERR (   errCode)    if (errCode != 0) fprintf(stderr, "ERROR [%s:%d]: dc1394 code: %d\n", __FILE__, __LINE__, errCode)

Print an errorcode to stderr.

◆ FDC_DC1394_NUM_BUFFERS

#define FDC_DC1394_NUM_BUFFERS   5

Number of image buffers the dc1394 library will use internally.

◆ NFRAMES

#define NFRAMES   100

Typedef Documentation

◆ camNode_t

typedef struct camNode_t camNode_t

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

◆ reset_bus()

void reset_bus ( )