00001
00007 #ifndef _OnlyBestAction_h
00008 #define _OnlyBestAction_h
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #include "PlotControl.h"
00019 #include "ToggleToolAction.h"
00020 #include "EvolutionaryMethodLayer.h"
00021
00022
00023
00024
00025 class OnlyBestAction
00026 : public ToggleToolAction
00027 {
00028 public:
00029
00030
00033 OnlyBestAction(PlotControl* pPlotControl,
00034 EvolutionaryMethodLayer* pEvolutionaryMethodLayer);
00035
00038 OnlyBestAction(const OnlyBestAction& from);
00039
00042 ~OnlyBestAction(void);
00043
00044
00045
00046
00047 virtual bool Action(bool toggle);
00048
00049
00050
00051
00052 virtual bool IsToggled() const;
00053
00054 protected:
00055 private:
00056
00057 PlotControl* mpPlotControl;
00058 EvolutionaryMethodLayer* mpEvolutionaryMethodLayer;
00059
00060 };
00061
00062
00063
00064
00065
00066
00067
00068 #endif // _OnlyBestAction_h