Ignore:
Timestamp:
Feb 14, 2017, 3:06:20 PM (5 years ago)
Author:
Sanahuja Guillaume
Message:

singleton manager

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairSensorActuator/src/V4LCamera.cpp

    r124 r137  
    2020#include <DoubleSpinBox.h>
    2121#include <CheckBox.h>
    22 #include <GridLayout.h>
    2322#include <Label.h>
    2423#include <cvimage.h>
     
    3332namespace sensor {
    3433
    35 V4LCamera::V4LCamera(const FrameworkManager *parent, string name,
     34V4LCamera::V4LCamera(string name,
    3635                     uint8_t camera_index, uint16_t width, uint16_t height,
    3736                     cvimage::Type::Format format, uint8_t priority)
    38     : Thread(parent, name, priority),
    39       Camera(parent, name, width, height, format) {
     37    : Thread(getFrameworkManager(), name, priority),
     38      Camera(name, width, height, format) {
    4039  capture = cvCaptureFromCAM(camera_index); // a mettre apres l'init dsp
    4140
Note: See TracChangeset for help on using the changeset viewer.