Lumiera  0.pre.03
»edityourfreedom«
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
proc/mobject/session/binding.hpp
Go to the documentation of this file.
1 /*
2  BINDING.hpp - link to use a sequence within the session
3 
4  Copyright (C) Lumiera.org
5  2009, 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 
31 #ifndef PROC_MOBJECT_SESSION_BINDING_H
32 #define PROC_MOBJECT_SESSION_BINDING_H
33 
36 
37 
38 namespace proc {
39 namespace asset {
40  class Sequence;
41 
43 
44 }
45 
46 namespace mobject {
47 namespace session {
48 
49  using asset::PSequence;
50 
57  class Binding : public Meta
58  {
60 
61  string
62  initShortID() const
63  {
64  return buildShortID("Binding");
65  }
66 
67  bool isValid() const;
68 
69  public:
70  Binding (PSequence const& sequence_to_bind);
71 
73 
74  };
75 
76  } // namespace mobject::session
77 
79  template class Placement<session::Binding, session::Meta>;
81 
82 }} // namespace proc::mobject
83 #endif
A refcounting Handle to an MObject of type MO, used to constrain or explicitly specify the location w...
Definition: trait.hpp:87
Customised refcounting smart pointer template, built upon std::shared_ptr, but forwarding type relati...
Definition: trait.hpp:76
Placement< session::Binding, session::Meta > PBinding
Explicit link to bind a Sequence (container) to be used within the Session, either as contents of a t...
The asset subsystem of the Proc-Layer.
Definition: id-scheme.hpp:64
Base class of all BuilderTools, used according to the visitor pattern: each Tool contains the concret...
Binding(PSequence const &sequence_to_bind)
lib::P< Sequence > PSequence
Visiting-tool mechanism configured specifically for the Builder.
Intermediate Asset interface: metadata and processing instructions.
string buildShortID(lib::Literal typeID, string suffix="") const
Definition: abstractmo.cpp:53
Namespace of Session and user visible high-level objects.
Meta-MObject doesn't represent real Media Content, but rather all sorts of Processing Instructions an...
DEFINE_PROCESSABLE_BY(builder::BuilderTool)
bool isValid() const
MObject self-test (usable for asserting)
Proc-Layer implementation namespace root.
Definition: id-scheme.hpp:63