Last change
on this file since 167 was
167,
checked in by (none), 14 years ago
|
Simeo: added final project and also older proof of concept code.
We used Git for version control, so look at the Git repo
in SIMEO/Simeo/ for more info.
|
File size:
411 bytes
|
Rev | Line | |
---|
[167] | 1 | #ifndef COMMCHANNELPROVIDER_H |
---|
| 2 | #define COMMCHANNELPROVIDER_H |
---|
| 3 | |
---|
| 4 | #include <vector> |
---|
| 5 | |
---|
| 6 | #include "Channel.h" |
---|
| 7 | #include "XProvider.h" |
---|
| 8 | |
---|
| 9 | class CommChannelProvider : public XProvider |
---|
| 10 | { |
---|
| 11 | private: |
---|
| 12 | int m_peer1, m_peer2, m_dir; |
---|
| 13 | |
---|
| 14 | public: |
---|
| 15 | CommChannelProvider(Channel *chan, int peer1, int peer2, int dir); |
---|
| 16 | |
---|
| 17 | ~CommChannelProvider(); |
---|
| 18 | |
---|
| 19 | int getPeer(); |
---|
| 20 | |
---|
| 21 | void packData(channelData *data, int dir); |
---|
| 22 | }; |
---|
| 23 | |
---|
| 24 | #endif //COMMCHANNELPROVIDER_H |
---|
Note: See
TracBrowser
for help on using the repository browser.