41 #include <dc1394/dc1394.h> 43 #include "camera1394stereo/Camera1394StereoConfig.h" 44 typedef camera1394stereo::Camera1394StereoConfig
Config;
77 void configure(dc1394feature_t feature,
int *control,
78 double *value,
double *value2=NULL);
79 state_t
getState(dc1394feature_info_t *finfo);
80 void getValues(dc1394feature_info_t *finfo,
81 double *value,
double *value2);
91 inline bool hasMode(dc1394feature_info_t *finfo, dc1394feature_mode_t mode)
93 for (uint32_t i = 0; i < finfo->modes.num; ++i)
95 if (finfo->modes.modes[i] == mode)
108 return DC1394_TRUE ==
feature_set_.feature[DC1394_FEATURE_TRIGGER
109 - DC1394_FEATURE_MIN].available;
115 bool setMode(dc1394feature_info_t *finfo, dc1394feature_mode_t mode);
116 void setOff(dc1394feature_info_t *finfo);
118 int old_control,
int *control,
119 double old_value,
double *value);
121 int old_control,
int *control,
122 double old_value,
double *value,
123 double old_value2,
double *value2);
130 #endif // _FEATURES_H_ boost::shared_ptr< Trigger > trigger_
state_t getState(dc1394feature_info_t *finfo)
dc1394featureset_t feature_set_
that camera's feature set
camera1394stereo::Camera1394StereoConfig Config
dc1394camera_t * camera_
current camera
void reconfigure(Config *newconfig)
void updateIfChanged(dc1394feature_t feature, int old_control, int *control, double old_value, double *value)
bool setMode(dc1394feature_info_t *finfo, dc1394feature_mode_t mode)
void getValues(dc1394feature_info_t *finfo, double *value, double *value2)
void configure(dc1394feature_t feature, int *control, double *value, double *value2=NULL)
bool initialize(Config *newconfig)
bool hasMode(dc1394feature_info_t *finfo, dc1394feature_mode_t mode)
libdc1394 triggering modes interface
Camera1394 Features class.
Features(dc1394camera_t *camera)
void setOff(dc1394feature_info_t *finfo)
int state_t
camera1394::Camera1394_* state values
Config oldconfig_
previous Config settings
camera1394stereo::Camera1394StereoConfig Config