Changeset 175:3f95d4a4a332 in finroc_plugins_data_ports
- Timestamp:
- 12.03.2021 00:38:19 (15 months ago)
- Branch:
- 17.03
- Phase:
- public
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
api/tGenericPortImplementation.h
r161 r175 183 183 * This publish()-variant is efficient with all data types. 184 184 */ 185 inline void Publish(core::tAbstractPort& port, tPortDataPointer<rrlib::rtti::tGenericObject>& data_buffer) 185 template <typename T> 186 inline void Publish(core::tAbstractPort& port, tPortDataPointer<T>& data_buffer) 186 187 { 187 188 if (IsCheaplyCopiedType(port.GetDataType())) -
tGenericPort.h
r161 r175 312 312 implementation->Publish(*GetWrapped(), buffer); 313 313 } 314 inline void Publish(tPortDataPointer<const rrlib::rtti::tGenericObject>& buffer) 315 { 316 implementation->Publish(*GetWrapped(), buffer); 317 } 314 318 315 319 /*!
Note: See TracChangeset
for help on using the changeset viewer.