Download User Manual
Transcript
7.7.4
SeaTRAX.h File
#pr agma once
#i nc l ude " Pr oc es ses. h"
#i nc l ude " CommPr ot oc ol . h"
//
//
Thi s f i l e cont ai ns t he obj ect pr ovi di ng communi c at i on t o t he
SeaTRAX
//
I t wi l l set up t he modul e and par se pack et s r ecei v ed.
//
Pr oc es s i s a bas e c l ass t hat pr ov i des SeaTRAX wi t h c ooper at i v e
//
par al l el pr ocess i ng.
The Cont r ol met hod wi l l be
//
cal l ed by a pr oc ess manager on a cont i nuous basi s.
//
c l as s SeaTRAX: publ i c Pr ocess , publ i c CommHandl er
{
publ i c :
SeaTRAX( Ser Por t * ser Por t ) ;
~ SeaTRAX( ) ;
pr ot ec t ed:
CommPr ot oc ol * mComm;
UI nt 32 mSt ep, mTi me, mRes pons eTi me;
v oi
UI nt 16 dat aLen
v oi
UI nt 16 dat aLen
d Handl eComm( UI nt 8 f r ameTy pe, voi d * dat aPt r = NULL,
= 0) ;
d SendComm( UI nt 8 f r ameTy pe, voi d * dat aPt r = NULL,
= 0) ;
v oi d Cont r ol ( ) ;
};
PNI Sensor Corporation
SeaTRAX User Manual – October 2012
DOC#1018154 r01
Page 65