Changeset 184:e6547d6dfbc1 in finroc_plugins_data_ports


Ignore:
Timestamp:
15.12.2021 16:00:54 (18 months ago)
Author:
Max Reichardt <max.reichardt@…>
Branch:
17.03
Children:
185:91b0be6a7003, 186:bf8a796dc6b6
Phase:
public
Message:

Makes tPortCreationInfo template automatically set port data type in constructor (this way always available for 'PortCreationInfo' modifiers)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tPortCreationInfo.h

    r155 r184  
    8181public: 
    8282 
     83  tPortCreationInfo() 
     84  { 
     85    this->data_type = rrlib::rtti::tDataType<T>(); 
     86  } 
     87 
    8388  /*! Base class */ 
    8489  typedef common::tAbstractDataPortCreationInfo tBase; 
Note: See TracChangeset for help on using the changeset viewer.