Go to the documentation of this file.
14 #include <boost/shared_ptr.hpp>
22 using Ptr = boost::shared_ptr<SizeDeterminer>;
29 std::set<ViewInterface::WeakPtr>
views;
PresentationData()
Definition: sizedeterminer.cc:51
void sendUpdates()
Definition: sizedeterminer.cc:126
Scroom::Utils::Rectangle< double > DetermineSize(const std::list< PresentationInterface::Ptr > &presentations)
Definition: sizedeterminer.cc:18
std::list< PresentationInterface::Ptr > presentations
Definition: sizedeterminer.hh:37
std::set< ViewInterface::WeakPtr > views
Definition: sizedeterminer.hh:29
void close(PresentationInterface::Ptr const &p, ViewInterface::WeakPtr const &vi)
Definition: sizedeterminer.cc:112
void open(PresentationInterface::Ptr const &p, ViewInterface::WeakPtr const &vi)
Definition: sizedeterminer.cc:96
boost::shared_ptr< ResizablePresentationInterface > Ptr
Definition: resizablepresentationinterface.hh:29
value_type getBottom() const
Definition: rectangle.hh:112
static Ptr create()
Definition: sizedeterminer.cc:66
#define require(expr)
Definition: assertions.hh:28
static std::list< PresentationInterface::WeakPtr > presentations
Definition: callbacks.cc:57
boost::shared_ptr< PresentationInterface > Ptr
Definition: presentationinterface.hh:74
boost::weak_ptr< ViewInterface > WeakPtr
Definition: viewinterface.hh:194
value_type getRight() const
Definition: rectangle.hh:114
void add(PresentationInterface::Ptr const &p)
Definition: sizedeterminer.cc:68
Definition: sizedeterminer.hh:19
Scroom::Utils::Rectangle< double > getRect() const
Definition: sizedeterminer.cc:83
value_type getLeft() const
Definition: rectangle.hh:110
const ResizablePresentationInterface::Ptr resizablePresentationInterface
Definition: sizedeterminer.hh:28
boost::shared_ptr< SizeDeterminer > Ptr
Definition: sizedeterminer.hh:22
std::map< PresentationInterface::Ptr, PresentationData > resizablePresentationData
Definition: sizedeterminer.hh:38
Definition: sizedeterminer.hh:25
std::list< K > keys(std::map< K, V > const &m)
Definition: sizedeterminer.cc:37
value_type getTop() const
Definition: rectangle.hh:108
#define defect()
Definition: assertions.hh:40