The Battle for Wesnoth  1.19.1+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="", int duration=0)
virtual const T get_current_element (int 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
int 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, int > >

Detailed Description

template<typename T>
class progressive_single< T >

Definition at line 152 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>

Definition at line 220 of file frame_private.hpp.

Constructor & Destructor Documentation

◆ progressive_single()

template<typename T >
progressive_single< T >::progressive_single ( const std::string &  input = "",
int  duration = 0 

Member Function Documentation

◆ get_current_element()

template<typename T >
virtual const T progressive_single< T >::get_current_element ( int  current_time,
default_val = T() 
) const

Implements progressive_base< T, T >.

Definition at line 195 of file frame_private.hpp.

References progressive_base< T, T >::data(), and i.

Referenced by frame_parsed_parameters::parameters().

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