![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
#include "steam/asset/meta/time-grid.hpp"
Definition at line 95 of file time-grid.hpp.
Public Attributes | |
| string | id |
| FrameRate | fps |
| TimeVar | origin |
| lib::P< TimeGrid > | predecessor |
| when building a compound or variable grid, the predecessor is the grid active before the origin of this (local) grid. | |
Public Member Functions | |
| Builder (string const &nameID="") | |
| initialise to blank (zero). | |
| lib::P< TimeGrid > | commit () |
| create a time grid based on settings within this builder | |
|
inline |
initialise to blank (zero).
You need at least to set the framerate, in order to create a usable TimeGrid
Definition at line 114 of file time-grid.hpp.
create a time grid based on settings within this builder
Setup of a TimeGrid: validate the settings configured into this builder instance, then decide on the implementation strategy for the time grid.
Convert the given frames per second into an appropriate gridSpacing time and build a suitable name-ID to denote the TimeGrid-meta-Asset to be built.
| error::Config | in case of invalid frames-per-second. The AssetManager might raise further exception when asset registration fails. |
Definition at line 135 of file time-grid.cpp.
Referenced by TimeGridBasics_test::createGrid_fullProcedure().
Here is the caller graph for this function:| string id |
Definition at line 97 of file time-grid.hpp.
| FrameRate fps |
Definition at line 99 of file time-grid.hpp.
Referenced by TimeGridBasics_test::createGrid_fullProcedure().
| TimeVar origin |
Definition at line 100 of file time-grid.hpp.
Referenced by TimeGridBasics_test::createGrid_fullProcedure().
when building a compound or variable grid, the predecessor is the grid active before the origin of this (local) grid.
Definition at line 107 of file time-grid.hpp.
Referenced by TimeGridBasics_test::createGrid_fullProcedure().
Collaboration diagram for Builder< TimeGrid >: