Changeset 184 in pacpusframework for trunk/include/Pacpus/kernel
- Timestamp:
- Oct 23, 2013, 9:34:23 AM (11 years ago)
- Location:
- trunk/include/Pacpus/kernel
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/Pacpus/kernel/ComponentBase.h
r182 r184 45 45 namespace pacpus { 46 46 47 // Forward declarations.48 47 class ComponentManager; 48 49 class InputInterfaceBase; 50 class OutputInterfaceBase; 49 51 50 52 template <typename T, class C> 51 53 class InputInterface; 52 53 54 template <typename T, class C> 54 55 class OutputInterface; -
trunk/include/Pacpus/kernel/ComponentManager.h
r146 r184 119 119 bool createComponent(const QString& type, const QString& name); 120 120 121 bool checkComponentConnection(const QString& componentName, const QString& connectionName); 121 122 bool createConnection(const QString& type, const QString& name, const QString& , int ); 122 123 -
trunk/include/Pacpus/kernel/InputOutputInterface.h
r182 r184 39 39 } 40 40 41 void customEvent(QEvent * event)41 void customEvent(QEvent * event) 42 42 { 43 43 // TODO check component state started … … 86 86 } 87 87 88 88 // Add here new event type if needed 89 89 90 90 default: … … 112 112 { 113 113 public: 114 OutputInterface(QString name, C * component):OutputInterfaceBase(name,component,component) {} 114 OutputInterface(QString name, C * component) 115 :OutputInterfaceBase(name,component,component) 116 {} 115 117 ~OutputInterface() {} 116 118 117 119 // 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) 119 123 { 120 124 // FIXME Data Shared … … 138 142 }; 139 143 140 141 144 } // namespace pacpus 142 145
Note:
See TracChangeset
for help on using the changeset viewer.