Namespaces | Macros | Functions | Variables
prosilica.cpp File Reference
#include "prosilica/prosilica.h"
#include <prosilica_gige_sdk/PvRegIo.h>
#include <cassert>
#include <cstdio>
#include <ctime>
#include <cstring>
#include <arpa/inet.h>
#include <ros/console.h>
Include dependency graph for prosilica.cpp:

Go to the source code of this file.

Namespaces

 prosilica
 

Macros

#define CHECK_ERR(fnc, amsg)
 

Functions

void prosilica::fini ()
 
uint64_t prosilica::getGuid (size_t i)
 
std::string prosilica::getIPAddress (uint64_t guid)
 
static void prosilica::getStringValuedAttribute (std::string &value, boost::function< tPvErr(char *, unsigned long, unsigned long *)> get_fn)
 
void prosilica::init ()
 
std::vector< CameraInfo > prosilica::listCameras ()
 
size_t prosilica::numCameras ()
 
static void prosilica::openCamera (boost::function< tPvErr(tPvCameraInfo *)> info_fn, boost::function< tPvErr(tPvAccessFlags)> open_fn)
 

Variables

static const char * prosilica::acquisitionModes [] = {"Continuous","SingleFrame","MultiFrame","Recorder"}
 
static const char * prosilica::autoValues [] = {"Manual", "Auto", "AutoOnce"}
 
static tPvCameraInfo prosilica::cameraList [MAX_CAMERA_LIST]
 
static unsigned long prosilica::cameraNum = 0
 
static const char * prosilica::errorStrings []
 
static const unsigned int prosilica::MAX_CAMERA_LIST = 10
 
static const char * prosilica::triggerModes [] = {"Freerun", "SyncIn1", "SyncIn2", "FixedRate", "Software"}
 
static const unsigned long prosilica::USER_ADDRESS = 0x17200
 

Macro Definition Documentation

#define CHECK_ERR (   fnc,
  amsg 
)
Value:
do { \
tPvErr err = fnc; \
if (err != ePvErrSuccess) { \
char msg[256]; \
snprintf(msg, 256, "%s: %s", amsg, errorStrings[err]); \
throw ProsilicaException(err, msg); \
} \
} while (false)
msg
static const char * errorStrings[]
Definition: prosilica.cpp:61

Definition at line 45 of file prosilica.cpp.



prosilica_camera
Author(s): Maintained by William Woodall - wwoodall@willowgarage.com, Contributions by Allison Thackston - allison.thackston@nasa.gov
autogenerated on Mon Jun 10 2019 14:20:19