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

    r68 r137  
    4141namespace sensor {
    4242
    43 NmeaGps::NmeaGps(const FrameworkManager *parent, string name, NMEAFlags_t NMEAFlags)
    44     : IODevice(parent, name) {
     43NmeaGps::NmeaGps(string name, NMEAFlags_t NMEAFlags)
     44    : IODevice(getFrameworkManager(), name) {
    4545  this->NMEAFlags = NMEAFlags;
    4646
     
    5454
    5555  // station sol
    56   mainTab = new Tab(parent->GetTabWidget(), name);
     56  mainTab = new Tab(getFrameworkManager()->GetTabWidget(), name);
    5757  tab = new TabWidget(mainTab->NewRow(), name);
    5858  sensorTab = new Tab(tab, "Setup");
Note: See TracChangeset for help on using the changeset viewer.