See L1394 Homepage for more information.
#include <l1394_session.h> using namespace L1394; int main(int argc, char*argv[]) { //Start a new Session Session* session = SSession::getSession(); //Search a camera Camera* camera = session->findCamera(); if (camera == 0) { cout << "No Camera available" << endl; return 0; } //Now you can use the camera. //Test if the camera support zooming. if(camera->zoom()->hasFeature()) //If true set zoom value to the minimum. camera->zoom()->setValue( camera->zoom()->getMinValue() ) else cout << "Zoom is not supported" << endl; //Before you quit the application, delete the Session delete session; }