Lumiera
0.pre.03
»edit your freedom«
|
#include "steam/asset/meta/time-grid.hpp"
Interface: a grid and scale definition for time quantisation.
This meta-Asset describes a coordinate system or reference scale for quantised time values. Especially it allows to define an actual implementation, which can then implicitly be used by lib::time::QuTime and for conversions into timecode.
Definition at line 86 of file time-grid.hpp.
Static Public Member Functions | |
static PGrid | build (FrameRate frames_per_second) |
static PGrid | build (Symbol gridID, FrameRate frames_per_second) |
static PGrid | build (Symbol gridID, FrameRate frames_per_second, Time origin) |
Protected Member Functions | |
TimeGrid (GridID const &) | |
Protected Member Functions inherited from Meta | |
Meta (Asset::Ident const &idi) | |
template<typename TY > | |
Meta (lib::idi::EntryID< TY > const &nameID) | |
Protected Member Functions inherited from Asset | |
Asset (const Ident &idi) | |
Asset is a Interface class; usually, objects of concrete subclasses are created via specialised Factories. More... | |
virtual | ~Asset ()=0 |
void | defineDependency (PAsset parent) |
establish a connection between this and the given parent asset, denoting we are in some way dependent on the parent. More... | |
void | defineDependency (Asset &parent) |
virtual void | unlink () |
release all links to other Asset objects held internally. More... | |
virtual void | unlink (IDA target) |
variant of unlink() dropping only the links to the given specific Asset, leaving all other links intact. More... | |
Additional Inherited Members | |
Public Member Functions inherited from Meta | |
virtual const ID< Meta > & | getID () const |
Public Member Functions inherited from Asset | |
bool | enable (bool on=true) |
change the enabled status of this asset. More... | |
const vector< PAsset > & | getDependant () const |
All the other assets requiring this asset to be functional. More... | |
const vector< PAsset > & | getParents () const |
List of entities this asset depends on or requires to be functional. More... | |
bool | isActive () const |
weather this asset is switched on and consequently included in the fixture and participates in rendering More... | |
virtual | operator string () const |
bool | operator< (Asset const &oa) const |
bool | operator== (Asset const &oa) const |
Public Member Functions inherited from Descriptor | |
virtual | ~Descriptor () |
this is an Interface | |
Public Member Functions inherited from Grid | |
virtual | ~Grid () |
this is an Interface | |
virtual TimeValue | gridLocal (TimeValue const &raw) const =0 |
virtual FrameCnt | gridPoint (TimeValue const &raw) const =0 |
virtual TimeValue | timeOf (FrameCnt gridPoint) const =0 |
virtual TimeValue | timeOf (FSecs gridTime, int=0) const =0 |
Static Public Attributes inherited from Meta | |
static MetaFactory | create |
storage for the static MetaFactory instance | |
Public Attributes inherited from Asset | |
const Ident | ident |
Asset identification tuple. | |
Protected Attributes inherited from Asset | |
vector< PAsset > | dependants |
bool | enabled |
set< string > | groups |
additional classification, selections or departments this asset belongs to. More... | |
const ID< Asset > | id |
Asset primary key. | |
const string | longDesc |
user visible qualification of the thing, unit or concept represented by this asset. More... | |
vector< PAsset > | parents |
const string | shortDesc |
user visible Name-ID. More... | |
to be invoked indirectly by means of the Builder<TimeGrid>.
Definition at line 57 of file time-grid.cpp.
frames_per_second | automatically generates a generic grid name |
Definition at line 167 of file time-grid.cpp.
Referenced by TimeGrid::build().
frames_per_second | grid origin is at Time::ZERO |
Definition at line 173 of file time-grid.cpp.
References TimeGrid::build(), Builder< TimeGrid >::commit(), and stage::widget::name().