Sound Bakery  v0.1.0
Open-source audio middleware for games
Loading...
Searching...
No Matches
sbk::engine::node_instance_fsm Struct Reference
Inheritance diagram for sbk::engine::node_instance_fsm:
Collaboration diagram for sbk::engine::node_instance_fsm:

Classes

struct  action_update
 
struct  state_init
 
struct  state_playing
 
struct  state_stopped
 
struct  state_uninit
 
struct  state_virtual
 
struct  transition_table
 

Public Types

typedef state_uninit initial_state
 

Public Member Functions

auto action_init (const event_init &init) -> void
 
auto action_play (const event_play &play) -> void
 
auto action_pause (const event_pause &pause) -> void
 
auto action_stop (const event_stop &stop) -> void
 
auto action_virtualise (const event_virtualise &virtualise) -> void
 
auto action_devirtualise (const event_devirtualise &devirtualise) -> void
 
auto guard_init (const event_init &init) -> bool
 
void init_parent ()
 
void init_child ()
 
auto init_node_group (const event_init &init) -> sb_result
 
void init_callbacks ()
 
auto set_volume (float oldVolume, float newVolume) -> void
 
auto set_pitch (float oldPitch, float newPitch) -> void
 
auto set_lowpass (float oldLowpass, float newLowpass) -> void
 
auto set_highpass (float oldHighpass, float newHighpass) -> void
 

Static Public Member Functions

static auto add_dsp_to_node_group (sc_node_group *nodeGroup, sc_dsp **dsp, const sc_dsp_config &config) -> sb_result
 

Public Attributes

std::shared_ptr< nodem_referencingNode
 
class sbk::engine::node_instancem_owner = nullptr
 
sbk::engine::game_objectm_gameObject = nullptr
 
node_group_instance m_nodeGroup
 
std::shared_ptr< node_instancem_parent
 
std::vector< std::shared_ptr< node_instance > > m_children
 
std::unique_ptr< sc_sound_instance, SC_SOUND_INSTANCE_DELETERm_soundInstance
 
unsigned int m_numTimesPlayed = 0
 

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