VR-Exchange 2.1 API Documentation
pLoggerDeleteFileInteraction.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 DtPortalLoggerDeleteFileInteraction &interaction,
28  void *userData);
29 
30  typedef void (*DtPortalLoggerDeleteFileInteractionCb)
31  (const DtPortalLoggerDeleteFileInteraction &inter, void *usr);
32 
33 public:
34 
37 
40 
43 
45  DtDEC_ATTRIBUTE(DtString, FileName, fileName);
46 
48 
49 public:
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 
58 
67  static void addCallback( DtPortalConnection *connection,
68  functionCallback_type callbackFunction,
69  void *userData );
70 
79  static void removeCallback( DtPortalConnection *connection,
80  functionCallback_type callbackFunction,
81  void *userData );
82 
83 
84 
85 public:
86 
87  static DtPortalMessage *create();
88 
90 
91 
92 };
93 }
94 
95 
96 

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)