tec::SoundSystem
#include <sound-system.hpp>
Inherits from tec::CommandQueue< SoundSystem >, tec::EventQueue< EntityCreated >, tec::EventQueue< EntityDestroyed >
Public Functions
| Name | |
|---|---|
| SoundSystem() | |
| ~SoundSystem() | |
| void | Update() |
| void | SetDelta(const double _delta) |
| void | Stop() |
| virtual void | On(eid , std::shared_ptr< EntityCreated > data) override |
| virtual void | On(eid , std::shared_ptr< EntityDestroyed > data) override |
Additional inherited members
Public Functions inherited from tec::CommandQueue< SoundSystem >
| Name | |
|---|---|
| CommandQueue() | |
| ~CommandQueue() | |
| void | ProcessCommandQueue() |
| void | QueueCommand(Command< T > && command) |
| void | QueueCommand(std::function< void(T *)> && command) |
Protected Attributes inherited from tec::CommandQueue< SoundSystem >
| Name | |
|---|---|
| std::atomic< std::queue< Command< T > > * > | global_command_queue |
| std::queue< Command< T > > * | local_queue |
Public Functions inherited from tec::EventQueue< EntityCreated >
| Name | |
|---|---|
| EventQueue() | |
| EventQueue(eid entity_id) | |
| virtual | ~EventQueue() |
| void | ProcessEventQueue() |
| void | QueueEvent(Event< T > && e) |
Protected Attributes inherited from tec::EventQueue< EntityCreated >
| Name | |
|---|---|
| Queue< Event< T > > * | read_event_queue |
| std::atomic< Queue< Event< T > > * > | write_event_queue |
Public Functions inherited from tec::EventQueue< EntityDestroyed >
| Name | |
|---|---|
| EventQueue() | |
| EventQueue(eid entity_id) | |
| virtual | ~EventQueue() |
| void | ProcessEventQueue() |
| void | QueueEvent(Event< T > && e) |
Protected Attributes inherited from tec::EventQueue< EntityDestroyed >
| Name | |
|---|---|
| Queue< Event< T > > * | read_event_queue |
| std::atomic< Queue< Event< T > > * > | write_event_queue |
Public Functions Documentation
function SoundSystem
SoundSystem()
function ~SoundSystem
~SoundSystem()
function Update
void Update()
function SetDelta
inline void SetDelta(
const double _delta
)
function Stop
inline void Stop()
function On
virtual void On(
eid ,
std::shared_ptr< EntityCreated > data
) override
Reimplements: tec::EventQueue::On
function On
virtual void On(
eid ,
std::shared_ptr< EntityDestroyed > data
) override
Reimplements: tec::EventQueue::On
Updated on 2022-07-24 at 19:27:35 +0000