Horizon
src
core
tool_place_via.hpp
1
#pragma once
2
#include "core.hpp"
3
#include "tool_place_junction.hpp"
4
#include <forward_list>
5
6
namespace
horizon {
7
8
class
ToolPlaceVia
:
public
ToolPlaceJunction
{
9
public
:
10
ToolPlaceVia
(
Core
*c, ToolID tid);
11
bool
can_begin
()
override
;
12
13
protected
:
14
void
create_attached()
override
;
15
void
delete_attached()
override
;
16
bool
begin_attached()
override
;
17
bool
update_attached(
const
ToolArgs
&args)
override
;
18
class
Via
*via =
nullptr
;
19
const
class
Padstack
*padstack =
nullptr
;
20
21
std::forward_list<class Via *> vias_placed;
22
23
private
:
24
};
25
}
// namespace horizon
horizon::ToolPlaceVia::can_begin
bool can_begin() override
Definition:
tool_place_via.cpp:12
horizon::Padstack
Definition:
padstack.hpp:21
horizon::Core
Where Tools and and documents meet.
Definition:
core.hpp:240
horizon::ToolPlaceJunction
Definition:
tool_place_junction.hpp:7
horizon::Via
Definition:
via.hpp:16
horizon::ToolPlaceVia
Definition:
tool_place_via.hpp:8
horizon::ToolArgs
This is what a Tool receives when the user did something.
Definition:
core.hpp:26
Generated by
1.8.16