#include <ProjectWindows.h>
|
| | AttachedWindows (AudacityProject &project) |
| |
| | operator AudacityProject & () const |
| |
| | ~Site () |
| |
| | Site () |
| |
| | Site (const Site &other) |
| |
| | Site (Site &&other) |
| |
| Site & | operator= (const Site &other) |
| |
| Site & | operator= (Site &&other) |
| |
| size_t | size () const |
| | How many attachment pointers are in the Site. More...
|
| |
| Subclass & | Get (const RegisteredFactory &key) |
| | Get reference to an attachment, creating on demand if not present, down-cast it to Subclass. More...
|
| |
| auto | Get (const RegisteredFactory &key) const -> std::enable_if_t< std::is_const< Subclass >::value, Subclass & > |
| | Get reference to an attachment, creating on demand if not present, down-cast it to Subclass. More...
|
| |
| Subclass * | Find (const RegisteredFactory &key) |
| | Get a (bare) pointer to an attachment, or null, down-cast it to Subclass *; will not create on demand. More...
|
| |
| auto | Find (const RegisteredFactory &key) const -> std::enable_if_t< std::is_const< Subclass >::value, Subclass * > |
| | Get a (bare) pointer to an attachment, or null, down-cast it to Subclass *; will not create on demand. More...
|
| |
| void | Assign (const RegisteredFactory &key, ReplacementPointer &&replacement) |
| | Reassign Site's pointer to ClientData. More...
|
| |
|
| using | DataType = wxWindow |
| |
| using | DataPointer = ClientData::BarePtr< wxWindow > |
| |
| using | DataFactory = std::function< DataPointer(AttachedWindows &) > |
| | Type of function from which RegisteredFactory is constructed; it builds attachments. More...
|
| |
| static size_t | numFactories () |
| | How many static factories have been registered with this specialization of Site. More...
|
| |
| void | ForEach (const Function &function) |
| | Invoke function on each ClientData object that has been created in this. More...
|
| |
| void | ForEach (const Function &function) const |
| | Invoke function on each ClientData object that has been created in this. More...
|
| |
| void | ForCorresponding (Site &other, const Function &function, bool create=true) |
| |
| wxWindow * | FindIf (const Function &function) |
| | Return pointer to first attachment in this that is not null and satisfies a predicate, or nullptr. More...
|
| |
| const wxWindow * | FindIf (const Function &function) const |
| | Return pointer to first attachment in this that is not null and satisfies a predicate, or nullptr. More...
|
| |
| void | EraseIf (const Function &function) |
| | Erase attached objects satisfying a predicate. More...
|
| |
| void | BuildAll () |
| | For each RegisteredFactory, if the corresponding attachment is absent in this, build and store it. More...
|
| |
Definition at line 48 of file ProjectWindows.h.
◆ AttachedWindows()
◆ operator AudacityProject &()
◆ mProject
The documentation for this class was generated from the following file: