VR-Exchange 2.4 API Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
portal
pVrvObserverMode.h
Go to the documentation of this file.
1
/****************************************************************************
2
* Copyright (c) 2014 VT MAK
3
* All rights reserved.
4
****************************************************************************/
5
9
10
#pragma once
11
12
#include <
portal/dllExport.h
>
13
#include <
portal/pInteraction.h
>
14
15
namespace
MAKVrExchange
16
{
17
18
class
DtPortalConnection;
19
20
const
DtPortalMessageKind
DtVrvObserverModeInteractionKind
=
21
DtPortalMessageKind
(805);
22
25
class
DT_DLL_LIBPORTAL
DtPortalVrvObserverModeInteraction
26
:
public
DtPortalInteraction
27
{
28
public
:
29
31
typedef
void (*functionCallback_type) (
32
const
DtPortalVrvObserverModeInteraction
& interaction,
void
* userData );
33
35
DtPortalVrvObserverModeInteraction
();
36
38
virtual
~
DtPortalVrvObserverModeInteraction
();
39
41
static
void
addCallback(
DtPortalConnection
* connection,
42
functionCallback_type callbackFunction,
void
* userData );
43
45
static
void
removeCallback(
DtPortalConnection
* connection,
46
functionCallback_type callbackFunction,
void
* userData );
47
50
51
DtDEC_ATTRIBUTE
(
DtString
, Observer, observer );
52
DtDEC_ATTRIBUTE
(
DtString
, ObserverMode, observerMode );
53
55
57
public
:
58
59
static
const
DtPortalMessageKind
theKind
;
60
61
static
DtPortalMessage
* create();
62
63
virtual
unsigned
int
netSize()
const
;
64
virtual
void
writeSelfToBuffer(
void
* buffer )
const
;
65
virtual
void
readSelfFromBuffer(
const
void
* buffer );
66
67
virtual
std::ostream& printDataToStream( std::ostream& stream )
const
;
68
69
private
:
70
72
DtPortalVrvObserverModeInteraction
& operator = (
73
const
DtPortalVrvObserverModeInteraction
& );
74
76
bool
operator == (
const
DtPortalVrvObserverModeInteraction
& )
const
;
77
79
bool
operator != (
const
DtPortalVrvObserverModeInteraction
& )
const
;
80
81
};
82
83
84
inline
DtPortalMessage
*
DtPortalVrvObserverModeInteraction::create
()
85
{
86
return
new
DtPortalVrvObserverModeInteraction
();
87
}
88
89
}
Document ID: Generated on Thu Jul 23 10:25:22 EDT 2015 from SVN revision 155065
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)