Wayverb
wayverb::combined::model::capsule Class Referencefinal
Inheritance diagram for wayverb::combined::model::capsule:
wayverb::combined::model::owning_member< capsule, microphone, hrtf > wayverb::combined::model::basic_member< capsule >

Public Types

enum  mode { microphone = 1, hrtf }
 
using microphone_t = class microphone
 
using hrtf_t = class hrtf
 
- Public Types inherited from wayverb::combined::model::owning_member< capsule, microphone, hrtf >
using derived_type = capsule
 
using base_type = owning_member< capsule, DataMembers... >
 
- Public Types inherited from wayverb::combined::model::basic_member< capsule >
using derived_type = capsule
 
using base_type = basic_member< capsule >
 
using on_change = util::event< capsule & >
 
using connection = typename on_change::connection
 
using scoped_connection = typename on_change::scoped_connection
 
using callback_type = typename on_change::callback_type
 

Public Member Functions

 capsule (std::string name="new capsule", mode mode=mode::microphone, microphone_t microphone=microphone_t{}, hrtf_t hrtf=hrtf_t{})
 
 capsule (std::string name, microphone_t)
 
 capsule (std::string name, hrtf_t)
 
void set_name (std::string name)
 
std::string get_name () const
 
void set_mode (mode mode)
 
mode get_mode () const
 
template<typename Archive >
void serialize (Archive &archive)
 
const auto & microphone () const
 
auto & microphone ()
 
const auto & hrtf () const
 
auto & hrtf ()
 
template<typename Archive >
void serialize (Archive &archive)
 
- Public Member Functions inherited from wayverb::combined::model::owning_member< capsule, microphone, hrtf >
 owning_member ()
 
 owning_member (const DataMembers &...data_members)
 
 owning_member (const owning_member &other)
 
owning_memberoperator= (const owning_member &other)
 
void serialize (Archive &archive)
 
bool operator== (const owning_member &other) const
 
bool operator!= (const owning_member &other) const
 
- Public Member Functions inherited from wayverb::combined::model::basic_member< capsule >
 basic_member (const basic_member &)
 
basic_memberoperator= (const basic_member &)
 
connection connect (callback_type t)
 
void notify ()
 
size_t connections () const
 

Additional Inherited Members

- Protected Member Functions inherited from wayverb::combined::model::owning_member< capsule, microphone, hrtf >
const auto & get () const &
 
auto & get ()&
 
const auto & get () const &
 
auto & get ()&
 

The documentation for this class was generated from the following files: