JUCE: RuleBasedTopologySource::Rule Struct Reference

JUCE

Public Member Functions | List of all members
RuleBasedTopologySource::Rule Struct Referenceabstract

A rule that can transform parts of a topology. More...

## Public Member Functions
virtual | ~Rule ()=default
virtual void | transformTopology (BlockTopology &)=0
| Subclasses should implement this method and use it as their opportunity to examine the given topology and modify it. More...

## Detailed Description

A rule that can transform parts of a topology.

## Constructor & Destructor Documentation

## ◆ ~Rule()

virtual RuleBasedTopologySource::Rule::~Rule | ( |  | ) |
| virtualdefault

## Member Function Documentation

## ◆ transformTopology()

virtual void RuleBasedTopologySource::Rule::transformTopology | ( | BlockTopology & |  | ) |
| pure virtual

Subclasses should implement this method and use it as their opportunity to examine the given topology and modify it.

For example they may want to substitute one or more blocks for more specialised, aggregated Block objects.

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

- juce_RuleBasedTopologySource.h