|
Relacs DAQ Library
0.9.8
|
#include <camera.h>


Public Member Functions | |
| Camera (void) | |
| Camera (const string &deviceclass) | |
| virtual | ~Camera (void) |
Public Member Functions inherited from Device | |
| Device (int type=MiscellaneousType) | |
| Device (const string &deviceclass, int type=MiscellaneousType) | |
| virtual | ~Device (void) |
| virtual int | open (const string &device) |
| virtual int | open (Device &device) |
| virtual bool | isOpen (void) const =0 |
| virtual void | close (void)=0 |
| virtual int | reset (void) |
| virtual const Options & | info (void) const |
| virtual const Options & | settings (void) const |
| int | deviceType (void) const |
| string | deviceTypeStr (void) const |
| string | deviceClass (void) const |
| string | deviceFile (void) const |
| string | deviceName (void) const |
| string | deviceVendor (void) const |
| string | deviceIdent (void) const |
| virtual void | setDeviceIdent (const string &ident) |
| virtual void | clearError (void) |
| virtual string | errorStr (void) const |
| void | setErrorStr (const string &strg) |
| void | addErrorStr (const string &strg) |
| void | setErrorStr (int errnum) |
| void | addErrorStr (int errnum) |
| virtual bool | success (void) const |
| virtual bool | failed (void) const |
Additional Inherited Members | |
Public Types inherited from Device | |
| enum | DeviceTypes { MiscellaneousType = 0, AnalogInputType = 1, AnalogOutputType = 2, DigitalIOType = 3, TriggerType = 4, AttenuatorType = 5, AttenuateType = 6, ManipulatorType = 7, TemperatureType = 8, CameraType = 9 } |
Static Public Member Functions inherited from Device | |
| static int | deviceTypes (void) |
| static string | deviceTypeStr (int type) |
| static string | getErrorStr (int ern) |
Static Public Attributes inherited from Device | |
| static const int | NotOpen = -1 |
| static const int | InvalidDevice = -2 |
| static const int | ReadError = -3 |
| static const int | WriteError = -4 |
| static const int | InvalidParam = -5 |
Protected Member Functions inherited from Device | |
| void | setDeviceType (int type) |
| void | setDeviceClass (const string &deviceclass) |
| void | setDeviceFile (const string &devicefile) |
| void | setDeviceName (const string &devicename) |
| void | setDeviceVendor (const string &devicevendor) |
| void | addInfo (void) |
| void | lock (void) const |
| void | unlock (void) const |
| QMutex * | mutex (void) const |
| virtual void | initOptions (void) |
Protected Attributes inherited from Device | |
| Options | Info |
| Options | Settings |
Virtual class for controlling a Camera.
implement info() and settings()
add something for indicating existing axis
The Camera class defines an interface for basic operations to control a camera.
In case you want to use a camera device within RELACS, your Attenuate implementation needs to provide a void default constructor (i.e. with no parameters) that does not open the device. Also, include the header file <relacs/relacsplugin.h> and make the Camera device known to RELACS with the addDevice( ClassNameOfYourCameraImplementation, PluginSetName ) macro.
| Camera | ( | const string & | deviceclass | ) |
Construct a Camera with class deviceclass.
1.8.6