VR-Exchange 2.2 API Documentation
pLoggerQuitInteraction.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 
28  class DT_DLL_LIBPORTAL DtPortalLoggerQuitInteraction
30  {
31  public:
32 
34  typedef void (*functionCallback_type) (
35  const DtPortalLoggerQuitInteraction& interaction, void* usr );
36 
37  typedef void (*DtPortalLoggerQuitInteractionCb) (
38  const DtPortalLoggerQuitInteraction& inter, void* usr );
39 
40  public:
41 
44 
47 
48  public:
49  virtual DtPortalMessageKind kind() const;
50  virtual const char * interactionKindName() const { return "LoggerControl"; }
51 
52  virtual unsigned int netSize() const;
53  virtual void writeSelfToBuffer( void* buffer ) const ;
54  virtual void readSelfFromBuffer( const void* buffer );
55  virtual std::ostream &printDataToStream( std::ostream& str ) const;
56 
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 Mon Apr 15 17:15:50 EDT 2013 from SVN revision 126154
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)