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

    r15 r137  
    3535namespace sensor {
    3636
    37 HokuyoUTM30Lx::HokuyoUTM30Lx(const FrameworkManager *parent, string name,
     37HokuyoUTM30Lx::HokuyoUTM30Lx(string name,
    3838                             SerialPort *serialport, uint8_t priority)
    39     : LaserRangeFinder(parent, name), Thread(parent, name, priority) {
    40   main_tab = new Tab(parent->GetTabWidget(), name);
     39    : LaserRangeFinder(name), Thread(getFrameworkManager(), name, priority) {
     40  main_tab = new Tab(getFrameworkManager()->GetTabWidget(), name);
    4141  cvmatrix_descriptor *desc = new cvmatrix_descriptor(1081, 1);
    4242  output = new cvmatrix((IODevice *)this, desc, SignedIntegerType(16));
Note: See TracChangeset for help on using the changeset viewer.