Changeset 184 in pacpusframework for trunk/include/Pacpus


Ignore:
Timestamp:
10/23/13 09:34:23 (11 years ago)
Author:
morasjul
Message:

Minor fixes.

Location:
trunk/include/Pacpus/kernel
Files:
3 edited

Legend:

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

    r182 r184  
    4545namespace pacpus {
    4646
    47 // Forward declarations.
    4847class ComponentManager;
     48
     49class InputInterfaceBase;
     50class OutputInterfaceBase;
    4951
    5052template <typename T, class C>
    5153class InputInterface;
    52 
    5354template <typename T, class C>
    5455class OutputInterface;
  • trunk/include/Pacpus/kernel/ComponentManager.h

    r146 r184  
    119119    bool createComponent(const QString& type, const QString& name);
    120120
     121    bool checkComponentConnection(const QString& componentName, const QString& connectionName);
    121122    bool createConnection(const QString& type, const QString& name, const QString& , int );
    122123
  • trunk/include/Pacpus/kernel/InputOutputInterface.h

    r182 r184  
    3939    }
    4040
    41     void customEvent(QEvent* event)
     41    void customEvent(QEvent * event)
    4242    {
    4343        // TODO check component state started
     
    8686        }
    8787
    88             // Add here new event type if needed
     88        // Add here new event type if needed
    8989
    9090        default:
     
    112112{
    113113public:
    114     OutputInterface(QString name, C * component):OutputInterfaceBase(name,component,component) {}
     114    OutputInterface(QString name, C * component)
     115        :OutputInterfaceBase(name,component,component)
     116    {}
    115117    ~OutputInterface() {}
    116118
    117119    // Used by Components to send data througth typed output
    118     void send(const T & data, road_time_t t = road_time(), road_timerange_t tr = 0)
     120    void send(const T & data, road_time_t t = road_time(), road_timerange_t tr = 0);
     121   
     122    void send(const T & data, road_time_t t, road_timerange_t tr)
    119123    {
    120124        // FIXME Data Shared
     
    138142};
    139143
    140 
    141144} // namespace pacpus
    142145
Note: See TracChangeset for help on using the changeset viewer.