Skip to main content

class command_recorder

Declaration

class command_recorder { /* full declaration omitted */ };

Member Variables

std::vector<detail::command_record> m_recorded_commands

Member Function Overview

  • get_command(command_id cid) const → const command_record &
  • get_commands() const → const std::vector<detail::command_record> &
  • record(command_record && record) → void

Member Functions

const command_record& get_command(
    command_id cid) const

Parameters

command_id cid

const std::vector<detail::command_record>&
get_commands() const


void record(command_record&& record)

Parameters

command_record&& record