VR-Exchange 2.2 API Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
portal
pGenericObject.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
6
#ifndef pGenericObject_H_
7
#define pGenericObject_H_
8
12
13
14
#include <
portal/pBaseObject.h
>
15
#include <vlutil/vlString.h>
16
#include <matrix/vlTaitBryan.h>
17
18
namespace
MAKVrExchange
{
19
22
class
DT_DLL_LIBPORTAL
DtPortalGenericObject
:
public
DtPortalBaseObject
23
{
24
25
public
:
26
27
public
:
28
29
DtPortalGenericObject
();
30
virtual
~
DtPortalGenericObject
();
31
32
DtPortalGenericObject
(
const
DtPortalGenericObject
& other);
33
DtPortalGenericObject
&operator=(
const
DtPortalGenericObject
& other);
34
35
bool
operator!=(
const
DtPortalGenericObject
& other)
const
;
36
bool
operator==(
const
DtPortalGenericObject
& other)
const
;
37
38
virtual
DtPortalMessageKind
kind
()
const
{
return
DtPortalGenericObject::theKind
; }
39
virtual
const
char
*
objectKindName
()
const
{
return
"Generic Object"
;}
40
41
42
virtual
unsigned
int
netSize()
const
;
43
44
virtual
void
writeSelfToBuffer(
void
*buffer)
const
;
45
virtual
void
readSelfFromBuffer(
const
void
*buffer);
46
47
virtual
std::ostream &printDataToStream(std::ostream &str)
const
;
48
49
virtual
void
setGenericAttributeValuePairList(
const
DtAttributeValuePairList
& val);
50
virtual
const
DtAttributeValuePairList
& genericAttributeValuePairList()
const
;
51
54
57
DtDEC_ATTRIBUTE
(
DtString
, ClassName, className);
58
60
61
public
:
62
63
static
const
DtPortalMessageKind
theKind
;
64
static
DtPortalMessage
*
create
() {
return
new
DtPortalGenericObject
; }
65
66
protected
:
67
68
DtAttributeValuePairList
myGenericAttributeValuePairList
;
69
70
};
71
}
72
73
#endif //end #ifndef pGenericObject_H_
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
)