VR-Exchange 2.2 API Documentation
pLoggerControlInteraction.h
Go to the documentation of this file.
1 /*********************************************************************
2  ** Copyright (c) 1992-2010 VT MAK
3  ** All rights reserved.
4  *********************************************************************/
5 
6 
7 #pragma once
8 
10 #include <vlutil/vlString.h>
11 #include <vlutil/vlNetTypes.h>
12 #include <matrix/vlVector.h>
13 
14 namespace MAKVrExchange {
15 
16 class DtPortalConnection;
17 
20 //
24 {
25 public:
26 
28  typedef void (*functionCallback_type) (const DtPortalLoggerControlInteraction &interaction,
29  void *userData);
30 
31 public:
32 
35 
46  static void addCallback( DtPortalConnection* connection,
47  functionCallback_type callbackFunction,
48  void* userData );
49 
58  static void removeCallback( DtPortalConnection* connection,
59  functionCallback_type callbackFunction,
60  void* userData );
61 
64 
66  DtDEC_ATTRIBUTE(DtString, ReceiverId, receiverId);
67 
69  DtDEC_ATTRIBUTE(DtString, SenderId, senderId);
70 
72  DtDEC_ATTRIBUTE(DtU32, LoggerCommandType, loggerCommandType);
73 
75 
76 public: /*The access specifier must be reset after calling DtDEC_ATTRIBUTE() */
77 
78  virtual const char * interactionKindName() const { return "LoggerControl"; }
79 
80  virtual unsigned int netSize() const;
81  virtual void writeSelfToBuffer(void *buffer) const ;
82  virtual void readSelfFromBuffer(const void *buffer);
83  virtual std::ostream &printDataToStream(std::ostream &str) const;
84 
85 
86 
87 };
88 }
89 
90 
91 

Document ID: Generated on Mon Apr 15 17:15:50 EDT 2013 from SVN revision 126154
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)