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

singleton manager

File:
1 edited

Legend:

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

    r15 r137  
    3131namespace sensor {
    3232
    33 RadioReceiver::RadioReceiver(const FrameworkManager *parent, string name,
     33RadioReceiver::RadioReceiver(string name,
    3434                             unsigned int nb_channels)
    35     : IODevice(parent, name) {
     35    : IODevice(getFrameworkManager(), name) {
    3636  is_connected = false;
    3737  this->nb_channels = nb_channels;
     
    4747
    4848  // station sol
    49   main_tab = new Tab(parent->GetTabWidget(), name);
     49  main_tab = new Tab(getFrameworkManager()->GetTabWidget(), name);
    5050  tab = new TabWidget(main_tab->NewRow(), name);
    5151  setup_tab = new Tab(tab, "Setup");
Note: See TracChangeset for help on using the changeset viewer.