MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ MF_LIVE_EXPOSE_NAMED

#define MF_LIVE_EXPOSE_NAMED (   name,
  ptr 
)
Value:
do { \
::MayaFlux::expose_live_indexed( \
std::string_view { (name) }, (ptr)); \
} \
} while (0)
std::string name
Definition VKDevice.cpp:123
const uint8_t * ptr
bool live_exposure_enabled() noexcept
Reports whether live exposure has been enabled.
Definition LiveArena.cpp:14

Auto-expose variant with an explicit name prefix.

Generates keys of the form "name_N" where N is the first index not yet taken for that name, so every overload of a Creator factory shares one sequence. Use inside Creator factories where the method name is a string literal.

Parameters
nameString literal key prefix, typically the factory name.
ptrshared_ptr to expose.

Definition at line 300 of file LiveArena.hpp.

301 { \
303 ::MayaFlux::expose_live_indexed( \
304 std::string_view { (name) }, (ptr)); \
305 } \
306 } while (0)