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

    r128 r137  
    3535namespace sensor {
    3636
    37 Camera::Camera(const FrameworkManager *parent, string name, uint16_t width,
     37Camera::Camera(string name, uint16_t width,
    3838               uint16_t height, cvimage::Type::Format format)
    39     : IODevice(parent, name) {
     39    : IODevice(getFrameworkManager(), name) {
    4040  plot_tab = NULL;
    4141        logFormat=LogFormat::NONE;
     
    4545       
    4646  // station sol
    47   main_tab = new Tab(parent->GetTabWidget(), name);
     47  main_tab = new Tab(getFrameworkManager()->GetTabWidget(), name);
    4848  tab = new TabWidget(main_tab->NewRow(), name);
    4949  sensor_tab = new Tab(tab, "Setup");
Note: See TracChangeset for help on using the changeset viewer.