The Battle for Wesnoth  1.15.1+dev
Public Types | Public Member Functions | Private Attributes | List of all members
progressive_base< T, D > Class Template Referenceabstract

#include <frame_private.hpp>

Public Types

using data_t = std::vector< std::pair< D, int > >
 

Public Member Functions

 progressive_base (const std::string &input)
 
virtual const T get_current_element (int current_time, T default_val) const =0
 
virtual bool does_not_change () const
 
int duration () const
 
std::string get_original () const
 
data_tdata ()
 
const data_tdata () const
 
virtual ~progressive_base ()
 

Private Attributes

data_t data_
 
std::string input_
 

Detailed Description

template<typename T, typename D>
class progressive_base< T, D >

Definition at line 26 of file frame_private.hpp.

Member Typedef Documentation

◆ data_t

template<typename T, typename D>
using progressive_base< T, D >::data_t = std::vector<std::pair<D, int> >

Definition at line 29 of file frame_private.hpp.

Constructor & Destructor Documentation

◆ progressive_base()

template<typename T, typename D>
progressive_base< T, D >::progressive_base ( const std::string &  input)
inline

Definition at line 31 of file frame_private.hpp.

◆ ~progressive_base()

template<typename T, typename D>
virtual progressive_base< T, D >::~progressive_base ( )
inlinevirtual

Definition at line 68 of file frame_private.hpp.

Member Function Documentation

◆ data() [1/2]

template<typename T, typename D>
data_t& progressive_base< T, D >::data ( )
inline

Definition at line 58 of file frame_private.hpp.

◆ data() [2/2]

template<typename T, typename D>
const data_t& progressive_base< T, D >::data ( ) const
inline

Definition at line 63 of file frame_private.hpp.

◆ does_not_change()

template<typename T, typename D>
virtual bool progressive_base< T, D >::does_not_change ( ) const
inlinevirtual

◆ duration()

template<typename T, typename D>
int progressive_base< T, D >::duration ( ) const
inline

Definition at line 43 of file frame_private.hpp.

◆ get_current_element()

template<typename T, typename D>
virtual const T progressive_base< T, D >::get_current_element ( int  current_time,
default_val 
) const
pure virtual

◆ get_original()

template<typename T, typename D>
std::string progressive_base< T, D >::get_original ( ) const
inline

Member Data Documentation

◆ data_

template<typename T, typename D>
data_t progressive_base< T, D >::data_
private

Definition at line 71 of file frame_private.hpp.

◆ input_

template<typename T, typename D>
std::string progressive_base< T, D >::input_
private

Definition at line 72 of file frame_private.hpp.


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