VR-Exchange 2.2 API Documentation
pLoggerPlayFileInteraction.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 DtPortalLoggerPlayFileInteraction &interaction,
28  void *userData);
29 
30  typedef void (*DtPortalLoggerPlayFileInteractionCb)
31  (const DtPortalLoggerPlayFileInteraction &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 
51  DtDEC_ATTRIBUTE(DtString, Filename, filename);
52 
53 public:
54 
63  static void addCallback( DtPortalConnection *connection,
64  functionCallback_type callbackFunction,
65  void *userData );
66 
75  static void removeCallback( DtPortalConnection *connection,
76  functionCallback_type callbackFunction,
77  void *userData );
78 
79 
80 
81 public:
82 
83  static DtPortalMessage *create();
84 
86 
87 
88 };
89 }
90 
91 
92 

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)