mechanism-step.h
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 bool Load (xmlNodePtr node);
00075
00079 std::string Name ();
00080
00081 private:
00082 bool m_bLoading;
00083 };
00084
00085 }
00086
00087 #endif // GCHEMPAINT_MECHANISM_STEP_H