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;
108 bool remove(
Representation& representation,
bool send_message =
true);
114 bool insert(
Representation& representation,
bool send_message =
true);
118 {
return representations_;}
122 {
return representations_.size();}
131 void dump(std::ostream& s,
Size depth = 0)
const;
135 {
return representations_.begin();}
138 RepresentationsConstIterator
begin()
const 139 {
return representations_.begin();}
142 RepresentationsIterator
end()
143 {
return representations_.end();}
146 RepresentationsConstIterator
end()
const 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 RepresentationsConstIterator begin() const
ConstIterator to the first Representation.
#define BALL_CREATE(name)
HashSet< Representation * > to_update_
std::list< Representation * > RepresentationList
const vector< ClippingPlane * > & getClippingPlanes() const
RepresentationsIterator end()
Iterator pointing behind the last Representation.
RepresentationList representations_
RepresentationsIterator begin()
Iterator to the first Representation.
RepresentationList::const_iterator RepresentationsConstIterator
ConstIterator to the Representations.
UpdateRepresentationThread * thread_
MainControl * main_control_
HashSet< Representation * > beeing_updated_
HashSet< Representation * > beeing_rendered_
const RepresentationList & getRepresentations() const
Get the list with the Representations.
Size getNumberOfRepresentations() const
Get the number of the Representations.
BALL_EXPORT bool operator==(const String &s1, const String &s2)
vector< ClippingPlane * > clipping_planes_
RepresentationList::iterator RepresentationsIterator
Iteration to the Representations.
-*- Mode: C++; tab-width: 2; -*-
RepresentationsConstIterator end() const
Const Iterator pointing behind the last Representation.