Changeset 137 in flair-src for trunk/lib/FlairSensorActuator/src/TargetEthController.cpp
- Timestamp:
- Feb 14, 2017, 3:06:20 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairSensorActuator/src/TargetEthController.cpp
r38 r137 36 36 namespace sensor { 37 37 38 TargetEthController::TargetEthController(const FrameworkManager *parent, 39 string name, uint16_t _port, 38 TargetEthController::TargetEthController(string name, uint16_t _port, 40 39 uint8_t priority) 41 : TargetController( parent,name, priority), listeningPort(_port),40 : TargetController(name, priority), listeningPort(_port), 42 41 receiveCurrentPosition(0) { 43 42 const bool blocking = true; 44 43 listeningSocket = 45 new TcpSocket( parent, "TEC_listening_socket", blocking, blocking);44 new TcpSocket(getFrameworkManager(), "TEC_listening_socket", blocking, blocking); 46 45 dataSocket = 47 new Socket( parent, "TEC_data_socket", _port + 1); // receiving side46 new Socket(getFrameworkManager(), "TEC_data_socket", _port + 1); // receiving side 48 47 } 49 48
Note:
See TracChangeset
for help on using the changeset viewer.