1 #ifndef LIBR2C2_BEAMGATE_H_
2 #define LIBR2C2_BEAMGATE_H_
4 #include "beamgatetype.h"
6 #include "trackattachment.h"
10 class BeamGate: public TrackAttachment, public Sensor
13 class Loader: public Msp::DataFile::ObjectLoader<BeamGate>
18 void address(unsigned);
19 void position(float, float, float);
26 virtual BeamGate *clone(Layout * = 0) const;
27 virtual const BeamGateType &get_type() const;
29 virtual void set_position(const Vector &);
30 virtual void set_rotation(const Angle &);
31 virtual void set_tilt(const Angle &) { }
33 void update_attachment();
36 virtual Block *get_block() const;
38 void save(std::list<Msp::DataFile::Statement> &) const;