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/SimuCamera.cpp

    r15 r137  
    1818#include "SimuCamera.h"
    1919#include <FrameworkManager.h>
     20#include <GroupBox.h>
    2021#include <SpinBox.h>
    21 #include <GroupBox.h>
    22 #include <cvimage.h>
     22//#include <cvimage.h>
    2323#include <SharedMem.h>
    2424#include <sstream>
     
    3232namespace sensor {
    3333
    34 SimuCamera::SimuCamera(const FrameworkManager *parent, string name,
     34SimuCamera::SimuCamera(string name,
    3535                       uint16_t width, uint16_t height, uint8_t channels,
    3636                       uint32_t dev_id, uint8_t priority)
    37     : Thread(parent, name, priority),
    38       Camera(parent, name, width, height, cvimage::Type::Format::BGR) {
     37    : Thread(getFrameworkManager(), name, priority),
     38      Camera(name, width, height, cvimage::Type::Format::BGR) {
    3939  data_rate =
    4040      new SpinBox(GetGroupBox()->NewRow(), "data rate", " Hz", 1, 100, 1, 50);
     
    5252SimuCamera::SimuCamera(const IODevice *parent, string name, uint16_t width,
    5353                       uint16_t height, uint8_t channels, uint32_t dev_id)
    54     : Thread(parent, name, 0), Camera(parent, name) {
     54    : Thread(parent, name, 0), Camera(parent,name) {
    5555  data_rate = NULL;
    5656
Note: See TracChangeset for help on using the changeset viewer.