Design Patterns
structural::proxy::ImageProxy Class Reference

#include <image_proxy.h>

Inheritance diagram for structural::proxy::ImageProxy:
Collaboration diagram for structural::proxy::ImageProxy:

Public Member Functions

 ImageProxy (const std::string &file_name)
 
virtual ~ImageProxy ()
 
virtual void Draw (const commons::Point< float > &at) override
 
virtual void HandleMouse (Event &event) override
 
virtual const commons::Point< float > & GetExtent () override
 
virtual void Load (std::istream &from) override
 
virtual void Save (std::ostream &to) override
 
- Public Member Functions inherited from structural::proxy::GraphicInterface
virtual ~GraphicInterface ()
 

Protected Member Functions

ImageGetImage ()
 

Constructor & Destructor Documentation

structural::proxy::ImageProxy::ImageProxy ( const std::string &  file_name)
explicit
structural::proxy::ImageProxy::~ImageProxy ( )
virtual

Member Function Documentation

void structural::proxy::ImageProxy::Draw ( const commons::Point< float > &  at)
overridevirtual

Implements structural::proxy::GraphicInterface.

Here is the call graph for this function:

const commons::Point< float > & structural::proxy::ImageProxy::GetExtent ( )
overridevirtual

Implements structural::proxy::GraphicInterface.

Here is the call graph for this function:

Image * structural::proxy::ImageProxy::GetImage ( )
protected

Here is the caller graph for this function:

void structural::proxy::ImageProxy::HandleMouse ( Event event)
overridevirtual

Implements structural::proxy::GraphicInterface.

Here is the call graph for this function:

void structural::proxy::ImageProxy::Load ( std::istream &  from)
overridevirtual
void structural::proxy::ImageProxy::Save ( std::ostream &  to)
overridevirtual

The documentation for this class was generated from the following files: