Lumiera  0.pre.03
»edit your freedom«
fixedlocation.hpp
Go to the documentation of this file.
1 /*
2  FIXEDLOCATION.hpp - directly positioning a MObject to a fixed location
3 
4  Copyright (C) Lumiera.org
5  2008, Hermann Vosseler <Ichthyostega@web.de>
6 
7  This program is free software; you can redistribute it and/or
8  modify it under the terms of the GNU General Public License as
9  published by the Free Software Foundation; either version 2 of
10  the License, or (at your option) any later version.
11 
12  This program is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with this program; if not, write to the Free Software
19  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 
21 */
22 
23 
35 #ifndef STEAM_MOBJECT_SESSION_FIXEDLOCATION_H
36 #define STEAM_MOBJECT_SESSION_FIXEDLOCATION_H
37 
39 
40 
41 
42 namespace steam {
43 namespace mobject {
44 
45  class ExplicitPlacement; //TODO trac #100
46 
47  namespace session {
48 
56  class FixedLocation : public LocatingPin
57  {
58  Time time_;
59  Fork fork_;
60 
61  friend class ExplicitPlacement;
62 
63  protected:
64  FixedLocation (Time ti, Fork fo) : time_(ti), fork_(fo) {};
65  friend class LocatingPin;
66 
67  virtual void intersect (LocatingSolution&) const;
68 
69  public:
70  virtual FixedLocation* clone () const;
71 
72  };
73 
74 
75 
76 }}} // namespace steam::mobject::session
77 #endif
Special kind of Placement, where the location of the MObject has been nailed down to a fixed position...
Positioning specification, possibly chained to further specifications.
Definition: locatingpin.hpp:97
Steam-Layer implementation namespace root.
Implementing the Placement mechanics.
Namespace of Session and user visible high-level objects.
Definition: sequence.hpp:74
Lumiera&#39;s internal time value datatype.
Definition: timevalue.hpp:308
The most common case of positioning a MObject in the Session: directly specifying a constant position...