#include "freElementals.h"#include "itkEventObject.h"


Go to the source code of this file.
Namespaces | |
| namespace | FREE |
Classes | |
| class | FREE::EvaluationProgressObserverEvent |
| This event is excuted whenever the evalution of a setup optimization step makes progress. More... | |
| class | FREE::EvaluationDoneObserverEvent |
| This event is executed when the evaluation of an adaptation element is finished. More... | |
| class | FREE::NextAdaptationObserverEvent |
Defines | |
| #define | freProgressEventMacro(classname, super) |
| #define freProgressEventMacro | ( | classname, | |||
| super | ) |
Value:
\ class classname : public super { \ public: \ typedef classname Self; \ typedef super Superclass; \ classname(long lStatusID = 0, const std::string& sComment = "") \ { \ m_StatusID = lStatusID; \ m_Comment = sComment; \ } \ virtual ~classname() {} \ long GetStatusID () const {return m_StatusID;}; \ const std::string & GetComment () const {return m_Comment;}; \ virtual const char * GetEventName() const { return #classname; } \ virtual bool CheckEvent(const ::itk::EventObject* e) const \ { return dynamic_cast<const Self*>(e); } \ virtual ::itk::EventObject* MakeObject() const \ { return new Self; } \ classname(const Self&s) :super(s) \ { m_Comment = s.GetComment(); \ m_StatusID = s.GetStatusID(); }; \ private: \ long m_StatusID;\ std::string m_Comment;\ void operator=(const Self&); \ }
Definition at line 28 of file freSetupOptimizationObserverEvents.h.
1.5.3 written by Dimitri van Heesch,
© 1997-2000