| Line | |
|---|
| 1 | #include <Pacpus/kernel/ConnectionBase.h>
|
|---|
| 2 |
|
|---|
| 3 | using namespace pacpus;
|
|---|
| 4 |
|
|---|
| 5 | ConnectionBase::ConnectionBase(AbstractInterface * anInterface, int priority)
|
|---|
| 6 | : m_interface(anInterface)
|
|---|
| 7 | , m_priority(priority)
|
|---|
| 8 | {}
|
|---|
| 9 |
|
|---|
| 10 | ConnectionBase::~ConnectionBase()
|
|---|
| 11 | {}
|
|---|
| 12 |
|
|---|
| 13 | AbstractInterface * ConnectionBase::getInterface() const
|
|---|
| 14 | {
|
|---|
| 15 | return m_interface;
|
|---|
| 16 | }
|
|---|
| 17 |
|
|---|
| 18 | int ConnectionBase::getPriority() const
|
|---|
| 19 | {
|
|---|
| 20 | return m_priority;
|
|---|
| 21 | }
|
|---|
| 22 |
|
|---|
| 23 | bool 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.