The Battle for Wesnoth  1.15.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 33 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 36 of file lua_audio.cpp.

Referenced by push_track().

◆ lua_music_track() [2/2]

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

Definition at line 37 of file lua_audio.cpp.

Member Function Documentation

◆ operator*() [1/2]

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

Definition at line 41 of file lua_audio.cpp.

References track.

◆ operator*() [2/2]

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

Definition at line 44 of file lua_audio.cpp.

References track.

◆ operator->() [1/2]

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

Definition at line 47 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 50 of file lua_audio.cpp.

References track.

◆ valid()

bool lua_music_track::valid ( ) const
inline

Definition at line 38 of file lua_audio.cpp.

Referenced by impl_track_eq(), 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 34 of file lua_audio.cpp.

Referenced by impl_music_set(), impl_track_get(), impl_track_set(), operator*(), and operator->().


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