Lumiera  0.pre.03
»edit your freedom«
bus-mo.cpp
Go to the documentation of this file.
1 /*
2  BusMO - attachment point to form a global pipe
3 
4  Copyright (C)
5  2010, Hermann Vosseler <Ichthyostega@web.de>
6 
7   **Lumiera** is free software; you can redistribute it and/or modify it
8   under the terms of the GNU General Public License as published by the
9   Free Software Foundation; either version 2 of the License, or (at your
10   option) any later version. See the file COPYING for further details.
11 
12 * *****************************************************************/
13 
14 
23 
24 namespace steam {
25 namespace mobject {
26 namespace session {
27 
29  BusMO::BusMO (PPipe const& pipe_to_represent)
30  : pipe_(pipe_to_represent)
31  {
32  throwIfInvalid();
33  TODO ("what additionally to do when rooting a global pipe??");
34  }
35 
36 
37  bool
38  BusMO::isValid() const
39  {
40  TODO ("self-check of a global pipe within the model");
41  return true;
42  // Ideas: - maybe re-access the pipe "from outward"
43  // - and then verify matching WiringClaim in the corresponding placement
44  }
45 
46 
47 
48 
49 }}} // namespace steam::mobject::session
Steam-Layer implementation namespace root.
Namespace of Session and user visible high-level objects.
Definition: sequence.hpp:65
MObject in the Session to represent a processing pipe.