VR-Exchange 2.9 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
pLoggerRecordActionInteraction.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2016 MAK Technologies, Inc.
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
13 #include <vlutil/vlNetTypes.h>
14 #include <vlutil/vlString.h>
15 #include <matrix/vlVector.h>
16 
17 namespace MAKVrExchange
18 {
19 
20  class DtPortalConnection;
21 
28  {
29  public:
30 
32  typedef void (*functionCallback_type) (
33  const DtPortalLoggerRecordActionInteraction& interaction, void* usr );
34 
37 
40 
42  static void addCallback( DtPortalConnection* connection,
43  functionCallback_type callbackFunction, void* userData );
44 
46  static void removeCallback( DtPortalConnection* connection,
47  functionCallback_type callbackFunction, void* userData );
48 
51 
52  DtDEC_ATTRIBUTE( DtU32, Action, action );
53 
55 
57  public:
58 
60 
61  static DtPortalMessage* create();
62 
63  virtual unsigned int netSize() const;
64  virtual void writeSelfToBuffer( void* buffer, int bufferSize ) const;
65  virtual void readSelfFromBuffer( const void* buffer, int bufferSize );
66 
67  virtual std::ostream& printDataToStream( std::ostream& str ) const;
68 
69  };
70 
71 
73  {
75  }
76 
77 }
static DtPortalMessage * create()
Definition: pLoggerRecordActionInteraction.h:72
static const DtPortalMessageKind theKind
NOTE: DtDEC_ATTRIBUTE resets the access specifier to protected.
Definition: pLoggerRecordActionInteraction.h:59
Represents a logger RecordAction event.
Definition: pLoggerRecordActionInteraction.h:26
#define DT_DLL_LIBPORTAL
Definition: include/portal/dllExport.h:20
Contains the DtPortalLoggerControlInteraction class declaration.
#define DtDEC_ATTRIBUTE(T, N, n)
A Macro to define an attribute; as well as make an accessor and mutator for that attribute.
Definition: addAttribute.h:49
The base class for all messages passed through the portal.
Definition: pMessage.h:66
Connects a broker to the Portal Data Exchange.
Definition: pConnection.h:49
Represents a logger control event.
Definition: pLoggerControlInteraction.h:26
DtPortalMessageKind
A List of message kinds distributed with the Portal.
Definition: pMessageKinds.h:23

Document ID: Generated on Tue Jun 25 16:45:35 EDT 2024 from SVN revision 267383
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)