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 . Returns 0 on success, -1 on error.


Public Attributes

RtecEventComm::EventSet events

Member Function Documentation

int TAO_ECG_Event_CDR_Decoder::decode TAO_InputCDR cdr  )  [virtual]
 

Extracts data from . Returns 0 on success, -1 on error.

Implements TAO_ECG_CDR_Processor.

Definition at line 188 of file ECG_UDP_Receiver.cpp.

References ACE_ERROR_RETURN, events, and LM_ERROR.

00189 {
00190   if (!(cdr >> this->events))
00191     {
00192       ACE_ERROR_RETURN ((LM_ERROR,
00193                          "Error decoding events cdr.\n"),
00194                         -1);
00195     }
00196   return 0;
00197 }


Member Data Documentation

RtecEventComm::EventSet TAO_ECG_Event_CDR_Decoder::events
 

Definition at line 184 of file ECG_UDP_Receiver.cpp.

Referenced by decode(), and TAO_ECG_UDP_Receiver::handle_input().


The documentation for this class was generated from the following file:
Generated on Thu Nov 9 13:16:07 2006 for TAO_RTEvent by doxygen 1.3.6