source: pacpusframework/trunk/src/PacpusLib/ConnectionBase.cpp

Last change on this file was 182, checked in by Marek Kurdej, 11 years ago

Fixed: dependencies in InputOutputBase, ConnectionBase.

File size: 586 bytes
Line 
1#include <Pacpus/kernel/ConnectionBase.h>
2
3using namespace pacpus;
4
5ConnectionBase::ConnectionBase(AbstractInterface * anInterface, int priority)
6 : m_interface(anInterface)
7 , m_priority(priority)
8{}
9
10ConnectionBase::~ConnectionBase()
11{}
12
13AbstractInterface * ConnectionBase::getInterface() const
14{
15 return m_interface;
16}
17
18int ConnectionBase::getPriority() const
19{
20 return m_priority;
21}
22
23bool ConnectionBase::operator==(ConnectionBase const & c)
24{
25 return getInterface() == c.getInterface()
26 && getPriority() == c.getPriority()
27 ;
28}
Note: See TracBrowser for help on using the repository browser.