VR-Vantage
Loading...
Searching...
No Matches
rfxSystemMessage.h
Go to the documentation of this file.
1// ******************************************************************************
2// ** Copyright (c) 2014 MAK Technologies, Inc.
3// ** All rights reserved.
4// ******************************************************************************
5
9
10#pragma once
11
12#include "export.h"
13#include "rfxMessage.h"
14
15#include <matrix/vlVector.h>
16
17#include <string>
18
19namespace makRadarFx
20{
23{
24 public:
28
30 virtual int messageSize() const;
32 static DtBaseMessage* decode(unsigned char* buffer, int length);
34 virtual DtBaseMessage* clone();
35
36 protected:
37 virtual void serialize(DtStreamWriter& writer);
38 virtual void deserialize(DtStreamReader& reader);
39};
40}
41
DtBaseMessage(unsigned int messageType)
CTOR/DTOR.
virtual DtBaseMessage * clone()
clone a message. Caller of function is responsible managing this memory
virtual void serialize(DtStreamWriter &writer)
virtual int messageSize() const
size of the message
virtual void deserialize(DtStreamReader &reader)
static DtBaseMessage * decode(unsigned char *buffer, int length)
decode a message. Used by the factory
Instances of DtStreamReader decode values from a byte array this assumes the data in the byte stream ...
Definition byteStream.h:28
Instances of DtStreamWriter encode values into a byte array this writes the data to the stream in lit...
Definition byteStream.h:75
#define RFX_DLL_SHARED
Definition include/radarFxShared/export.h:15
Definition radarFxConnector.h:28
Defines the base class for all messages that can be sent between the server and the client.