kjhjhkj
Dependencies: NetServices mbed C027_Supports mbed-rpcx
Diff: AruChannel.h
- Revision:
- 0:64967b7043c2
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/AruChannel.h Tue Aug 06 12:59:05 2019 +0000 @@ -0,0 +1,32 @@ +#ifndef ARUCHANNEL_H +#define ARUCHANNEL_H + +#include "AruFraming.h" +#include "CommChannel.h" + +class AruChannel +{ +public: + AruChannel(); + ~AruChannel(); + + int ReceiveCount(); + AruFrm Receive(); + + void Transmit(const AruFrm &f); + + void Process(); + + void Tick10ms(); + +private: + + CommChannel COM; + + AruFraming Frm; + std::queue<AruFrm> XMT_QUE; + + int commId; +}; + +#endif // ARUCHANNEL_H