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

#include <frame_private.hpp>

Inheritance diagram for progressive_pair< T >:

Public Member Functions

 progressive_pair (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
 
bool does_not_change () const override
 
- Public Member Functions inherited from progressive_base< T, std::pair< T, T > >
 progressive_base (const std::string &input)
 
std::chrono::milliseconds duration () const
 
std::string get_original () const
 
data_tdata ()
 
const data_tdata () const
 
virtual ~progressive_base ()
 

Private Types

using progressive_pair_base_type = progressive_base< T, std::pair< T, T > >
 

Additional Inherited Members

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

Detailed Description

template<typename T>
class progressive_pair< T >

Definition at line 78 of file frame_private.hpp.

Member Typedef Documentation

◆ progressive_pair_base_type

template<typename T >
using progressive_pair< T >::progressive_pair_base_type = progressive_base<T, std::pair<T, T> >
private

Definition at line 150 of file frame_private.hpp.

Constructor & Destructor Documentation

◆ progressive_pair()

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

Definition at line 81 of file frame_private.hpp.

Member Function Documentation

◆ does_not_change()

template<typename T >
bool progressive_pair< T >::does_not_change ( ) const
inlineoverridevirtual

Reimplemented from progressive_base< T, std::pair< T, T > >.

Definition at line 143 of file frame_private.hpp.

References data.

Referenced by frame_parsed_parameters::does_not_change().

◆ get_current_element()

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

Implements progressive_base< T, std::pair< T, T > >.

Definition at line 111 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: