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

    r15 r137  
    4141namespace sensor {
    4242
    43 HostEthController::HostEthController(const FrameworkManager *parent,
    44                                      string name, string _address, int _port,
     43HostEthController::HostEthController(string name, string _address, int _port,
    4544                                     uint32_t period, uint32_t _bitsPerAxis,
    4645                                     uint8_t priority)
    47     : Thread(parent, name, priority), IODevice(parent, name),
    48       tab(new Tab(parent->GetTabWidget(), name)), axisNumber(0),
     46    : Thread(getFrameworkManager(), name, priority), IODevice(getFrameworkManager(), name),
     47      tab(new Tab(getFrameworkManager()->GetTabWidget(), name)), axisNumber(0),
    4948      buttonNumber(0), targetAddress(_address), targetPort(_port),
    5049      bitsPerAxis(_bitsPerAxis), dataFrameBuffer(NULL),
Note: See TracChangeset for help on using the changeset viewer.