source: flair-src/trunk/lib/FlairSensorActuator/src/Ps3Eye.h

Last change on this file was 403, checked in by Sanahuja Guillaume, 3 years ago

select user memory pointer (v4l) if using custom alloc function in images (ie if initdsp was called)

File size: 1.0 KB
Line 
1// %flair:license{
2// This file is part of the Flair framework distributed under the
3// CECILL-C License, Version 1.0.
4// %flair:license}
5/*!
6 * \file Ps3Eye.h
7 * \brief Class for Ps3Eye camera
8 * \author Guillaume Sanahuja, Copyright Heudiasyc UMR UTC/CNRS 7253
9 * \date 2012/01/19
10 * \version 4.0
11 */
12
13#ifndef PS3EYE_H
14#define PS3EYE_H
15
16#include "V4LCamera.h"
17
18namespace flair {
19namespace sensor {
20/*! \class Ps3Eye
21*
22* \brief Class for Ps3Eye camera
23*/
24class Ps3Eye : public V4LCamera {
25
26public:
27 /*!
28 * \brief Constructor
29 *
30 * Construct a Ps3Eye.
31 * It will be child of the FrameworkManager.
32 *
33 * \param name name
34 * \param camera_index index of the camera, ie /dev/videox
35 * \param useMemoryUsrPtr true to use memory user pointer (ex with cmem on omap3730), false to use mmap
36 * \param priority priority of the Thread
37 */
38 Ps3Eye(std::string name,
39 int camera_index, bool useMemoryUsrPtr,uint8_t priority);
40
41 /*!
42 * \brief Destructor
43 *
44 */
45 ~Ps3Eye();
46
47private:
48};
49} // end namespace sensor
50} // end namespace flair
51
52#endif // PS3EYE_H
Note: See TracBrowser for help on using the repository browser.