Wayverb
wayverb::combined::model::source Class Referencefinal
Inheritance diagram for wayverb::combined::model::source:
wayverb::combined::model::owning_member< source, hover_state > wayverb::combined::model::basic_member< source >

Public Types

using hover_state_t = class hover_state
 
- Public Types inherited from wayverb::combined::model::owning_member< source, hover_state >
using derived_type = source
 
using base_type = owning_member< source, DataMembers... >
 
- Public Types inherited from wayverb::combined::model::basic_member< source >
using derived_type = source
 
using base_type = basic_member< source >
 
using on_change = util::event< source & >
 
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

 source (std::string name="new source", glm::vec3 position=glm::vec3{0})
 
void set_name (std::string name)
 
std::string get_name () const
 
void set_position (const glm::vec3 &position)
 
glm::vec3 get_position () const
 
const auto & hover_state () const
 
auto & hover_state ()
 
template<typename Archive >
void serialize (Archive &archive)
 
- Public Member Functions inherited from wayverb::combined::model::owning_member< source, hover_state >
 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< source >
 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< source, hover_state >
const auto & get () const &
 
auto & get ()&
 
const auto & get () const &
 
auto & get ()&
 

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