Lumiera  0.pre.03
»edityourfreedom«
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
bus-mo.hpp
Go to the documentation of this file.
1 /*
2  BUS-MO.hpp - attachment point to form a global pipe
3 
4  Copyright (C) Lumiera.org
5  2010, 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 
34 #ifndef PROC_MOBJECT_SESSION_BUS_MO_H
35 #define PROC_MOBJECT_SESSION_BUS_MO_H
36 
39 
40 
41 namespace proc {
42 namespace asset {
43 
44  class Pipe;
45  typedef lib::P<Pipe> PPipe;
46 
47 }
48 
49 namespace mobject {
50 namespace session {
51 
52  using asset::PPipe;
53 
60  class BusMO : public Meta
61  {
63 
64  string
65  initShortID() const
66  {
67  return buildShortID("Bus");
68  }
69 
70  bool isValid() const;
71 
72  public:
73  BusMO (PPipe const& pipe_to_represent);
74 
76 
77  };
78 
79  } // namespace mobject::session
80 
82  template class Placement<session::BusMO, session::Meta>;
84 
85 }} // namespace proc::mobject
86 #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
The asset subsystem of the Proc-Layer.
Definition: id-scheme.hpp:64
DEFINE_PROCESSABLE_BY(builder::BuilderTool)
lib::P< Pipe > PPipe
Definition: pipe.hpp:51
Base class of all BuilderTools, used according to the visitor pattern: each Tool contains the concret...
Visiting-tool mechanism configured specifically for the Builder.
Intermediate Asset interface: metadata and processing instructions.
bool isValid() const
MObject self-test (usable for asserting)
Definition: bus-mo.cpp:47
string buildShortID(lib::Literal typeID, string suffix="") const
Definition: abstractmo.cpp:53
BusMO(PPipe const &pipe_to_represent)
Definition: bus-mo.cpp:38
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...
OutputDesignation::PPipe PPipe
Placement< session::BusMO, session::Meta > PBus
Definition: bus-mo.hpp:83
Proc-Layer implementation namespace root.
Definition: id-scheme.hpp:63
Model entity corresponding to a global pipe.
Definition: bus-mo.hpp:60
string initShortID() const
Definition: bus-mo.hpp:65