OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
owl::TSerializer Class Reference

This class sends a block of data to another window. More...

#include <owl/serialze.h>

Public Types

enum  TBlock { End = 0 , Data1 , Data2 , Data3 , Data4 , Begin }
 Enum for different types of blocks sent from a window to another. More...
 

Public Member Functions

 TSerializer (HWND hwndTarget, uint32 length, void *data)
 Breaks down the data into blocks and sends each block to the window via SendMessage.
 

Detailed Description

This class sends a block of data to another window.

Definition at line 30 of file serialze.h.

Member Enumeration Documentation

◆ TBlock

Enum for different types of blocks sent from a window to another.

This enum is sent as the wParam.

Enumerator
End 

end of data, lParam == 0

Data1 

data is stored in bits 0x000000FF of lParam

Data2 

data is stored in bits 0x0000FFFF of lParam

Data3 

data is stored in bits 0x00FFFFFF of lParam

Data4 

data is stored in bits 0xFFFFFFFF of lParam

Begin 

beginning of data, lParam length of data

Definition at line 35 of file serialze.h.

Constructor & Destructor Documentation

◆ TSerializer()

owl::TSerializer::TSerializer ( HWND hwndTarget,
uint32 length,
void * data )

Breaks down the data into blocks and sends each block to the window via SendMessage.

wParam of the SendMessage is of type TBlock which signifies what lParam contains.

Definition at line 24 of file serialze.cpp.

References Begin, Data4, End, and SerializerMessage.


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