line_algorithm Class Reference

#include <line_algorithm.hpp>

Inheritance diagram for line_algorithm:

algorithm observer subject line_join_algorithm List of all members.

Public Member Functions

 line_algorithm ()
virtual ~line_algorithm ()
virtual void update ()
line get_line ()

Protected Member Functions

virtual line calculate ()=0

Protected Attributes

boost::shared_ptr< linem_calculated_line

Detailed Description

Definition at line 30 of file line_algorithm.hpp.


Constructor & Destructor Documentation

line_algorithm::line_algorithm  ) 
 

Definition at line 23 of file line_algorithm.cpp.

line_algorithm::~line_algorithm  )  [virtual]
 

Definition at line 27 of file line_algorithm.cpp.


Member Function Documentation

virtual line line_algorithm::calculate  )  [protected, pure virtual]
 

Implemented in line_join_algorithm.

Referenced by update().

line line_algorithm::get_line  ) 
 

Definition at line 37 of file line_algorithm.cpp.

References m_calculated_line.

void line_algorithm::update  )  [virtual]
 

Implements algorithm.

Definition at line 31 of file line_algorithm.cpp.

References calculate(), m_calculated_line, and subject::notice_all_observers().


Member Data Documentation

boost::shared_ptr<line> line_algorithm::m_calculated_line [protected]
 

Definition at line 34 of file line_algorithm.hpp.

Referenced by get_line(), and update().


The documentation for this class was generated from the following files:
Generated on Fri May 19 19:30:29 2006 for geometria by  doxygen 1.4.6-NO