11 ,
const int trigger_enabled)
14 m_eventType = eventtype;
15 m_subeventid = subeventid;
16 number_of_words = n_words;
43 if (etype != m_eventType )
54 sevt->sub_id = m_subeventid;
56 sevt->sub_decoding =
ID4EVT;
57 sevt->reserved[0] = 0;
58 sevt->reserved[1] = 0;
61 int *d = (
int *) &sevt->data;
65 for ( ia = 0; ia < number_of_words; ia++)
72 sevt->sub_padding = len%2;
74 sevt->sub_length += len;
75 return sevt->sub_length;
82 os <<
"Plugin Device Event Type: " << m_eventType <<
" Subevent id: " << m_subeventid
83 <<
" n_words: " << number_of_words;
87 os <<
" ** Trigger enabled";
96 if (etype != m_eventType)
return 0;
109 if (etype != m_eventType)
return 0;