LocalTree Namespace Reference

Local tree provides a way to extend the tree given through the Engine::Network::LocalDevice. More...

Detailed Description

Local tree provides a way to extend the tree given through the Engine::Network::LocalDevice.

It is a device tree used to access to score's internal data structures from the outside, or use it in automations, etc.

For instance, it allows to do conditions based on the advancement of each Scenario::IntervalModel.

It is possible to extend the tree for Process::ProcessModels, or other polymorphic types.

Classes

class  BaseCallbackWrapper
 
struct  BaseProperty
 
struct  GetPropertyWrapper
 
class  Component
 
class  MetadataNamePropertyWrapper
 
struct  PropertyWrapper
 
struct  SetPropertyWrapper
 
class  ProcessComponent
 
class  ProcessComponentFactory
 
class  ProcessComponentFactory_T
 
class  ProcessComponentFactoryList
 
class  AutomationComponent
 
class  DocumentPlugin
 
class  MappingComponent
 
class  Event
 
class  IntervalBase
 
class  Interval
 
class  DefaultProcessComponent
 
class  ScenarioComponentBase
 
class  State
 
class  TimeSync
 

Typedefs

using CommonComponent = Component< score::GenericComponent< const score::DocumentContext > >
 
template<typename T >
using qt_property_converter_T = ossia::qt_property_converter< std::remove_const_t< std::remove_reference_t< T > >>
 
template<typename Process_T >
using ProcessComponent_T = Process::GenericProcessComponent_T< ProcessComponent, Process_T >
 
using AutomationComponentFactory = ProcessComponentFactory_T< AutomationComponent >
 
using MappingComponentFactory = ProcessComponentFactory_T< MappingComponent >
 
using ScenarioComponent = HierarchicalScenarioComponent< ScenarioComponentBase, Scenario::ProcessModel, Interval, Event, TimeSync, State >
 
using ScenarioComponentFactory = LocalTree::ProcessComponentFactory_T< ScenarioComponent >
 

Functions

template<typename Property , typename Object >
auto add_getProperty (ossia::net::node_base &n, Object &obj, QObject *context)
 
template<typename Property , typename Object >
auto add_property (ossia::net::node_base &n, Object &obj, QObject *context)
 
template<typename Property , typename Object >
auto add_property (ossia::net::node_base &n, Object &obj, const std::string &name, QObject *context)
 
template<typename T , typename Callback >
auto make_setProperty (ossia::net::parameter_base &addr, Callback prop)
 
template<typename T , typename Callback >
auto add_setProperty (ossia::net::node_base &n, const std::string &name, Callback cb)
 
Device::DeviceSettings defaultSettings (const score::DocumentContext &ctx)
 
template<typename Property , typename Object >
auto add_value_property (ossia::net::node_base &n, Object &obj, const std::string &name, QObject *context)
 
template<>
IntervalScenarioComponentBase::make< Interval, Scenario::IntervalModel > (Scenario::IntervalModel &elt)
 
template<>
EventScenarioComponentBase::make< Event, Scenario::EventModel > (Scenario::EventModel &elt)
 
template<>
TimeSyncScenarioComponentBase::make< TimeSync, Scenario::TimeSyncModel > (Scenario::TimeSyncModel &elt)
 
template<>
StateScenarioComponentBase::make< State, Scenario::StateModel > (Scenario::StateModel &elt)