gwnavruntime/visualdebug/messagereceiverregistry.h Source File

messagereceiverregistry.h
Go to the documentation of this file.
1 /*
2 * Copyright 2015 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 
8 // primary contact: BRGR - secondary contact: GUAL
9 #ifndef Navigation_MessageReceiverRegistry_H
10 #define Navigation_MessageReceiverRegistry_H
11 
13 
14 namespace Kaim
15 {
16 
17 namespace Net
18 {
19 namespace AMP
20 {
21 class Message;
22 }
23 }
24 
25 
26 //Receiver interface in order to dispatch messages client side
29 {
30  KY_DEFINE_NEW_DELETE_OPERATORS(MemStat_VisualDebug)
31 
32 public:
33  virtual ~IMessageReceiver() {};
34 
40  virtual void Receive(Ptr<Net::AMP::Message> message, const char* ptrToBlob, KyUInt32 blobSize) = 0;
41 
42 };
43 
44 typedef UserBlobRegistry<IMessageReceiver> MessageReceiverRegistry;
45 
46 }
47 
48 #endif // Navigation_MessageReceiverRegistry_H
IMessageReceiver defines an interface for objects that are called to process blobs of data sent throu...
Definition: messagereceiverregistry.h:28
Definition: gamekitcrowddispersion.h:20
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:137
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.
unsigned int KyUInt32
Type used internally to represent an unsigned 32-bit integer.
Definition: types.h:36