Lumiera  0.pre.03
»edityourfreedom«
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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 PROC_MOBJECT_SESSION_FIXEDLOCATION_H
36 #define PROC_MOBJECT_SESSION_FIXEDLOCATION_H
37 
39 
40 
41 
42 namespace proc {
43 namespace mobject {
44 
45  class ExplicitPlacement; //TODO trac #100
46 
47  namespace session {
48 
56  class FixedLocation : public LocatingPin
57  {
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 proc::mobject::session
77 #endif
virtual FixedLocation * clone() const
The most common case of positioning a MObject in the Session: directly specifying a constant position...
Positioning specification, possibly chained to further specifications.
Definition: locatingpin.hpp:97
Implementing the Placement mechanics.
Special kind of Placement, where the location of the MObject has been nailed down to a fixed position...
Lumiera's internal time value datatype.
Definition: timevalue.hpp:226
virtual void intersect(LocatingSolution &) const
Namespace of Session and user visible high-level objects.
Proc-Layer implementation namespace root.
Definition: id-scheme.hpp:63