Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::authoring_capsule::ProfileRegistry Class Reference

#include <profile_registry.hpp>

Public Member Functions

 ProfileRegistry ()
 ~ProfileRegistry ()
 ProfileRegistry (ProfileRegistry &&) noexcept
ProfileRegistry & operator= (ProfileRegistry &&) noexcept
void register_profile (std::shared_ptr< ProfileValidator > validator)
const ProfileValidator * find (std::string_view profile_id) const noexcept
 Null when the profile is not registered here.
std::vector< std::string > registered_profiles () const

Constructor & Destructor Documentation

◆ ProfileRegistry() [1/2]

pulp::authoring_capsule::ProfileRegistry::ProfileRegistry ( )

◆ ~ProfileRegistry()

pulp::authoring_capsule::ProfileRegistry::~ProfileRegistry ( )

◆ ProfileRegistry() [2/2]

pulp::authoring_capsule::ProfileRegistry::ProfileRegistry ( ProfileRegistry && )
noexcept

Member Function Documentation

◆ find()

const ProfileValidator * pulp::authoring_capsule::ProfileRegistry::find ( std::string_view profile_id) const
noexcept

Null when the profile is not registered here.

The caller turns that into unsupported_profile naming the exact identifier, so a product can offer the right download instead of failing generically.

◆ operator=()

ProfileRegistry & pulp::authoring_capsule::ProfileRegistry::operator= ( ProfileRegistry && )
noexcept

◆ register_profile()

void pulp::authoring_capsule::ProfileRegistry::register_profile ( std::shared_ptr< ProfileValidator > validator)

◆ registered_profiles()

std::vector< std::string > pulp::authoring_capsule::ProfileRegistry::registered_profiles ( ) const

The documentation for this class was generated from the following file:
  • /home/runner/work/pulp/pulp/core/authoring_capsule/include/pulp/authoring_capsule/profile_registry.hpp