The Battle for Wesnoth  1.19.5+dev
Public Member Functions | Private Types | List of all members
progressive_single< T > Class Template Reference

#include <frame_private.hpp>

Inheritance diagram for progressive_single< T >:

Public Member Functions

 progressive_single (const std::string &input="", const std::chrono::milliseconds &duration=std::chrono::milliseconds{0})
 
virtual const T get_current_element (const std::chrono::milliseconds &current_time, T default_val=T()) const override
 
- Public Member Functions inherited from progressive_base< T, T >
 progressive_base (const std::string &input)
 
virtual bool does_not_change () const
 
std::chrono::milliseconds duration () const
 
std::string get_original () const
 
data_tdata ()
 
const data_tdata () const
 
virtual ~progressive_base ()
 

Private Types

using progressive_single_base_type = progressive_base< T, T >
 

Additional Inherited Members

- Public Types inherited from progressive_base< T, T >
using data_t = std::vector< std::pair< T, std::chrono::milliseconds > >
 

Detailed Description

template<typename T>
class progressive_single< T >

Definition at line 154 of file frame_private.hpp.

Member Typedef Documentation

◆ progressive_single_base_type

template<typename T >
using progressive_single< T >::progressive_single_base_type = progressive_base<T, T>
private

Definition at line 228 of file frame_private.hpp.

Constructor & Destructor Documentation

◆ progressive_single()

template<typename T >
progressive_single< T >::progressive_single ( const std::string &  input = "",
const std::chrono::milliseconds &  duration = std::chrono::milliseconds{0} 
)
inline

Definition at line 157 of file frame_private.hpp.

Member Function Documentation

◆ get_current_element()

template<typename T >
virtual const T progressive_single< T >::get_current_element ( const std::chrono::milliseconds &  current_time,
default_val = T() 
) const
inlineoverridevirtual

Implements progressive_base< T, T >.

Definition at line 201 of file frame_private.hpp.

References data, and i.

Referenced by frame_parsed_parameters::parameters().


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