The Battle for Wesnoth  1.19.0-dev
Public Member Functions | Private Attributes | List of all members
lua_music_track Class Reference

Public Member Functions

 lua_music_track (int i)
 
 lua_music_track (std::shared_ptr< sound::music_track > new_track)
 
bool valid () const
 
sound::music_trackoperator* ()
 
const sound::music_trackoperator* () const
 
std::shared_ptr< sound::music_trackoperator-> ()
 
std::shared_ptr< const sound::music_trackoperator-> () const
 

Private Attributes

std::shared_ptr< sound::music_tracktrack
 

Detailed Description

Definition at line 35 of file lua_audio.cpp.

Constructor & Destructor Documentation

◆ lua_music_track() [1/2]

lua_music_track::lua_music_track ( int  i)
inlineexplicit

Definition at line 38 of file lua_audio.cpp.

◆ lua_music_track() [2/2]

lua_music_track::lua_music_track ( std::shared_ptr< sound::music_track new_track)
inlineexplicit

Definition at line 39 of file lua_audio.cpp.

Member Function Documentation

◆ operator*() [1/2]

sound::music_track& lua_music_track::operator* ( )
inline

Definition at line 43 of file lua_audio.cpp.

References track.

◆ operator*() [2/2]

const sound::music_track& lua_music_track::operator* ( ) const
inline

Definition at line 46 of file lua_audio.cpp.

References track.

◆ operator->() [1/2]

std::shared_ptr<sound::music_track> lua_music_track::operator-> ( )
inline

Definition at line 49 of file lua_audio.cpp.

References track.

◆ operator->() [2/2]

std::shared_ptr<const sound::music_track> lua_music_track::operator-> ( ) const
inline

Definition at line 52 of file lua_audio.cpp.

References track.

◆ valid()

bool lua_music_track::valid ( ) const
inline

Definition at line 40 of file lua_audio.cpp.

References track.

Referenced by impl_track_get(), and impl_track_set().

Member Data Documentation

◆ track

std::shared_ptr<sound::music_track> lua_music_track::track
private

Definition at line 36 of file lua_audio.cpp.

Referenced by operator*(), operator->(), and valid().


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