Horizon
horizon-eda-1.3.0
src
core
tools
tool_update_all_planes.hpp
1
#pragma once
2
#include "core/tool.hpp"
3
#include <forward_list>
4
5
namespace
horizon {
6
7
class
ToolUpdateAllPlanes
:
public
ToolBase
{
8
public
:
9
ToolUpdateAllPlanes
(
IDocument
*c, ToolID tid);
10
ToolResponse
begin
(
const
ToolArgs
&args)
override
;
11
ToolResponse
update
(
const
ToolArgs
&args)
override
;
12
bool
can_begin
()
override
;
13
14
private
:
15
};
16
}
// namespace horizon
horizon::IDocument
Definition:
idocument.hpp:5
horizon::ToolUpdateAllPlanes::can_begin
bool can_begin() override
Definition:
tool_update_all_planes.cpp:12
horizon::ToolUpdateAllPlanes
Definition:
tool_update_all_planes.hpp:7
horizon::ToolUpdateAllPlanes::update
ToolResponse update(const ToolArgs &args) override
Gets called whenever the user generated some sort of input.
Definition:
tool_update_all_planes.cpp:30
horizon::ToolUpdateAllPlanes::begin
ToolResponse begin(const ToolArgs &args) override
Gets called right after the constructor has finished.
Definition:
tool_update_all_planes.cpp:17
horizon::ToolBase
Common interface for all Tools.
Definition:
tool.hpp:121
horizon::ToolResponse
To signal back to the core what the Tool did, a Tool returns a ToolResponse.
Definition:
tool.hpp:42
horizon::ToolArgs
This is what a Tool receives when the user did something.
Definition:
tool.hpp:23
Generated by
1.8.20