TAO_ECG_Event_CDR_Decoder Class Reference

Inheritance diagram for TAO_ECG_Event_CDR_Decoder:

Inheritance graph
[legend]
Collaboration diagram for TAO_ECG_Event_CDR_Decoder:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

Definition at line 165 of file ECG_UDP_Receiver.cpp.


Member Function Documentation

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 }


Member Data Documentation

RtecEventComm::EventSet TAO_ECG_Event_CDR_Decoder::events

Definition at line 170 of file ECG_UDP_Receiver.cpp.

Referenced by TAO_ECG_UDP_Receiver::handle_input().


The documentation for this class was generated from the following file:
Generated on Tue Feb 2 17:44:38 2010 for TAO_RTEvent by  doxygen 1.4.7