SpecTreeSource

The reads that the spec workspace makes, as an interface.

Inherited By octomy::trove::workspace::StoreSpecTreeSource
Group libtrove

In the namespace octomy::trove::workspace. Declared in src/libs/libtrove/trove/workspace/SpecTreeSource.hpp.

Detailed description

SpecTreeModel and SpecAggregateModel read through this interface and not through SpecStore. Two reasons:

  • A view loads one window at a time. Each read here is a list that is short by nature (specs, sections), a count, a rollup, or one window of work units. No read returns a whole section.
  • The scale cases of trove-parts §TPT-5 put a model over one million work units. A synthetic source answers them with no database, as testDefinitionPickerScale does for the definition picker.

StoreSpecTreeSource is the production source. It reads a SpecStore.

See also StoreSpecTreeSource, SpecTreeModel, SpecAggregateModel.

In this section