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

    r15 r137  
    4040namespace flair {
    4141namespace actuator {
    42 BlCtrlV2_x4_speed::BlCtrlV2_x4_speed(FrameworkManager *parent, string name,
    43                                      I2cPort *i2cport, uint8_t base_address,
     42BlCtrlV2_x4_speed::BlCtrlV2_x4_speed(string name,I2cPort *i2cport, uint8_t base_address,
    4443                                     uint8_t priority)
    45     : Thread(parent, name, priority), IODevice(parent, name) {
     44    : Thread(getFrameworkManager(), name, priority), IODevice(getFrameworkManager(), name) {
    4645  this->i2cport = i2cport;
    4746  slave_address = base_address;
     
    6968
    7069  // station sol
    71   main_tab = new Tab(parent->GetTabWidget(), name);
     70  main_tab = new Tab(getFrameworkManager()->GetTabWidget(), name);
    7271  tab = new TabWidget(main_tab->NewRow(), name);
    7372  Tab *sensor_tab = new Tab(tab, "Reglages");
Note: See TracChangeset for help on using the changeset viewer.