Changeset 273 in pacpusframework for trunk/include/Pacpus/kernel/InputOutputInterface.h


Ignore:
Timestamp:
03/13/14 10:41:47 (10 years ago)
Author:
Marek Kurdej
Message:

Formatting: changed "\t" to " " (4 spaces).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/Pacpus/kernel/InputOutputInterface.h

    r269 r273  
    55#include <Pacpus/kernel/Log.h>
    66
     7#include <boost/function.hpp>
    78#include <QByteArray>
    89#include <QCoreApplication>
     
    2223    typedef void (C::*process_const_data_function_type_with_event)(T const&, PacpusEvent);
    2324    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;
    2429
    2530    InputInterface(QString name, C* component, process_data_function_type_with_event processingMethod)
     
    166171                return;
    167172            }
     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            //}
    168184            if (fe) {
    169185                (comp->*fe)(data, event);
Note: See TracChangeset for help on using the changeset viewer.