Skip to main content

commands::CommandGuard

commands::CommandGuard

RAII guard that sets the inside-command flag for its lifetime. More…

#include <MutationGuard.hpp>

Public Functions

Name
CommandGuard()
~CommandGuard()
CommandGuard(CommandGuard const & ) =delete
CommandGuard & operator=(CommandGuard const & ) =delete
CommandGuard(CommandGuard && ) =delete
CommandGuard & operator=(CommandGuard && ) =delete

Detailed Description

class commands::CommandGuard;

RAII guard that sets the inside-command flag for its lifetime.

Used internally by executeSequence() and direct command execution to mark the scope where DataManager mutations are expected.

Public Functions Documentation

function CommandGuard

CommandGuard()

function ~CommandGuard

~CommandGuard()

function CommandGuard

CommandGuard(
    CommandGuard const & 
) =delete

function operator=

CommandGuard & operator=(
    CommandGuard const & 
) =delete

function CommandGuard

CommandGuard(
    CommandGuard && 
) =delete

function operator=

CommandGuard & operator=(
    CommandGuard && 
) =delete

Updated on 2026-11-13 at 20:25:42 +0000