VR-Exchange 2.2 API Documentation
pLoggerPlayInteraction.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:
27  typedef void (*functionCallback_type) (const DtPortalLoggerPlayInteraction &interaction,
28  void *userData);
29 
30  typedef void (*DtPortalLoggerPlayInteractionCb)
31  (const DtPortalLoggerPlayInteraction &inter, void *usr);
32 
33 public:
34 
37 
40 
41 public:
42  virtual DtPortalMessageKind kind() const;
43  virtual const char * interactionKindName() const { return "LoggerControl"; }
44 
45  virtual unsigned int netSize() const;
46  virtual void writeSelfToBuffer(void *buffer) const ;
47  virtual void readSelfFromBuffer(const void *buffer);
48  virtual std::ostream &printDataToStream(std::ostream &str) const;
49 
50 
59  static void addCallback( DtPortalConnection *connection,
60  functionCallback_type callbackFunction,
61  void *userData );
62 
71  static void removeCallback( DtPortalConnection *connection,
72  functionCallback_type callbackFunction,
73  void *userData );
74 
75 
76 
77 public:
78 
79  static DtPortalMessage *create();
80 
82 
83 
84 };
85 }
86 
87 
88 

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)