Public Member Functions | |
virtual int | decode (TAO_InputCDR &cdr) |
Extracts data from <cdr>. Returns 0 on success, -1 on error. | |
Public Attributes | |
RtecEventComm::EventSet | events |
Definition at line 165 of file ECG_UDP_Receiver.cpp.
int TAO_ECG_Event_CDR_Decoder::decode | ( | TAO_InputCDR & | cdr | ) | [virtual] |
Extracts data from <cdr>. Returns 0 on success, -1 on error.
Implements TAO_ECG_CDR_Processor.
Definition at line 174 of file ECG_UDP_Receiver.cpp.
References ACE_ERROR_RETURN, and LM_ERROR.
00175 { 00176 if (!(cdr >> this->events)) 00177 { 00178 ACE_ERROR_RETURN ((LM_ERROR, 00179 "Error decoding events cdr.\n"), 00180 -1); 00181 } 00182 return 0; 00183 }
Definition at line 170 of file ECG_UDP_Receiver.cpp.
Referenced by TAO_ECG_UDP_Receiver::handle_input().