VR-Exchange 2.1 API Documentation
pLoggerPauseInteraction.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 
14 #include <vlutil/vlNetTypes.h>
15 #include <vlutil/vlString.h>
16 
17 #include <matrix/vlVector.h>
18 
19 namespace MAKVrExchange
20 {
21 
22  class DtPortalConnection;
23 
30  {
31  public:
32 
34  typedef void (*functionCallback_type) (
35  const DtPortalLoggerPauseInteraction& interaction, void* usr );
36 
37  typedef void (*DtPortalLoggerPauseInteractionCb) (
38  const DtPortalLoggerPauseInteraction& inter, void* usr );
39 
40  public:
41 
44 
47 
48  public:
49 
50  virtual DtPortalMessageKind kind() const;
51  virtual const char * interactionKindName() const { return "LoggerControl"; }
52 
53  virtual unsigned int netSize() const;
54  virtual void writeSelfToBuffer( void* buffer ) const ;
55  virtual void readSelfFromBuffer( const void* buffer );
56  virtual std::ostream &printDataToStream( std::ostream &str ) const;
57 
66  static void addCallback( DtPortalConnection* connection,
67  functionCallback_type callbackFunction, void* usr );
68 
77  static void removeCallback( DtPortalConnection* connection,
78  functionCallback_type callbackFunction, void* usr );
79 
80  public:
81 
82  static DtPortalMessage* create();
83 
85 
86  };
87 
88 }

Document ID: Generated on Tue Aug 7 22:07:13 EDT 2012 from SVN revision 117874
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)