Trax3 3.1.0
trax track library
Loading...
Searching...
No Matches
SignalCollection.h
1// trax track library
2// AD 2014
3//
4// "the resolution of all the fruitless searches"
5//
6// Peter Gabriel
7//
8// Copyright (c) 2025 Trend Redaktions- und Verlagsgesellschaft mbH
9// Copyright (c) 2019 Marc-Michael Horstmann
10//
11// Permission is hereby granted to any person obtaining a copy of this software
12// and associated source code (the "Software"), to use, view, and study the
13// Software for personal or internal business purposes, subject to the following
14// conditions:
15//
16// 1. Redistribution, modification, sublicensing, or commercial use of the
17// Software is NOT permitted without prior written consent from the copyright
18// holder.
19//
20// 2. The Software is provided "AS IS", without warranty of any kind, express
21// or implied.
22//
23// 3. All copies of the Software must retain this license notice.
24//
25// For further information, please contact: horstmann.marc@trendverlag.de
26
27#pragma once
28
29#include "trax/Signal.h"
30#include "Collection.h"
31#include "CollectionDecorator.h"
32
33namespace trax{
34
36 struct SignalCollection : Collection<SignalCollection,Signal>{
37
39 static dclspc std::unique_ptr<SignalCollection> Make() noexcept;
40 };
41
42
50 public:
53
54
57 SignalCollectionDecorator( std::unique_ptr<SignalCollection> pSignalCollection )
58 : CollectionDecorator<Decorator<SignalCollection>>(std::move(pSignalCollection))
59 {}
60 };
61}
CollectionDecorator(std::shared_ptr< InterfaceType > pComponent)
Definition CollectionDecorator.h:58
The base for decorator implementations. Needed as BaseDecorator to combine other decorator implemente...
Definition ObjectIDDecorator.h:27
SignalCollectionDecorator(std::unique_ptr< SignalCollection > pSignalCollection)
Constructs the decorator.
Definition SignalCollection.h:57
SignalCollection ComponentType
Type of the decoree.
Definition SignalCollection.h:52
STL namespace.
Namespace of all the trax track libraries classes and methods.
Definition Collection.h:17
Collection to hold a set of Signal objects.
Definition SignalCollection.h:36
static dclspc std::unique_ptr< SignalCollection > Make() noexcept
Makes a SignalCollection object.