Lumiera  0.pre.03
»edit your freedom«
generator-mo.hpp
Go to the documentation of this file.
1 /*
2  GENERATOR-MO.hpp - a (Test)data generator
3 
4  Copyright (C)
5  2011, 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 #ifndef STEAM_MOBJECT_SESSION_GENERATOR_MO_H
24 #define STEAM_MOBJECT_SESSION_GENERATOR_MO_H
25 
27 #include "lib/time/timevalue.hpp"
28 
29 
30 namespace steam {
31 namespace asset {
32  class Media;
33  class Clip;
34 }
35 
36 namespace mobject {
37 namespace session {
38 
39  using asset::Media;
40  using lib::time::TimeVar;
41 
42  typedef lib::P<Media> PMedia;
43  typedef lib::P<asset::Clip> PClipAsset;
44 
45 
50  : public AbstractMO
51  {
52  string
53  initShortID() const
54  {
55  return buildShortID("Generator");
56  }
57 
58  void setupLength();
59 
60 
61 
62  protected:
65 
74  GeneratorMO ();
75  friend class MObjectFactory;
76 
77 
78  public:
79  bool isValid() const;
80 
81 
83 
84  };
85 
86 
87 
88 }}} // namespace steam::mobject::session
89 #endif
a mutable time value, behaving like a plain number, allowing copy and re-accessing ...
Definition: timevalue.hpp:232
key abstraction: media-like assets
Definition: media.hpp:63
Base class of all BuilderTools, used according to the visitor pattern: each Tool contains the concret...
Definition: buildertool.hpp:97
Steam-Layer implementation namespace root.
Namespace of Session and user visible high-level objects.
Definition: sequence.hpp:65
abstract base class of all MObjects for providing common services.
Definition: abstractmo.hpp:39
Customised refcounting smart pointer template, built upon std::shared_ptr, but forwarding type relati...
Definition: trait.hpp:71
#define DEFINE_PROCESSABLE_BY(TOOL)
mark a Visitable subclass as actually treat-able by some "visiting tool" base interface.
Definition: visitor.hpp:222
TimeVar start_
start position in source
a family of time value like entities and their relationships.
The asset subsystem of the Steam-Layer.
Definition: wrapperptr.hpp:35