Fawkes API
Fawkes Development Version
bb2info.cpp
1
2
/***************************************************************************
3
* bb2info.cpp - Print BB2 to stdout
4
*
5
* Created: Fri Nov 02 19:03:00 2007
6
* Copyright 2007 Tim Niemueller [www.niemueller.de]
7
*
8
****************************************************************************/
9
10
/* This program is free software; you can redistribute it and/or modify
11
* it under the terms of the GNU General Public License as published by
12
* the Free Software Foundation; either version 2 of the License, or
13
* (at your option) any later version.
14
*
15
* This program is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
* GNU Library General Public License for more details.
19
*
20
* Read the full text in the LICENSE.GPL file in the doc directory.
21
*/
22
23
#include <fvcams/bumblebee2.h>
24
#include <fvutils/system/camargp.h>
25
26
using namespace
std
;
27
using namespace
firevision
;
28
29
int
30
main(
int
argc,
char
**argv)
31
{
32
33
CameraArgumentParser
*cap =
new
CameraArgumentParser
(
"bumblebee2:Bumblebee2 BB2-03S2C"
);
34
35
Bumblebee2Camera
*bb2 =
new
Bumblebee2Camera
(cap);
36
bb2->
open
();
37
bb2->
print_info
();
38
bb2->
close
();
39
40
delete
bb2;
41
delete
cap;
42
43
return
0;
44
}
45
firevision::Bumblebee2Camera::open
virtual void open()
Open the camera.
Definition:
bumblebee2.cpp:353
std
STL namespace.
firevision::CameraArgumentParser
Camera argument parser.
Definition:
camargp.h:38
firevision
Definition:
vision_master.h:32
firevision::Bumblebee2Camera
Bumblebee2 camera.
Definition:
bumblebee2.h:37
firevision::Bumblebee2Camera::print_info
virtual void print_info()
Print out camera information.
Definition:
bumblebee2.cpp:307
firevision::Bumblebee2Camera::close
virtual void close()
Close camera.
Definition:
bumblebee2.cpp:400
src
tools
vision
bb2info.cpp
Generated by
1.8.13