#include <DisplayElement.h>
Public Member Functions | |
DisplayElement (std::unique_ptr< DisplayStyle > &&disp) | |
virtual | ~DisplayElement () |
virtual void | draw (Cairo::RefPtr< Cairo::Context > cr, proj::MapProjection &pr) const |
virtual DisplayElementType | get_type () const =0 |
virtual bool | operator< (DisplayElement const &other) const =0 |
virtual bool | operator> (DisplayElement const &other) const =0 |
virtual bool | operator<= (DisplayElement const &other) const =0 |
virtual bool | operator>= (DisplayElement const &other) const =0 |
virtual bool | operator== (DisplayElement const &other) const =0 |
virtual bool | operator!= (DisplayElement const &other) const =0 |
Protected Member Functions | |
virtual void | draw_internal (Cairo::RefPtr< Cairo::Context > cr, proj::MapProjection &pr) const =0 |
Protected Attributes | |
std::unique_ptr< DisplayStyle > | disp |
Definition at line 24 of file DisplayElement.h.
display::DisplayElement::DisplayElement | ( | std::unique_ptr< DisplayStyle > && | disp | ) |
Definition at line 15 of file DisplayElement.cpp.
display::DisplayElement::~DisplayElement | ( | ) | [virtual] |
Definition at line 20 of file DisplayElement.cpp.
void display::DisplayElement::draw | ( | Cairo::RefPtr< Cairo::Context > | cr, |
proj::MapProjection & | pr | ||
) | const [virtual] |
Definition at line 24 of file DisplayElement.cpp.
virtual void display::DisplayElement::draw_internal | ( | Cairo::RefPtr< Cairo::Context > | cr, |
proj::MapProjection & | pr | ||
) | const [protected, pure virtual] |
Implemented in display::DisplayLine.
virtual DisplayElementType display::DisplayElement::get_type | ( | ) | const [pure virtual] |
Implemented in display::DisplayLine.
virtual bool display::DisplayElement::operator!= | ( | DisplayElement const & | other | ) | const [pure virtual] |
Implemented in display::DisplayLine.
virtual bool display::DisplayElement::operator< | ( | DisplayElement const & | other | ) | const [pure virtual] |
Implemented in display::DisplayLine.
virtual bool display::DisplayElement::operator<= | ( | DisplayElement const & | other | ) | const [pure virtual] |
Implemented in display::DisplayLine.
virtual bool display::DisplayElement::operator== | ( | DisplayElement const & | other | ) | const [pure virtual] |
Implemented in display::DisplayLine.
virtual bool display::DisplayElement::operator> | ( | DisplayElement const & | other | ) | const [pure virtual] |
Implemented in display::DisplayLine.
virtual bool display::DisplayElement::operator>= | ( | DisplayElement const & | other | ) | const [pure virtual] |
Implemented in display::DisplayLine.
std::unique_ptr<DisplayStyle> display::DisplayElement::disp [protected] |
Definition at line 38 of file DisplayElement.h.