Changeset 137 in flair-src for trunk/lib/FlairSensorActuator/src/Imu.cpp


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

    r99 r137  
    3333namespace sensor {
    3434
    35 Imu::Imu(const FrameworkManager *parent, string name) : IODevice(parent, name) {
     35Imu::Imu(string name) : IODevice(getFrameworkManager(), name) {
    3636  imuData = new ImuData(this);
    3737
    3838  // station sol
    39   mainTab = new Tab(parent->GetTabWidget(), name);
     39  mainTab = new Tab(getFrameworkManager()->GetTabWidget(), name);
    4040  tab = new TabWidget(mainTab->NewRow(), name);
    4141  sensorTab = new Tab(tab, "Reglages");
     
    4444}
    4545
    46 Imu::Imu(const IODevice *parent, std::string name) : IODevice(parent, name) {
     46Imu::Imu(const IODevice *parent,std::string name) : IODevice(parent, name) {
    4747  imuData = new ImuData(this);
    4848  mainTab = NULL;
Note: See TracChangeset for help on using the changeset viewer.