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

    r38 r137  
    3636namespace sensor {
    3737
    38 TargetEthController::TargetEthController(const FrameworkManager *parent,
    39                                          string name, uint16_t _port,
     38TargetEthController::TargetEthController(string name, uint16_t _port,
    4039                                         uint8_t priority)
    41     : TargetController(parent, name, priority), listeningPort(_port),
     40    : TargetController(name, priority), listeningPort(_port),
    4241      receiveCurrentPosition(0) {
    4342  const bool blocking = true;
    4443  listeningSocket =
    45       new TcpSocket(parent, "TEC_listening_socket", blocking, blocking);
     44      new TcpSocket(getFrameworkManager(), "TEC_listening_socket", blocking, blocking);
    4645  dataSocket =
    47       new Socket(parent, "TEC_data_socket", _port + 1); // receiving side
     46      new Socket(getFrameworkManager(), "TEC_data_socket", _port + 1); // receiving side
    4847}
    4948
Note: See TracChangeset for help on using the changeset viewer.