#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_ & affine_bg, int wait_updates, const affine_ptr bg_ & map_item, const span<const uint16_t>& map_indexes) -> affine_map_ item bg_ cached_ animate_ action - Generates an affine_
bg_ which loops over the given affine_bg maps only once.cached_ animate_ action -
static auto once(affine_
bg_ && affine_bg, int wait_updates, const affine_ptr bg_ & map_item, const span<const uint16_t>& map_indexes) -> affine_map_ item bg_ cached_ animate_ action - Generates an affine_
bg_ which loops over the given affine_bg maps only once.cached_ animate_ action -
static auto once(const affine_
bg_ & affine_bg, int wait_updates, span<affine_ptr bg_ > maps) -> affine_map_ ptr bg_ cached_ animate_ action - Generates an affine_
bg_ which loops over the given affine_bg maps only once.cached_ animate_ action -
static auto once(affine_
bg_ && affine_bg, int wait_updates, span<affine_ptr bg_ > maps) -> affine_map_ ptr bg_ cached_ animate_ action - Generates an affine_
bg_ which loops over the given affine_bg maps only once.cached_ animate_ action -
static auto forever(const affine_
bg_ & affine_bg, int wait_updates, const affine_ptr bg_ & map_item, const span<const uint16_t>& map_indexes) -> affine_map_ item bg_ cached_ animate_ action - Generates an affine_
bg_ which loops over the given affine_bg maps forever.cached_ animate_ action -
static auto forever(affine_
bg_ && affine_bg, int wait_updates, const affine_ptr bg_ & map_item, const span<const uint16_t>& map_indexes) -> affine_map_ item bg_ cached_ animate_ action - Generates an affine_
bg_ which loops over the given affine_bg maps forever.cached_ animate_ action -
static auto forever(const affine_
bg_ & affine_bg, int wait_updates, span<affine_ptr bg_ > maps) -> affine_map_ ptr bg_ cached_ animate_ action - Generates an affine_
bg_ which loops over the given affine_bg maps forever.cached_ animate_ action -
static auto forever(affine_
bg_ && affine_bg, int wait_updates, span<affine_ptr bg_ > maps) -> affine_map_ ptr bg_ cached_ animate_ action - Generates an affine_
bg_ which loops over the given affine_bg maps forever.cached_ animate_ action
Constructors, destructors, conversion operators
-
affine_bg_cached_animate_action(const affine_
bg_ & other)cached_ animate_ action - Copy constructor.
-
affine_bg_cached_animate_action(affine_
bg_ && other) noexceptcached_ animate_ action - Move constructor.
-
affine_bg_cached_animate_action(const iaffine_
bg_ & other)cached_ animate_ action - Copy constructor.
Public functions
-
auto operator=(const affine_
bg_ & other) -> affine_cached_ animate_ action bg_ &cached_ animate_ action - Copy assignment operator.
-
auto operator=(affine_
bg_ && other) -> affine_cached_ animate_ action bg_ & noexceptcached_ animate_ action - Move assignment operator.
-
auto operator=(const iaffine_
bg_ & other) -> affine_cached_ animate_ action bg_ &cached_ animate_ action - Copy assignment operator.
-
auto operator=(iaffine_
bg_ && other) -> affine_cached_ animate_ action bg_ & noexceptcached_ animate_ action - 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. |