예제 #1
0
clk_command_handler create_send_xml_handler(const std::wstring&                     command_name,
                                            bool                                    expect_clock,
                                            bool                                    expect_time,
                                            const spl::shared_ptr<command_context>& context)
{
    return [=](const std::vector<std::wstring>& params) {
        context->send_to_flash(get_xml(command_name, expect_clock, expect_time, params));
    };
}