VR-Exchange 2.2 API Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
portal
pResupplyReceivedInteraction.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
12
#include <
portal/pInteraction.h
>
//class DtPortalInteraction
13
#include <
portal/pSupplyInteraction.h
>
14
#include <
portal/vrxRecordSetList.h
>
15
16
namespace
MAKVrExchange
17
{
18
19
class
DtPortalConnection;
20
23
class
DT_DLL_LIBPORTAL
DtPortalResupplyReceivedInteraction
:
public
DtPortalSupplyInteraction
24
{
25
public
:
26
28
typedef
void (*functionCallback_type) (
const
DtPortalResupplyReceivedInteraction
&interaction,
29
void
*userData);
30
32
DtPortalResupplyReceivedInteraction
();
33
35
virtual
~
DtPortalResupplyReceivedInteraction
();
36
37
39
public
:
40
44
static
const
DtPortalMessageKind
theKind
;
45
46
//Doxygen comments inherited from parent class
47
virtual
DtPortalMessageKind
kind()
const
;
48
49
//Doxygen comments inherited from parent class
50
virtual
const
char
*interactionKindName()
const
;
51
60
static
void
addCallback(
DtPortalConnection
*connection,
61
functionCallback_type callbackFunction,
62
void
*userData );
63
72
static
void
removeCallback(
DtPortalConnection
*connection,
73
functionCallback_type callbackFunction,
74
void
*userData );
75
83
static
DtPortalMessage
*create();
84
85
private
:
86
88
DtPortalResupplyReceivedInteraction
&operator=(
const
DtPortalResupplyReceivedInteraction
& );
89
91
int
operator==(
const
DtPortalResupplyReceivedInteraction
& );
92
94
int
operator!=(
const
DtPortalResupplyReceivedInteraction
& );
95
96
};
//end class DtPortalResupplyReceivedInteraction
97
98
inline
DtPortalMessage
*
DtPortalResupplyReceivedInteraction::create
()
99
{
100
return
new
DtPortalResupplyReceivedInteraction
();
101
}
102
103
inline
const
char
*
DtPortalResupplyReceivedInteraction::interactionKindName
()
const
104
{
105
return
"ResupplyReceived"
;
106
}
107
108
inline
DtPortalMessageKind
DtPortalResupplyReceivedInteraction::kind
()
const
109
{
110
return
theKind
;
111
}
112
113
}
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
)