Changeset 273 in pacpusframework for trunk/include
- Timestamp:
- Mar 13, 2014, 10:41:47 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/Pacpus/kernel/InputOutputInterface.h
r269 r273 5 5 #include <Pacpus/kernel/Log.h> 6 6 7 #include <boost/function.hpp> 7 8 #include <QByteArray> 8 9 #include <QCoreApplication> … … 22 23 typedef void (C::*process_const_data_function_type_with_event)(T const&, PacpusEvent); 23 24 typedef void (C::*process_const_data_function_type)(T const&); 25 //typedef boost::function<void (C*, T&, PacpusEvent)> process_data_function_type_with_event; 26 //typedef boost::function<void (C*, T&)> process_data_function_type; 27 //typedef boost::function<void (C*, T const&, PacpusEvent)> process_const_data_function_type_with_event; 28 //typedef boost::function<void (C*, T const&)> process_const_data_function_type; 24 29 25 30 InputInterface(QString name, C* component, process_data_function_type_with_event processingMethod) … … 166 171 return; 167 172 } 173 //if (fe) { 174 // fe(comp, data, event); 175 //} else if (f) { 176 // f(comp, data); 177 //} else if (cfe) { 178 // cfe(comp, data, event); 179 //} else if (cf) { 180 // cf(comp, data); 181 //} else { 182 // LOG_WARN("no method to invoke"); 183 //} 168 184 if (fe) { 169 185 (comp->*fe)(data, event);
Note:
See TracChangeset
for help on using the changeset viewer.