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

    r15 r137  
    3232namespace sensor {
    3333
    34 UsRangeFinder::UsRangeFinder(const FrameworkManager *parent, string name)
    35     : IODevice(parent, name) {
     34UsRangeFinder::UsRangeFinder(string name)
     35    : IODevice(getFrameworkManager(), name) {
    3636  plot_tab = NULL;
    3737
     
    4242
    4343  // station sol
    44   main_tab = new Tab(parent->GetTabWidget(), name);
     44  main_tab = new Tab(getFrameworkManager()->GetTabWidget(), name);
    4545  tab = new TabWidget(main_tab->NewRow(), name);
    4646  sensor_tab = new Tab(tab, "Reglages");
Note: See TracChangeset for help on using the changeset viewer.