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

    r15 r137  
    3232namespace sensor {
    3333
    34 SimuUs::SimuUs(const FrameworkManager *parent, string name, uint32_t dev_id,
     34SimuUs::SimuUs(string name, uint32_t dev_id,
    3535               uint8_t priority)
    36     : Thread(parent, name, priority), UsRangeFinder(parent, name) {
     36    : Thread(getFrameworkManager(), name, priority), UsRangeFinder( name) {
    3737  data_rate =
    3838      new SpinBox(GetGroupBox()->NewRow(), "data rate", " Hz", 1, 500, 1, 50);
     
    4444
    4545SimuUs::SimuUs(const IODevice *parent, string name, uint32_t dev_id)
    46     : Thread(parent, name, 0), UsRangeFinder(parent, name) {
     46    : Thread(parent, name, 0), UsRangeFinder(parent,name) {
    4747  data_rate = NULL;
    4848
Note: See TracChangeset for help on using the changeset viewer.