VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfobjcore
simInternalCommunicationInterface.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2007 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: simInternalCommunicationInterface.h,v $ $Revision: 1.1 $ $State: Exp $
7
*******************************************************************************/
8
11
13
14
#ifndef simInternalCommunicationInterface_h
15
#define simInternalCommunicationInterface_h
16
17
#include "
vrfmsgs/vrfObjectMessageExecutive.h
"
18
19
class
DtVrfObject
;
20
28
class
DtSimInternalCommunicationInterface
29
{
30
private
:
32
DtSimInternalCommunicationInterface
();
34
DtSimInternalCommunicationInterface
(
const
DtSimInternalCommunicationInterface
& orig);
36
DtSimInternalCommunicationInterface
&
operator=
(
const
DtSimInternalCommunicationInterface
& orig);
37
38
public
:
40
static
DtSimInternalCommunicationInterface
*
create
(
DtVrfObject
* vrfObj);
41
42
protected
:
44
DtSimInternalCommunicationInterface
(
DtVrfObject
* vrfObj);
46
virtual
bool
init
();
47
48
public
:
49
virtual
~DtSimInternalCommunicationInterface
();
50
53
virtual
void
sendMessage
(
DtVrfObjectMessage
* message);
54
57
58
virtual
void
addMessageCallback
(
DtVrfObjectMessageCallbackFcn
fcn,
void
* usr);
59
virtual
void
removeMessageCallback
(
DtVrfObjectMessageCallbackFcn
fcn,
void
* usr);
61
64
65
virtual
void
addMessageCallback
(
int
type,
DtVrfObjectMessageCallbackFcn
fcn,
void
* usr);
66
virtual
void
removeMessageCallback
(
int
type,
DtVrfObjectMessageCallbackFcn
fcn,
void
* usr);
68
72
virtual
void
receiveMessage
(
const
DtVrfObjectMessage
* message);
73
75
virtual
DtVrfObject
*
vrfObject
();
76
77
protected
:
78
DtVrfObject
*
myVrfObject
;
79
DtVrfObjectMessageExecutive
myMessageExecutive
;
80
};
81
82
#endif
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)