Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

clBaseMsg Class Reference

Base class for all message handling. More...

#include <Messages.hh>

Inheritance diagram for clBaseMsg:

Inheritance graph
[legend]
List of all members.

Protected Member Functions

void EndianConv (float *, const float *)
 Result endian conversion.

void EndianConv (double *, const double *)

Detailed Description

Base class for all message handling.

For communication between userinterfaces and processing servers the usual rule is to first send request message. This is null-terminated string of length GLOBAL_HEADER_LEN. For results there is GLOBAL_HEADER_LEN amount of null-terminated string header data and then endianess converted result data follows.

Set/GetRequest generates/parses this string from request struct. Set/GetResult generates/parses the result message.

Definition at line 437 of file Messages.hh.


Member Function Documentation

void clBaseMsg::EndianConv float *  ,
const float * 
[inline, protected]
 

Result endian conversion.

Parameters:
fpDest Destination
fpSrc Source

Definition at line 35 of file Messages.cc.

Referenced by clSoundMsg::GetData(), clLocateMsg::GetResult(), clBeamAudioMsg::GetResult(), clLofarMsg::GetResult(), clDirMsg2::GetResult(), clDirMsg::GetResult(), clSpectMsg::GetResult(), clSoundMsg::SetData(), clLocateMsg::SetResult(), clBeamAudioMsg::SetResult(), clLofarMsg::SetResult(), clDirMsg2::SetResult(), clDirMsg::SetResult(), and clSpectMsg::SetResult().

void clBaseMsg::EndianConv double *  ,
const double * 
[inline, protected]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 55 of file Messages.cc.


The documentation for this class was generated from the following files:
Generated on Sun Oct 26 19:12:11 2003 for HASAS by doxygen 1.3.3