Lumiera
0.pre.03
»edit your freedom«
|
Lumiera public interface.
Global interfaces and facilities accessible from plugins and scripts. It's probably a good idea to pull it in explicitly and to avoid nesting implementation namespaces within lumiera:
:
Namespaces |
Typedefs | |
typedef LifecycleRegistry::Hook | Callback |
using | CStr = const char * |
typedef MultiFact< Resolution *(Goal const &), Goal::QueryID, BuildRefcountPtr > | DispatcherTable |
factory used as dispatcher table for resolving typed queries | |
typedef AppState::ExitCode | ExitCode |
typedef std::shared_ptr< Resolution > | PReso |
Allow to take and transfer ownership of a result set. More... | |
typedef Goal::QueryID const & | QID |
typedef lib::VariantO< steam::WrapperTypes, util::AccessCasted_O > | WrapperPtr |
helper to treat various sorts of smart-ptrs uniformly. More... | |
Classes | |
class | AppState |
The Lumiera Application state and basic initialisation. More... | |
class | BasicSetup |
Represents the elementary self-configuration of a running Lumiera application instance. More... | |
class | Config |
C++ wrapper for convenient access to the Lumiera config system. More... | |
class | Display |
Interface for outputting frames to an (already allocated) viewer or display. More... | |
class | DummyPlayer |
Experimental Interface Steam-Layer (or maybe the vault?): Global access point for starting a dummy playback, generating some test image data for the GUI to display in a viewer window. More... | |
class | Error |
Interface and Base definition for all Lumiera Exceptions. More... | |
class | FrameID |
Identification tuple for addressing frames unambiguously. More... | |
class | Goal |
Query ABC: unspecific goal for resolution or retrieval. More... | |
class | InstanceHandle |
Handle tracking the registration of an interface, deregistering it on deletion. More... | |
class | LifecycleHook |
define and register a callback for a specific lifecycle event. More... | |
class | LifecycleRegistry |
Registry of callback functions accessible by a label (ID) provided at registration. More... | |
struct | NodeID |
Identification tuple for denoting render nodes unambiguously. More... | |
class | Option |
Frontend for handling the Lumiera application commandline arguments. More... | |
class | Play |
Interface to the Player subsystem of Lumiera (Steam-Layer). More... | |
class | Query |
Generic interface to express a query for specifically typed result elements exposing some capabilities or fulfilling some properties. More... | |
class | QueryDispatcher |
PImpl of the generic QueryResolver. More... | |
class | QueryKey |
Wrapper for indexing and ordering. More... | |
class | QueryResolver |
Interface: a facility for resolving (some kind of) queries A concrete subclass has the ability to create Resolution instances in response to specific queries of some kind, if applicable. More... | |
class | Resolution |
ABC representing the result set of an individual query resolution. More... | |
class | Subsys |
Dependencies and lifecycle of a partially independent Subsystem of the Application. More... | |
class | SubsystemRunner |
Implementation helper for managing execution of a collection of subsystems, which may depend on one another and execute in parallel. More... | |
Functions | |
void | initialise_NoBug () |
template<class EX > | |
void | maybeThrow (string description="") |
Check the lumiera error state and throw a specific exception in case a non-cleared errorflag is detected. More... | |
const char * | ON_BASIC_INIT ("ON_BASIC_INIT") |
const char * | ON_EMERGENCY ("ON_EMERGENCY") |
const char * | ON_GLOBAL_INIT ("ON_GLOBAL_INIT") |
const char * | ON_GLOBAL_SHUTDOWN ("ON_GLOBAL_SHUTDOWN") |
bool | operator!= (Goal::QueryID const &id1, Goal::QueryID const &id2) |
bool | operator< (Goal::QueryID const &id1, Goal::QueryID const &id2) |
ostream & | operator<< (ostream &os, const Option &to) |
for outputting the help messages. More... | |
bool | operator== (Goal::QueryID const &id1, Goal::QueryID const &id2) |
void | throwOnError () |
Check the lumiera error state, which maybe was set by C-code. More... | |
Variables | |
const char * | ON_BASIC_INIT |
automatic static init. treated specially to run as soon as possible | |
const char * | ON_EMERGENCY |
activated on shutdown after premature failure of a subsystem | |
const char * | ON_GLOBAL_INIT |
to be triggered in main() More... | |
const char * | ON_GLOBAL_SHUTDOWN |
to be triggered at the end of main() More... | |
typedef std::shared_ptr< Resolution > PReso |
Allow to take and transfer ownership of a result set.
Allow to take ownership of a result set.
Definition at line 56 of file query-resolver.hpp.
helper to treat various sorts of smart-ptrs uniformly.
Implemented as a variant-type value object, it is preconfigured with the possible hierarchy-base classes used within this application. Thus, when passing in an arbitrary smart-ptr, the best fitting smart-ptr type pointing to the corresponding base class is selected for internal storage. Later on, stored values can be retrieved either utilising static or dynamic casts; error reporting is similar to the behaviour of dynamic_cast<T>: when retrieving a pointer, NULL is returned in case of mismatch.
Definition at line 71 of file wrapperptr.hpp.
ostream & operator<< | ( | ostream & | os, |
const Option & | to | ||
) |
for outputting the help messages.
Forward accumulated help messages from all contained option definitions
Definition at line 160 of file option.cpp.
|
inline |
Check the lumiera error state, which maybe was set by C-code.
Errorflag | exception to signal an detected lumiera error |
Definition at line 242 of file error.hpp.
References lumiera_error().
Referenced by CommandUse2_test::check_DispatcherInvocation().
|
inline |
Check the lumiera error state and throw a specific exception in case a non-cleared errorflag is detected.
No-op else.
instance | of the lumiera::Error subclass provided as template parameter, containing an lumiera::error::Flag as root cause to denote the detected error-flag state. |
Definition at line 258 of file error.hpp.
References lumiera_error().
Referenced by Result< void >::Result(), and Result< TAR &>::Result().
const char* ON_GLOBAL_INIT |
const char* ON_GLOBAL_SHUTDOWN |
to be triggered at the end of main()
Referenced by main(), AppState::maybeWait(), and LifecycleHook::trigger().