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

singleton manager

File:
1 edited

Legend:

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

    r55 r137  
    3434namespace sensor {
    3535
    36 SimuImu::SimuImu(const FrameworkManager *parent, string name, uint32_t dev_id,
     36SimuImu::SimuImu(string name, uint32_t dev_id,
    3737                 uint8_t priority)
    38     : Imu(parent, name), Thread(parent, name, priority) {
     38    : Imu(name), Thread(getFrameworkManager(), name, priority) {
    3939  dataRate =
    4040      new SpinBox(GetGroupBox()->NewRow(), "data rate", " Hz", 1, 500, 1, 200);
     
    4848
    4949SimuImu::SimuImu(const IODevice *parent, string name, uint32_t dev_id)
    50     : Imu(parent, name), Thread(parent, name, 0) {
     50    : Imu(parent,name), Thread(parent, name, 0) {
    5151  dataRate = NULL;
    5252
Note: See TracChangeset for help on using the changeset viewer.