BALL
1.5.0
include
BALL
CONCEPT
objectCreator.h
Go to the documentation of this file.
1
// -*- Mode: C++; tab-width: 2; -*-
2
// vi: set ts=2:
3
//
4
5
#ifndef BALL_CONCEPT_OBJECTCREATOR_H
6
#define BALL_CONCEPT_OBJECTCREATOR_H
7
8
#ifndef BALL_CONCEPT_COMPOSITE_H
9
# include <
BALL/CONCEPT/composite.h
>
10
#endif
11
12
#ifndef BALL_CONCEPT_PERSISTENTOBJECT_H
13
# include <
BALL/CONCEPT/persistentObject.h
>
14
#endif
15
16
#ifndef BALL_CONCET_TEXTPERSISTENCEMANAGER_H
17
# include <
BALL/CONCEPT/textPersistenceManager.h
>
18
#endif
19
20
#ifndef BALL_SYSTEM_NETWORKING_H
21
# include <
BALL/SYSTEM/networking.h
>
22
#endif
23
24
#include <vector>
25
26
namespace
BALL
27
{
35
class
BALL_EXPORT
ObjectCreator
36
{
37
public
:
38
42
50
ObjectCreator
()
51
;
52
54
57
60
virtual
~ObjectCreator
()
61
;
62
66
virtual
void
clear
()
67
;
68
70
73
82
virtual
void
initPersistenceManager
(
TextPersistenceManager
&pm)
83
;
84
93
virtual
Composite
*
convertObject
(
PersistentObject
&po)
94
;
95
97
100
113
Composite
*operator() (
TCPIOStream
&tcp_iostream)
114
;
115
117
118
private
:
119
120
bool
init_;
121
TextPersistenceManager
pm_;
122
};
123
124
}
// namespace BALL
125
126
#endif // BALL_CONCEPT_OBJECTCREATOR_H
BALL_EXPORT
#define BALL_EXPORT
Definition:
COMMON/global.h:50
BALL::ObjectCreator::initPersistenceManager
virtual void initPersistenceManager(TextPersistenceManager &pm)
persistentObject.h
BALL::ObjectCreator::convertObject
virtual Composite * convertObject(PersistentObject &po)
networking.h
BALL
Definition:
constants.h:13
textPersistenceManager.h
BALL::Composite
Definition:
composite.h:74
BALL::ObjectCreator::ObjectCreator
ObjectCreator()
BALL::TCPIOStream
Definition:
networking.h:31
BALL::PersistentObject
Definition:
persistentObject.h:29
composite.h
BALL::TextPersistenceManager
Definition:
textPersistenceManager.h:29
BALL::ObjectCreator
Definition:
objectCreator.h:36
BALL::ObjectCreator::clear
virtual void clear()
BALL::ObjectCreator::~ObjectCreator
virtual ~ObjectCreator()
Generated by
1.8.20