Definition at line 55 of file mcp.cc.
References EventImp::GetSize(), i, EventImp::Ptr(), and reset().
Referenced by StateMachineMCP().
60 const uint8_t *ptr = d.
Ptr<uint8_t>();
65 vector<bool>
reset(4);
67 for (
int i=0;
i<40;
i++)
69 const uint8_t stat1 = ptr[
i]&3;
70 const uint8_t stat2 = ptr[
i]>>3;
73 if (stat1==0 && stat2==0)
78 if (stat1>=2 && stat2==8)
82 if (stat1>2 && stat2==8)
int GetCurrentState() const
return the current state of the machine
vector< bool > fFadConnected
uint16_t fNumConnectedFad
const T * Ptr(size_t offset=0) const
virtual size_t GetSize() const