gwnavruntime/visualdebug/messagereceiverregistry.h Source File

messagereceiverregistry.h
Go to the documentation of this file.
1 /*
2 * Copyright 2016 Autodesk, Inc. All rights reserved.
3 * Use of this software is subject to the terms of the Autodesk license agreement and any attachments or Appendices thereto provided at the time of installation or download,
4 * or which otherwise accompanies this software in either electronic or hard copy form, or which is signed by you and accepted by Autodesk.
5 */
6 
7 #pragma once
8 
10 
11 namespace Kaim
12 {
13 
14 namespace Net
15 {
16 namespace AMP
17 {
18 class Message;
19 }
20 }
21 
24 {
25  KY_DEFINE_NEW_DELETE_OPERATORS(MemStat_VisualDebug)
26 
27 public:
28  virtual ~IMessageReceiver() {};
29 
35  virtual void Receive(Ptr<Net::AMP::Message> message, const char* ptrToBlob, KyUInt32 blobSize) = 0;
36 
37 };
38 
39 typedef UserBlobRegistry<IMessageReceiver> MessageReceiverRegistry;
40 
41 }
42 
std::uint32_t KyUInt32
uint32_t
Definition: types.h:29
IMessageReceiver defines an interface for objects that are called to process blobs of data sent throu...
Definition: messagereceiverregistry.h:23
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:132
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
virtual void Receive(Ptr< Net::AMP::Message > message, const char *ptrToBlob, KyUInt32 blobSize)=0
This method is called to process each blob that has been successfully received.