huohuoh

Dependencies:   NetServices mbed C027_Supports mbed-rpcx

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers AruChannel.h Source File

AruChannel.h

00001 #ifndef ARUCHANNEL_H
00002 #define ARUCHANNEL_H
00003 
00004 #include "AruFraming.h"
00005 #include "CommChannel.h"
00006 
00007 class AruChannel
00008 {
00009 public:
00010     AruChannel();
00011     ~AruChannel();
00012 
00013     int ReceiveCount();
00014     AruFrm Receive();
00015 
00016     void Transmit(const AruFrm &f);
00017 
00018     void Process();
00019     
00020     void Tick10ms();
00021 
00022 private:
00023 
00024     CommChannel COM;
00025 
00026     AruFraming Frm;
00027     std::queue<AruFrm> XMT_QUE;
00028 
00029     int commId;
00030 };
00031 
00032 #endif // ARUCHANNEL_H