6 #ifndef BALL_VIEW_KERNEL_REPRESENTATIONMANAGER_H
7 #define BALL_VIEW_KERNEL_REPRESENTATIONMANAGER_H
9 #ifndef BALL_VIEW_KERNEL_REPRESENTATION_H
13 #ifndef BALL_SYSTEM_MUTEX_H
17 #include <QtCore/QCoreApplication>
18 #include <QtCore/QWaitCondition>
32 class UpdateRepresentationThread;
94 const RepresentationManager& operator = (const RepresentationManager& pm);
97 bool operator == (const RepresentationManager& pm) const;
108 bool remove(
Representation& representation,
bool send_message = true);
114 bool insert(
Representation& representation,
bool send_message = true);
118 {
return representations_;}
121 Size getNumberOfRepresentations()
const
122 {
return representations_.size();}
131 void dump(std::ostream& s,
Size depth = 0)
const;
135 {
return representations_.begin();}
139 {
return representations_.begin();}
143 {
return representations_.end();}
147 {
return representations_.end();}
165 void rebuildAllRepresentations();
177 void storeRepresentations(
INIFile& out);
180 void restoreRepresentations(
const INIFile& in,
const vector<const Composite*>& new_systems);
189 bool updateRunning()
const ;
236 #endif // BALL_VIEW_KERNEL_REPRESENTATIONMANAGER_H