NAVTOR SDK  v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
ILWEComposer Class Referenceabstract

Main object to get a composed stream for the message. More...

#include <lwe_interface.h>

Inherits ISDKProperties.

Public Member Functions

virtual SDKResult SDK_CALLTYPE Compose (const ILWEMessageSP &message, SDKAny &data)=0 throw ()
 Compose message to stream. More...
 
virtual SDKResult SDK_CALLTYPE CreateMessage (SDKUInt32 type, const SDKAny &data, ILWEMessageSP &message) const =0 throw ()
 Creates a message with a specified type. More...
 

Detailed Description

Main object to get a composed stream for the message.

Member Function Documentation

◆ Compose()

virtual SDKResult SDK_CALLTYPE Compose ( const ILWEMessageSP &  message,
SDKAny &  data 
)
throw (
)
pure virtual

Compose message to stream.

Parameters
[in]messageILWEMessage interface associated with the message
[out]dataBinary packets for the corresponded message
Returns
SDKResult_Succeeded or an error if fails

◆ CreateMessage()

virtual SDKResult SDK_CALLTYPE CreateMessage ( SDKUInt32  type,
const SDKAny &  data,
ILWEMessageSP &  message 
) const
throw (
)
pure virtual

Creates a message with a specified type.

Parameters
[in]typeMessage type (see LWEMessageType enum)
[in]dataMessage content (string, string enum or raw binary data)
[out]messageILWEMessage interface associated with the message
Returns
SDKResult_Succeeded or an error if fails

The documentation for this class was generated from the following file: