VR-Exchange 2.2 API Documentation
pLoggerSkipTimeInteraction.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2012 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
13 #include <vlutil/vlString.h>
14 #include <vlutil/vlNetTypes.h>
15 #include <matrix/vlVector.h>
16 
17 namespace MAKVrExchange {
18 
19 class DtPortalConnection;
20 
23 //
27 {
28 public:
30  typedef void (*functionCallback_type) (const DtPortalLoggerSkipTimeInteraction &interaction,
31  void *userData);
32 
33  typedef void (*DtPortalLoggerSkipTimeInteractionCb)
34  (const DtPortalLoggerSkipTimeInteraction &inter, void *usr);
35 
36 public:
37 
40 
43 
44 public:
45  virtual DtPortalMessageKind kind() const;
46  virtual const char * interactionKindName() const { return "LoggerControl"; }
47 
48  virtual unsigned int netSize() const;
49  virtual void writeSelfToBuffer(void *buffer) const ;
50  virtual void readSelfFromBuffer(const void *buffer);
51  virtual std::ostream &printDataToStream(std::ostream &str) const;
52 
53 
54  DtDEC_ATTRIBUTE(DtTime, SkipTime, skipTime);
55 
56 public:
57 
66  static void addCallback( DtPortalConnection *connection,
67  functionCallback_type callbackFunction,
68  void *userData );
69 
78  static void removeCallback( DtPortalConnection *connection,
79  functionCallback_type callbackFunction,
80  void *userData );
81 
82 
83 
84 public:
85 
86  static DtPortalMessage *create();
87 
89 
90 
91 };
92 }
93 
94 
95 

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)