Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
icl::io::pylon::PylonCameraOptions Class Reference

This is a helper class for Pylon camera settings. More...

#include <PylonCameraOptions.h>

Inheritance diagram for icl::io::pylon::PylonCameraOptions:
icl::utils::Configurable

List of all members.

Public Member Functions

 PylonCameraOptions (Pylon::IPylonDevice *camera, Interruptable *interu)
 Constructor.
 ~PylonCameraOptions ()
 Destructor.
Pylon::PixelType getCameraPixelType ()
 convenience function to get the cameras PixelType
int getCameraPixelSize ()
 getter for cameras PixelSize in bits
long getNeededBufferSize ()
 getter of the BufferSize needed by the camera.
void acquisitionStart ()
 Executes the ICommand 'AcquisitionStart'.
void acquisitionStop ()
 Executes the ICommand 'AcquisitionStop'.
int getHeight ()
 getter for the camera image height.
int getWidth ()
 getter for the camera image width.
std::string getFormatString ()
 returns the cameras PixelFormat as string
bool omitDoubleFrames ()
 whether double frames should be omitted.
double getResultingFrameRateAbs ()
 getter for the current expected framerate

Private Member Functions

std::string getType (const std::string &name)
 get type of property.
std::string getInfo (const std::string &name)
 get information of a properties valid values.
std::string getValue (const std::string &name)
 returns the current value of a property or a parameter.
int isVolatile (const std::string &propertyName)
 Returns whether this property may be changed internally.
void processPropertyChange (const utils::Configurable::Property &prop)
 callback for changed configurable properties
void addToPropertyList (std::vector< std::string > &ps, const GenApi::CNodePtr &node)
 helper function for getPropertyList.
GenApi::INode * getNode (std::string name)
 gets the corresponding CValuePtr to the passed name.

Private Attributes

Interruptablem_Interu
 the Interruptable that provides interruption for the camera.
Pylon::IPylonDevice * m_Camera
 The camera.
bool m_OmitDoubleFrames
 whether double frames should be omitted.

Detailed Description

This is a helper class for Pylon camera settings.


Constructor & Destructor Documentation

icl::io::pylon::PylonCameraOptions::PylonCameraOptions ( Pylon::IPylonDevice *  camera,
Interruptable interu 
)

Constructor.

Parameters:
cameraThe IPylonDevice to work with.
interuAn Interruptable class that provides interruption functionality for the passed camera.

Destructor.


Member Function Documentation

Executes the ICommand 'AcquisitionStart'.

Executes the ICommand 'AcquisitionStop'.

void icl::io::pylon::PylonCameraOptions::addToPropertyList ( std::vector< std::string > &  ps,
const GenApi::CNodePtr &  node 
) [private]

helper function for getPropertyList.

getter for cameras PixelSize in bits

convenience function to get the cameras PixelType

returns the cameras PixelFormat as string

getter for the camera image height.

std::string icl::io::pylon::PylonCameraOptions::getInfo ( const std::string &  name) [private]

get information of a properties valid values.

getter of the BufferSize needed by the camera.

GenApi::INode* icl::io::pylon::PylonCameraOptions::getNode ( std::string  name) [private]

gets the corresponding CValuePtr to the passed name.

getter for the current expected framerate

std::string icl::io::pylon::PylonCameraOptions::getType ( const std::string &  name) [private]

get type of property.

std::string icl::io::pylon::PylonCameraOptions::getValue ( const std::string &  name) [private]

returns the current value of a property or a parameter.

getter for the camera image width.

int icl::io::pylon::PylonCameraOptions::isVolatile ( const std::string &  propertyName) [private]

Returns whether this property may be changed internally.

whether double frames should be omitted.

callback for changed configurable properties


Member Data Documentation

Pylon::IPylonDevice* icl::io::pylon::PylonCameraOptions::m_Camera [private]

The camera.

the Interruptable that provides interruption for the camera.

whether double frames should be omitted.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines