72 using std::dynamic_pointer_cast;
89 PQuant quantiser (dynamic_pointer_cast<const Quantiser>(gridImplementation));
94 return gridImplementation;
148 throw error::Invalid(
"compound and variable time grids are a planned feature" 149 , error::LUMIERA_ERROR_UNIMPLEMENTED);
150 ENSURE (fps,
"infinite grid should have been detected by FrameRate ctor");
154 _Fmt gridIdFormat(
"grid(%f_%d)");
155 id = string(gridIdFormat % fps % _raw(origin));
169 return build (Symbol::EMPTY,frames_per_second);
175 return build (gridID,frames_per_second, Time::ZERO);
184 spec.fps = frames_per_second;
185 spec.origin = origin;
string name
element ID, comprehensible but sanitised.
Steam-Layer Interface: Asset Lookup and Organisation.
CStr cStr(std::string const &rendered)
convenience shortcut: forced conversion to c-String via string.
Facility to create grid-aligned time values.
Framerate specified as frames per second.
inline string literal This is a marker type to indicate that
typed symbolic and hash ID for asset-like position accounting.
const Ident ident
Asset identification tuple.
Steam-Layer implementation namespace root.
A front-end for using printf-style formatting.
static lib::Depend< AssetManager > instance
get at the system-wide asset manager instance.
Lumiera's internal time value datatype.
Derived specific exceptions within Lumiera's exception hierarchy.
Token or Atom with distinct identity.
Expecting Advice and giving Advice: a cross-cutting collaboration of loosely coupled participants...
Access point for the advising entity (server).
Tiny helper functions and shortcuts to be used everywhere Consider this header to be effectively incl...
boost::rational< int64_t > FSecs
rational representation of fractional seconds
Library functions to support the formation of grid-aligned time values.
Offset measures a distance in time.
To establish a reference scale for quantised time values.
Duration is the internal Lumiera time metric.
Customised refcounting smart pointer template, built upon std::shared_ptr, but forwarding type relati...
A time interval anchored at a specific point in time.
a family of time value like entities and their relationships.
The asset subsystem of the Steam-Layer.
basic constant internal time value.
Naming and labelling scheme for structural assets.
Simple stand-alone Quantiser implementation based on a constant sized gird.