TOBI Interface A  0.1
tia::ControlMsgEncoderXML Class Reference

Concrete class to decode XML control messages. More...

#include <control_message_decoder.h>

+ Inheritance diagram for tia::ControlMsgEncoderXML:
+ Collaboration diagram for tia::ControlMsgEncoderXML:

Public Member Functions

virtual void encodeMsg (const KeepAliveMsg &msg, std::ostream &stream)
 Write a GetConfig message to the ostream.
virtual void encodeMsg (const GetConfigMsg &msg, std::ostream &stream)
 Write a GetDataConnection message to the ostream.
virtual void encodeMsg (const GetDataConnectionMsg &msg, std::ostream &stream)
 Write a DataCnnection message to the ostream.
virtual void encodeMsg (const DataConnectionMsg &msg, std::ostream &stream)
 Write a StartTransmission message to the ostream.
virtual void encodeMsg (const StartTransmissionMsg &msg, std::ostream &stream)
 Write a StopTransmission message to the ostream.
virtual void encodeMsg (const StopTransmissionMsg &msg, std::ostream &stream)
 Write a Config message to the ostream.
virtual void encodeMsg (const ConfigMsg &msg, std::ostream &stream)
 Write a Reply message to the ostream.
virtual void encodeMsg (const ReplyMsg &msg, std::ostream &stream)

Protected Member Functions

void encodeBaseMsg (const ControlMsg &msg, const std::string &xml_msg_type, TiXmlDocument &doc, TiXmlElement *&xml_msg)
 Encode a base control message.
void writeXMLMsg (TiXmlDocument &doc, std::ostream &stream)
 Write the XML control message to the ostream.

Detailed Description

Concrete class to decode XML control messages.

Concrete class to encode XML control message.

Todo:
Find out what "decodeHeader" is exactly planned/used for.

Definition at line 107 of file control_message_encoder.h.


The documentation for this class was generated from the following files:
 All Data Structures Files Functions Variables Typedefs Enumerations