Lumiera  0.pre.03
»edit your freedom«
SimpleTimeGrid Class Reference

Description

TimeGrid implementation: a trivial time grid, starting at a given point in time and using a constant grid spacing.

Note
The actual implementation is mixed in, together with the Quantiser API; the intended use of this implementation is to publish it via the advice framework, when building and registering the meta asset.

Definition at line 110 of file time-grid.cpp.

Public Member Functions

 SimpleTimeGrid (Time start, Duration frameDuration, GridID const &name)
 
 SimpleTimeGrid (Time start, FrameRate frames_per_second, GridID const &name)
 
- 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
 
- Public Member Functions inherited from FixedFrameQuantiser
 FixedFrameQuantiser (FrameRate const &frames_per_second, TimeValue referencePoint=TimeValue(0))
 Create a quantiser based on a fixed constant spaced grid, rooted at the reference point as origin of the scale. More...
 
 FixedFrameQuantiser (Duration const &frame_duration, TimeValue referencePoint=TimeValue(0))
 
TimeValue gridLocal (TimeValue const &) const
 transform into the local time scale grid aligned. More...
 
FrameCnt gridPoint (TimeValue const &) const
 grid quantisation (alignment). More...
 
TimeValue timeOf (FrameCnt gridPoint) const
 calculate time value of a grid interval (frame) start point More...
 
TimeValue timeOf (FSecs, int=0) const
 calculate time coordinates of a time spec relative to this quantised time scale More...
 
- Public Member Functions inherited from Quantiser
TimeValue materialise (TimeValue const &raw) const
 convenience shortcut: materialise a raw time value based on this grid or time axis, but returning a raw time value. More...
 
template<class FMT >
bool supports () const
 

Additional Inherited Members

- Static Public Member Functions inherited from TimeGrid
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)
 
- Static Public Member Functions inherited from Quantiser
static PQuant retrieve (Symbol gridID)
 Access an existing grid definition or quantiser, known by the given symbolic ID. More...
 
- 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 Member Functions inherited from TimeGrid
 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...
 
- Protected Attributes inherited from Asset
vector< PAssetdependants
 
bool enabled
 
set< string > groups
 additional classification, selections or departments this asset belongs to. More...
 
const ID< Assetid
 Asset primary key.
 
const string longDesc
 user visible qualification of the thing, unit or concept represented by this asset. More...
 
vector< PAssetparents
 
const string shortDesc
 user visible Name-ID. More...
 
- Protected Attributes inherited from Quantiser
format::Supported supportedFormats_
 
+ Inheritance diagram for SimpleTimeGrid:
+ Collaboration diagram for SimpleTimeGrid:

The documentation for this class was generated from the following file: