Changeset 182 in pacpusframework for trunk/include/Pacpus/kernel/ConnectionBase.h
- Timestamp:
- 10/23/13 09:09:51 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/Pacpus/kernel/ConnectionBase.h
r153 r182 11 11 { 12 12 public: 13 ConnectionBase(AbstractInterface * interface, int priority) 14 : m_interface(interface) 15 , m_priority(priority) 16 {} 13 ConnectionBase(AbstractInterface * anInterface, int priority); 14 virtual ~ConnectionBase(); 17 15 18 ~ConnectionBase() 19 {} 20 21 AbstractInterface * getInterface() const 22 { 23 return m_interface; 24 } 25 26 int getPriority() const 27 { 28 return m_priority; 29 } 30 31 bool operator==(ConnectionBase const &c) 32 { 33 return getInterface() == c.getInterface() 34 && getPriority() == c.getPriority() 35 ; 36 } 16 AbstractInterface * getInterface() const; 17 int getPriority() const; 18 bool operator==(ConnectionBase const & c); 37 19 38 20 private:
Note:
See TracChangeset
for help on using the changeset viewer.