HMarkupMessageHandler Class Reference

#include <HNetMessageRegistrar.h>

Public Member Functions

 HMarkupMessageHandler (HBaseView *hbaseview)
 
void ProcessMessage (const char *message_type, const char *data, unsigned int data_length)
 
- Public Member Functions inherited from MVOMessageHandler
 MVOMessageHandler (HBaseView *hbaseview)
 
void ProcessMessage (const char *message_type, const char *data, unsigned int data_length)
 

Additional Inherited Members

- Protected Attributes inherited from MVOMessageHandler
HBaseViewm_pHBaseView
 A pointer to an HBaseView object.
 

Detailed Description

HMarkupMessageHandler is subclassed from MVOMessageHandler. It handles the messages "H_INSERT_MARKUP_LAYER_HSF_DATA", "H_SET_MARKUP_LAYER" and "H_DISABLE_CURRENT_MARKUP_LAYER"

Constructor & Destructor Documentation

◆ HMarkupMessageHandler()

HMarkupMessageHandler::HMarkupMessageHandler ( HBaseView hbaseview)
inline

Constructs an HMarkupMessageHandler object.

Parameters
hbaseviewA pointer to the HBaseView object associated with this message handler.

Member Function Documentation

◆ ProcessMessage()

void HMarkupMessageHandler::ProcessMessage ( const char *  message_type,
const char *  data,
unsigned int  data_length 
)
inline

This method receives the messages "H_INSERT_MARKUP_LAYER_HSF_DATA", "H_SET_MARKUP_LAYER" and "H_DISABLE_CURRENT_MARKUP_LAYER" and calls HMarkupManager::InsertMarkupSegmentFromMessage, HMarkupManager::SetMarkupLayerFromMessage and HMarkupManager::DisableCurrentMarkupLayerFromMessage respectively.

Parameters
message_typeA character pointer denoting the type of message.
dataA character pointer denoting the message data.
data_lengthAn unsigned int indicating the length of the data in bytes.

References HMarkupManager::DisableCurrentMarkupLayerFromMessage(), HBaseView::GetMarkupManager(), HMarkupManager::InsertMarkupSegmentFromMessage(), MVOMessageHandler::m_pHBaseView, and HMarkupManager::SetMarkupLayerFromMessage().


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