Unravel Engine C++ Reference
Loading...
Searching...
No Matches
seq::inspector Namespace Reference

Namespaces

namespace  adl_helper
 

Functions

template<typename T >
auto to_str (const T &t) -> std::string
 Converts a value to a string using ADL (Argument-Dependent Lookup).
 
template<>
auto to_str (const state_t &t) -> std::string
 Specialization for converting state_t to a string.
 
template<typename T >
auto type_to_str (const T &t) -> std::string
 Gets the type of a value as a string using ADL.
 
void add_sequence_info (seq_action &action, const std::vector< seq_action > &actions)
 
void add_together_info (seq_action &action, const std::vector< seq_action > &actions)
 
void add_delay_info (seq_action &action)
 
void add_repeat_info (seq_action &repeat_action, const seq_action &action, size_t times)
 
void update_action_state (seq_action &action, state_t state)
 
void update_action_status (seq_action &action)
 
void add_location (seq_action &action, const hpp::source_location &location)
 
template<typename T >
void update_begin_value (seq_action &action, const T &begin)
 
template<typename T >
void update_action_status (seq_action &action, const T &current)
 
template<typename Object , typename T >
void add_info (seq_action &action, const std::string &updater_type, const Object &object, const T &end_value, const ease_t &ease_func)
 

Function Documentation

◆ add_delay_info()

void seq::inspector::add_delay_info ( seq_action & action)

Definition at line 59 of file seq_inspector.cpp.

◆ add_info()

template<typename Object , typename T >
void seq::inspector::add_info ( seq_action & action,
const std::string & updater_type,
const Object & object,
const T & end_value,
const ease_t & ease_func )
inline

Definition at line 39 of file seq_inspector.h.

◆ add_location()

void seq::inspector::add_location ( seq_action & action,
const hpp::source_location & location )

Definition at line 128 of file seq_inspector.cpp.

◆ add_repeat_info()

void seq::inspector::add_repeat_info ( seq_action & repeat_action,
const seq_action & action,
size_t times )

Definition at line 77 of file seq_inspector.cpp.

◆ add_sequence_info()

void seq::inspector::add_sequence_info ( seq_action & action,
const std::vector< seq_action > & actions )

Definition at line 7 of file seq_inspector.cpp.

◆ add_together_info()

void seq::inspector::add_together_info ( seq_action & action,
const std::vector< seq_action > & actions )

Definition at line 33 of file seq_inspector.cpp.

◆ to_str() [1/2]

template<>
auto seq::inspector::to_str ( const state_t & t) -> std::string
inline

Specialization for converting state_t to a string.

Parameters
tThe state to convert.
Returns
The string representation of the state.

Definition at line 291 of file seq_common.h.

◆ to_str() [2/2]

template<typename T >
auto seq::inspector::to_str ( const T & t) -> std::string

Converts a value to a string using ADL (Argument-Dependent Lookup).

Template Parameters
TThe type of the value.
Parameters
tThe value to convert.
Returns
The string representation of the value.

Definition at line 280 of file seq_common.h.

◆ type_to_str()

template<typename T >
auto seq::inspector::type_to_str ( const T & t) -> std::string

Gets the type of a value as a string using ADL.

Template Parameters
TThe type of the value.
Parameters
tThe value.
Returns
The string representation of the type.

Definition at line 311 of file seq_common.h.

◆ update_action_state()

void seq::inspector::update_action_state ( seq_action & action,
state_t state )

Definition at line 107 of file seq_inspector.cpp.

◆ update_action_status() [1/2]

void seq::inspector::update_action_status ( seq_action & action)

Definition at line 117 of file seq_inspector.cpp.

◆ update_action_status() [2/2]

template<typename T >
void seq::inspector::update_action_status ( seq_action & action,
const T & current )
inline

Definition at line 24 of file seq_inspector.h.

◆ update_begin_value()

template<typename T >
void seq::inspector::update_begin_value ( seq_action & action,
const T & begin )
inline

Definition at line 13 of file seq_inspector.h.