Classes | Enumerations | Functions | Variables
prosilica Namespace Reference

Classes

class  Camera
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)
static void getStringValuedAttribute (std::string &value, boost::function< tPvErr(char *, unsigned long, unsigned long *)> get_fn)
void init ()
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 79 of file prosilica.h.

Enumerator:
Manual 
Auto 
AutoOnce 

Definition at line 87 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 69 of file prosilica.h.


Function Documentation

void prosilica::fini ( )

Definition at line 105 of file prosilica.cpp.

uint64_t prosilica::getGuid ( size_t  i)

Definition at line 115 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 397 of file prosilica.cpp.

void prosilica::init ( )
Todo:
Callbacks for add/remove camera?
Todo:
Callbacks for add/remove camera?

Definition at line 88 of file prosilica.cpp.

Definition at line 110 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 124 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 491 of file prosilica.cpp.



prosilica_camera
Author(s): Patrick Mihelich
autogenerated on Thu Jan 2 2014 11:46:39