Horizon
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 
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
Definition: via.hpp:16
This is what a Tool receives when the user did something.
Definition: core.hpp:26
Definition: tool_place_junction.hpp:7
bool can_begin() override
Definition: tool_place_via.cpp:12
Definition: padstack.hpp:21
Where Tools and and documents meet.
Definition: core.hpp:240
Definition: block.cpp:9
Definition: tool_place_via.hpp:8