19 #include <signaldata/UtilSequence.hpp>
23 type2string(UtilSequenceReq::RequestType
type){
25 case UtilSequenceReq::NextVal:
27 case UtilSequenceReq::CurrVal:
29 case UtilSequenceReq::Create:
31 case UtilSequenceReq::SetVal:
39 printUTIL_SEQUENCE_REQ(FILE * out,
const Uint32 * data, Uint32 l, Uint16 b){
41 fprintf(out,
" senderData: %d sequenceId: %d RequestType: %s\n",
44 type2string((UtilSequenceReq::RequestType)sig->requestType));
49 printUTIL_SEQUENCE_CONF(FILE * out,
const Uint32 * data, Uint32 l, Uint16 b){
51 fprintf(out,
" senderData: %d sequenceId: %d RequestType: %s\n",
54 type2string((UtilSequenceReq::RequestType)sig->requestType));
55 fprintf(out,
" val: [ %d %d ]\n",
56 sig->sequenceValue[0],
57 sig->sequenceValue[1]);
62 printUTIL_SEQUENCE_REF(FILE * out,
const Uint32 * data, Uint32 l, Uint16 b){
64 fprintf(out,
" senderData: %d sequenceId: %d RequestType: %s\n",
67 type2string((UtilSequenceReq::RequestType)sig->requestType));
68 fprintf(out,
" errorCode: %d, TCErrorCode: %d\n",
69 sig->errorCode, sig->TCErrorCode);