Changeset 96 in pacpusframework for branches/2.0-beta1/include/Pacpus/kernel/ConnectionBase.h
- Timestamp:
- 05/23/13 12:16:31 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0-beta1/include/Pacpus/kernel/ConnectionBase.h
r89 r96 5 5 namespace pacpus { 6 6 7 class InputInterfaceBase;7 class AbstractInterface; 8 8 9 9 class ConnectionBase 10 10 { 11 11 public: 12 ConnectionBase( InputInterfaceBase * input, int priority):_input(input),_priority(priority) {}12 ConnectionBase(AbstractInterface * interface, int priority):_interface(interface),_priority(priority) {} 13 13 ~ConnectionBase() {} 14 14 15 InputInterfaceBase * getInputInterface() const {return _input;}15 AbstractInterface * getInterface() const {return _interface;} 16 16 int getPriority() const {return _priority;} 17 17 18 18 bool operator== (ConnectionBase const &c) { 19 return _in put == c.getInputInterface() && _priority == c.getPriority();}19 return _interface == c.getInterface() && _priority == c.getPriority();} 20 20 21 21 private: 22 InputInterfaceBase * _input;22 AbstractInterface * _interface; 23 23 int _priority; 24 24 };
Note:
See TracChangeset
for help on using the changeset viewer.