#include <bn_affine_bg_animate_actions.h>
template<int MaxSize>
affine_bg_cached_animate_action class
Changes the map of an affine_
Template parameters | |
---|---|
MaxSize | Maximum number of maps to store. |
This action differs from affine_
Base classes
- class iaffine_bg_cached_animate_action
- Base class of bn::
affine_bg_cached_animate_action.
Public static functions
-
static auto once(const affine_
bg_ ptr& affine_bg, int wait_updates, const affine_ bg_ map_ item& map_item, const span<const uint16_t>& map_indexes) -> affine_ bg_ cached_ animate_ action - Generates an affine_
bg_ cached_ animate_ action which loops over the given affine_bg maps only once. -
static auto once(affine_
bg_ ptr&& affine_bg, int wait_updates, const affine_ bg_ map_ item& map_item, const span<const uint16_t>& map_indexes) -> affine_ bg_ cached_ animate_ action - Generates an affine_
bg_ cached_ animate_ action which loops over the given affine_bg maps only once. -
static auto once(const affine_
bg_ ptr& affine_bg, int wait_updates, span<affine_ bg_ map_ ptr> maps) -> affine_ bg_ cached_ animate_ action - Generates an affine_
bg_ cached_ animate_ action which loops over the given affine_bg maps only once. -
static auto once(affine_
bg_ ptr&& affine_bg, int wait_updates, span<affine_ bg_ map_ ptr> maps) -> affine_ bg_ cached_ animate_ action - Generates an affine_
bg_ cached_ animate_ action which loops over the given affine_bg maps only once. -
static auto forever(const affine_
bg_ ptr& affine_bg, int wait_updates, const affine_ bg_ map_ item& map_item, const span<const uint16_t>& map_indexes) -> affine_ bg_ cached_ animate_ action - Generates an affine_
bg_ cached_ animate_ action which loops over the given affine_bg maps forever. -
static auto forever(affine_
bg_ ptr&& affine_bg, int wait_updates, const affine_ bg_ map_ item& map_item, const span<const uint16_t>& map_indexes) -> affine_ bg_ cached_ animate_ action - Generates an affine_
bg_ cached_ animate_ action which loops over the given affine_bg maps forever. -
static auto forever(const affine_
bg_ ptr& affine_bg, int wait_updates, span<affine_ bg_ map_ ptr> maps) -> affine_ bg_ cached_ animate_ action - Generates an affine_
bg_ cached_ animate_ action which loops over the given affine_bg maps forever. -
static auto forever(affine_
bg_ ptr&& affine_bg, int wait_updates, span<affine_ bg_ map_ ptr> maps) -> affine_ bg_ cached_ animate_ action - Generates an affine_
bg_ cached_ animate_ action which loops over the given affine_bg maps forever.
Constructors, destructors, conversion operators
-
affine_bg_cached_animate_action(const affine_
bg_ cached_ animate_ action& other) - Copy constructor.
-
affine_bg_cached_animate_action(affine_
bg_ cached_ animate_ action&& other) noexcept - Move constructor.
-
affine_bg_cached_animate_action(const iaffine_
bg_ cached_ animate_ action& other) - Copy constructor.
Public functions
-
auto operator=(const affine_
bg_ cached_ animate_ action& other) -> affine_ bg_ cached_ animate_ action& - Copy assignment operator.
-
auto operator=(affine_
bg_ cached_ animate_ action&& other) -> affine_ bg_ cached_ animate_ action& noexcept - Move assignment operator.
-
auto operator=(const iaffine_
bg_ cached_ animate_ action& other) -> affine_ bg_ cached_ animate_ action& - Copy assignment operator.
-
auto operator=(iaffine_
bg_ cached_ animate_ action&& other) -> affine_ bg_ cached_ animate_ action& noexcept - Move assignment operator.
Function documentation
template<int MaxSize>
static affine_ bg_ cached_ animate_ action bn:: affine_bg_cached_animate_action<MaxSize>:: once(const affine_ bg_ ptr& affine_bg,
int wait_updates,
const affine_ bg_ map_ item& map_item,
const span<const uint16_t>& map_indexes)
Generates an affine_
Parameters | |
---|---|
affine_bg | affine_ |
wait_updates | Number of times the action must be updated before changing the map of the given affine_ |
map_item | It creates the new map to use by the given affine_ |
map_indexes | Indexes of the maps to reference in map_item. |
Returns | The requested affine_ |
template<int MaxSize>
static affine_ bg_ cached_ animate_ action bn:: affine_bg_cached_animate_action<MaxSize>:: once(affine_ bg_ ptr&& affine_bg,
int wait_updates,
const affine_ bg_ map_ item& map_item,
const span<const uint16_t>& map_indexes)
Generates an affine_
Parameters | |
---|---|
affine_bg | affine_ |
wait_updates | Number of times the action must be updated before changing the map of the given affine_ |
map_item | It creates the new map to use by the given affine_ |
map_indexes | Indexes of the maps to reference in the given affine_ |
Returns | The requested affine_ |
template<int MaxSize>
static affine_ bg_ cached_ animate_ action bn:: affine_bg_cached_animate_action<MaxSize>:: once(const affine_ bg_ ptr& affine_bg,
int wait_updates,
span<affine_ bg_ map_ ptr> maps)
Generates an affine_
Parameters | |
---|---|
affine_bg | affine_ |
wait_updates | Number of times the action must be updated before changing the map of the given affine_ |
maps | List of maps to use by the given affine_ |
Returns | The requested affine_ |
template<int MaxSize>
static affine_ bg_ cached_ animate_ action bn:: affine_bg_cached_animate_action<MaxSize>:: once(affine_ bg_ ptr&& affine_bg,
int wait_updates,
span<affine_ bg_ map_ ptr> maps)
Generates an affine_
Parameters | |
---|---|
affine_bg | affine_ |
wait_updates | Number of times the action must be updated before changing the map of the given affine_ |
maps | List of maps to use by the given affine_ |
Returns | The requested affine_ |
template<int MaxSize>
static affine_ bg_ cached_ animate_ action bn:: affine_bg_cached_animate_action<MaxSize>:: forever(const affine_ bg_ ptr& affine_bg,
int wait_updates,
const affine_ bg_ map_ item& map_item,
const span<const uint16_t>& map_indexes)
Generates an affine_
Parameters | |
---|---|
affine_bg | affine_ |
wait_updates | Number of times the action must be updated before changing the map of the given affine_ |
map_item | It creates the new map to use by the given affine_ |
map_indexes | Indexes of the maps to reference in map_item. |
Returns | The requested affine_ |
template<int MaxSize>
static affine_ bg_ cached_ animate_ action bn:: affine_bg_cached_animate_action<MaxSize>:: forever(affine_ bg_ ptr&& affine_bg,
int wait_updates,
const affine_ bg_ map_ item& map_item,
const span<const uint16_t>& map_indexes)
Generates an affine_
Parameters | |
---|---|
affine_bg | affine_ |
wait_updates | Number of times the action must be updated before changing the map of the given affine_ |
map_item | It creates the new map to use by the given affine_ |
map_indexes | Indexes of the maps to reference in the given affine_ |
Returns | The requested affine_ |
template<int MaxSize>
static affine_ bg_ cached_ animate_ action bn:: affine_bg_cached_animate_action<MaxSize>:: forever(const affine_ bg_ ptr& affine_bg,
int wait_updates,
span<affine_ bg_ map_ ptr> maps)
Generates an affine_
Parameters | |
---|---|
affine_bg | affine_ |
wait_updates | Number of times the action must be updated before changing the map of the given affine_ |
maps | List of maps to use by the given affine_ |
Returns | The requested affine_ |
template<int MaxSize>
static affine_ bg_ cached_ animate_ action bn:: affine_bg_cached_animate_action<MaxSize>:: forever(affine_ bg_ ptr&& affine_bg,
int wait_updates,
span<affine_ bg_ map_ ptr> maps)
Generates an affine_
Parameters | |
---|---|
affine_bg | affine_ |
wait_updates | Number of times the action must be updated before changing the map of the given affine_ |
maps | List of maps to use by the given affine_ |
Returns | The requested affine_ |
template<int MaxSize>
bn:: affine_bg_cached_animate_action<MaxSize>:: affine_bg_cached_animate_action(const affine_ bg_ cached_ animate_ action& other)
Copy constructor.
Parameters | |
---|---|
other | affine_ |
template<int MaxSize>
bn:: affine_bg_cached_animate_action<MaxSize>:: affine_bg_cached_animate_action(affine_ bg_ cached_ animate_ action&& other) noexcept
Move constructor.
Parameters | |
---|---|
other | affine_ |
template<int MaxSize>
bn:: affine_bg_cached_animate_action<MaxSize>:: affine_bg_cached_animate_action(const iaffine_ bg_ cached_ animate_ action& other)
Copy constructor.
Parameters | |
---|---|
other | iaffine_ |
template<int MaxSize>
affine_ bg_ cached_ animate_ action& bn:: affine_bg_cached_animate_action<MaxSize>:: operator=(const affine_ bg_ cached_ animate_ action& other)
Copy assignment operator.
Parameters | |
---|---|
other | affine_ |
Returns | Reference to this. |
template<int MaxSize>
affine_ bg_ cached_ animate_ action& bn:: affine_bg_cached_animate_action<MaxSize>:: operator=(affine_ bg_ cached_ animate_ action&& other) noexcept
Move assignment operator.
Parameters | |
---|---|
other | affine_ |
Returns | Reference to this. |
template<int MaxSize>
affine_ bg_ cached_ animate_ action& bn:: affine_bg_cached_animate_action<MaxSize>:: operator=(const iaffine_ bg_ cached_ animate_ action& other)
Copy assignment operator.
Parameters | |
---|---|
other | iaffine_ |
Returns | Reference to this. |
template<int MaxSize>
affine_ bg_ cached_ animate_ action& bn:: affine_bg_cached_animate_action<MaxSize>:: operator=(iaffine_ bg_ cached_ animate_ action&& other) noexcept
Move assignment operator.
Parameters | |
---|---|
other | ivector to move. |
Returns | Reference to this. |