Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef GCHEMPAINT_MECHANISM_STEP_H
00026 #define GCHEMPAINT_MECHANISM_STEP_H
00027
00030 #include <gcu/object.h>
00031
00032 namespace gcp {
00033
00034 extern gcu::TypeId MechanismStepType;
00035
00041 class MechanismStep: public gcu::Object
00042 {
00043 public:
00047 MechanismStep (gcu::TypeId type = MechanismStepType);
00051 virtual ~MechanismStep ();
00052
00057 double GetYAlign ();
00067 bool OnSignal (gcu::SignalId Signal, gcu::Object *Child);
00074 xmlNodePtr Save (xmlDocPtr xml) const;
00081 bool Load (xmlNodePtr node);
00082
00086 std::string Name ();
00087
00088 private:
00089 bool m_bLoading;
00090 };
00091
00092 }
00093
00094 #endif // GCHEMPAINT_MECHANISM_STEP_H