score::GenericComponent< System_T > Class Template Reference

A component that has a reference to a specific context object. More...

Inheritance diagram for score::GenericComponent< System_T >:
score::Component Execution::EventComponent Execution::StateComponentBase Execution::TimeSyncComponent

Detailed Description

template<typename System_T>
class score::GenericComponent< System_T >

A component that has a reference to a specific context object.

For instance if all components need to refer to a given DocumentPlugin instance, one can inherit from this class.

Public Member Functions

template<typename... Args>
 GenericComponent (System_T &sys, Args &&... args) noexcept
 
System_T & system () const noexcept
 
- Public Member Functions inherited from score::Component
 Component (QObject *parent)
 
 Component (const QString &name, QObject *parent)
 
virtual UuidKey< score::Componentkey () const noexcept=0
 
virtual bool key_match (UuidKey< score::Component > other) const noexcept=0
 

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