VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfobjcore
scriptCompSystem.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2013 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
#pragma once
6
7
#include <
vrfobjcore/vrfobjcoreDefines.h
>
8
9
#include <
vrfutil/asciiSerializable.h
>
10
#include "
vrfobjcore/scriptVrfObject.h
"
11
#include "
vrfobjcore/compSystem.h
"
12
13
class
DtSimManager
;
14
18
class
DT_DLL_vrfobjcore
DtScriptComponentSystem
:
public
DtAsciiSerializable
19
{
20
private
:
22
DtScriptComponentSystem
();
23
public
:
24
DtScriptComponentSystem
(
const
DtVrfObject
* vrfObject);
25
26
DtScriptComponentSystem
(
const
DtScriptComponentSystem
& orig);
27
28
DtScriptComponentSystem
& operator=(
const
DtScriptComponentSystem
&orig);
29
30
~
DtScriptComponentSystem
();
31
32
bool
operator==(
const
DtScriptComponentSystem
& orig);
33
40
virtual
DtReaderWriter
* getAttribute(
const
std::string& attributeName,
41
bool
&
error
)
const
;
42
45
virtual
bool
setAttribute(
const
std::string &attributeName,
46
DtReaderWriter
* value);
47
50
virtual
std::list<std::string> getAllAttributeNames()
const
;
53
55
virtual
DtComponentSystem
* componentSystem()
const
;
56
58
virtual
void
setComponentSystem(
DtComponentSystem
* system);
59
61
virtual
DtString
serialize
();
62
67
virtual
void
init
(
void
* userData);
68
71
bool
deserialize
(
const
DtString
& data);
72
73
virtual
DtString
objectType
()
const
;
74
76
//default values
77
static
DtAsciiSerializable
* creator();
78
81
82
protected
:
83
DtSimManager
*
mySimManager
;
84
const
DtVrfObject
*
myObject
;
85
DtComponentSystem
*
myComponentSystem
;
86
};
87
88
DT_DLL_vrfobjcore
std::ostream&
operator<<
(std::ostream&,
const
DtScriptComponentSystem
&);
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
)