Changeset 70:70a6c7365dfc in finroc_plugins_data_ports


Ignore:
Timestamp:
24.06.2014 23:03:27 (5 years ago)
Author:
Max Reichardt <mreichardt@…>
Branch:
default
Phase:
public
Message:

Added missing method for single threaded mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • api/tPortImplementation.h

    r69 r70  
    277277  typedef T tPortBuffer; 
    278278 
     279  static inline void BrowserPublish(tPortBase& port, const T& data, const rrlib::time::tTimestamp& timestamp) 
     280  { 
     281    T t = data; 
     282    rrlib::rtti::tGenericObjectWrapper<T> wrapper(t); 
     283    port.BrowserPublishRaw(wrapper, timestamp); 
     284  } 
     285 
    279286  static inline void CopyCurrentPortValue(tPortBase& port, T& result_buffer, rrlib::time::tTimestamp& timestamp_buffer) 
    280287  { 
Note: See TracChangeset for help on using the changeset viewer.