Classes | Enumerations | Functions | Variables
prosilica Namespace Reference

Classes

class  Camera
 
struct  CameraInfo
 
struct  ProsilicaException
 

Enumerations

enum  AcquisitionMode { Continuous, SingleFrame, MultiFrame, Recorder }
 
enum  AutoSetting { Manual, Auto, AutoOnce }
 
enum  FrameStartTriggerMode {
  Freerun, SyncIn1, SyncIn2, FixedRate,
  Software, None
}
 

Functions

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

Variables

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

Enumeration Type Documentation

Enumerator
Continuous 
SingleFrame 
MultiFrame 
Recorder 

Definition at line 99 of file prosilica.h.

Enumerator
Manual 
Auto 
AutoOnce 

Definition at line 107 of file prosilica.h.

According to FrameStartTriggerMode Enum - AVT GigE Camera and Driver Attributes Firmware 1.38 April 7,2010

Enumerator
Freerun 
SyncIn1 
SyncIn2 
FixedRate 
Software 
None 

Definition at line 89 of file prosilica.h.

Function Documentation

void prosilica::fini ( )

Definition at line 93 of file prosilica.cpp.

uint64_t prosilica::getGuid ( size_t  i)

Definition at line 104 of file prosilica.cpp.

std::string prosilica::getIPAddress ( uint64_t  guid)

Definition at line 148 of file prosilica.cpp.

static void prosilica::getStringValuedAttribute ( std::string value,
boost::function< tPvErr(char *, unsigned long, unsigned long *)>  get_fn 
)
static

Definition at line 442 of file prosilica.cpp.

void prosilica::init ( )

Definition at line 88 of file prosilica.cpp.

std::vector< CameraInfo > prosilica::listCameras ( )

get list of all cameras

append list of unreachable cameras

get info

get list of all cameras

append list of unreachable cameras

get info

Definition at line 112 of file prosilica.cpp.

size_t prosilica::numCameras ( )

Definition at line 98 of file prosilica.cpp.

static void prosilica::openCamera ( boost::function< tPvErr(tPvCameraInfo *)>  info_fn,
boost::function< tPvErr(tPvAccessFlags)>  open_fn 
)
static
Todo:
support opening as monitor?

Definition at line 160 of file prosilica.cpp.

Variable Documentation

const char* prosilica::acquisitionModes[] = {"Continuous","SingleFrame","MultiFrame","Recorder"}
static

Definition at line 60 of file prosilica.cpp.

const char* prosilica::autoValues[] = {"Manual", "Auto", "AutoOnce"}
static

Definition at line 58 of file prosilica.cpp.

tPvCameraInfo prosilica::cameraList[MAX_CAMERA_LIST]
static

Definition at line 85 of file prosilica.cpp.

unsigned long prosilica::cameraNum = 0
static

Definition at line 86 of file prosilica.cpp.

const char* prosilica::errorStrings[]
static
Initial value:
= {"No error",
"Unexpected camera fault",
"Unexpected fault in PvApi or driver",
"Camera handle is invalid",
"Bad parameter to API call",
"Sequence of API calls is incorrect",
"Camera or attribute not found",
"Camera cannot be opened in the specified mode",
"Camera was unplugged",
"Setup is invalid (an attribute is invalid)",
"System/network resources or memory not available",
"1394 bandwidth not available",
"Too many frames on queue",
"Frame buffer is too small",
"Frame cancelled by user",
"The data for the frame was lost",
"Some data in the frame is missing",
"Timeout during wait",
"Attribute value is out of the expected range",
"Attribute is not this type (wrong access function)",
"Attribute write forbidden at this time",
"Attribute is not available at this time",
"A firewall is blocking the traffic"}

Definition at line 61 of file prosilica.cpp.

const unsigned int prosilica::MAX_CAMERA_LIST = 10
static

Definition at line 57 of file prosilica.cpp.

const char* prosilica::triggerModes[] = {"Freerun", "SyncIn1", "SyncIn2", "FixedRate", "Software"}
static

Definition at line 59 of file prosilica.cpp.

const unsigned long prosilica::USER_ADDRESS = 0x17200
static

Definition at line 536 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