Changes between Version 7 and Version 8 of Tutorials/Beginner/Data Port Basics
- Timestamp:
- 17.12.2014 14:15:41 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials/Beginner/Data Port Basics
v7 v8 28 28 = Creating ports = 29 29 30 Component and application developers typically use the convenient port classes defined in module and group classes - e.g. ''tInput'' and ''tOutput'' in case of a simple [[http://www.finroc.org/doxygen/13. 05/cpp/html/classfinroc_1_1structure_1_1tModule.html|tModule]].30 Component and application developers typically use the convenient port classes defined in module and group classes - e.g. ''tInput'' and ''tOutput'' in case of a simple [[http://www.finroc.org/doxygen/13.10/cpp/html/classfinroc_1_1structure_1_1tModule.html|tModule]]. 31 31 32 32 To add a port to a component interface, add it as a public member variable to the component class in the component's header file. … … 100 100 Both is covered in the [[../Simple Robot Simulation]] Tutorial. 101 101 102 In source code, ports are connected using their ''ConnectTo'' methods (see [[http://www.finroc.org/doxygen/13. 05/cpp/html/classfinroc_1_1core_1_1tPortWrapperBase.html|tPortWrapperBase]]).102 In source code, ports are connected using their ''ConnectTo'' methods (see [[http://www.finroc.org/doxygen/13.10/cpp/html/classfinroc_1_1core_1_1tPortWrapperBase.html|tPortWrapperBase]]). 103 103 This is usually done in some group constructor. 104 104 … … 107 107 }}} 108 108 109 To connect many ports at once, the ''ConnectByName'' methods in [[http://www.finroc.org/doxygen/13. 05/cpp/html/classfinroc_1_1core_1_1tPortGroup.html|tPortGroup]] can be handy.109 To connect many ports at once, the ''ConnectByName'' methods in [[http://www.finroc.org/doxygen/13.10/cpp/html/classfinroc_1_1core_1_1tPortGroup.html|tPortGroup]] can be handy. 110 110 111 111 {{{#!c++ … … 193 193 194 194 For output ports, the API can found in the these three classes: 195 [[http://www.finroc.org/doxygen/13. 05/cpp/html/classfinroc_1_1data__ports_1_1tOutputPort.html|tOutputPort]]196 [[http://www.finroc.org/doxygen/13. 05/cpp/html/classfinroc_1_1data__ports_1_1tPort.html|tPort]]197 [[http://www.finroc.org/doxygen/13. 05/cpp/html/classfinroc_1_1core_1_1tPortWrapperBase.html|tPortWrapperBase]]195 [[http://www.finroc.org/doxygen/13.10/cpp/html/classfinroc_1_1data__ports_1_1tOutputPort.html|tOutputPort]] 196 [[http://www.finroc.org/doxygen/13.10/cpp/html/classfinroc_1_1data__ports_1_1tPort.html|tPort]] 197 [[http://www.finroc.org/doxygen/13.10/cpp/html/classfinroc_1_1core_1_1tPortWrapperBase.html|tPortWrapperBase]] 198 198 199 199 For input ports, the API can found in the these three classes: 200 [[http://www.finroc.org/doxygen/13. 05/cpp/html/classfinroc_1_1data__ports_1_1tInputPort.html|tInputPort]]201 [[http://www.finroc.org/doxygen/13. 05/cpp/html/classfinroc_1_1data__ports_1_1tPort.html|tPort]]202 [[http://www.finroc.org/doxygen/13. 05/cpp/html/classfinroc_1_1core_1_1tPortWrapperBase.html|tPortWrapperBase]]200 [[http://www.finroc.org/doxygen/13.10/cpp/html/classfinroc_1_1data__ports_1_1tInputPort.html|tInputPort]] 201 [[http://www.finroc.org/doxygen/13.10/cpp/html/classfinroc_1_1data__ports_1_1tPort.html|tPort]] 202 [[http://www.finroc.org/doxygen/13.10/cpp/html/classfinroc_1_1core_1_1tPortWrapperBase.html|tPortWrapperBase]]