Horizon
horizon-eda-1.3.0
src
common
object_provider.hpp
1
#pragma once
2
#include "util/uuid.hpp"
3
4
namespace
horizon {
5
10
class
ObjectProvider
{
11
public
:
12
virtual
class
Junction
*get_junction(
const
UUID
&uu)
13
{
14
return
nullptr
;
15
}
16
virtual
class
Polygon
*get_polygon(
const
UUID
&uu)
17
{
18
return
nullptr
;
19
}
20
virtual
~
ObjectProvider
()
21
{
22
}
23
};
24
}
// namespace horizon
horizon::Polygon
Polygon used in Padstack, Package and Board for specifying filled Regions.
Definition:
polygon.hpp:27
horizon::Junction
A Junction is a point in 2D-Space.
Definition:
junction.hpp:22
horizon::UUID
This class encapsulates a UUID and allows it to be uses as a value type.
Definition:
uuid.hpp:16
horizon::ObjectProvider
Interface for classes that store objects identified by UUID (e.g. Line or Junction)
Definition:
object_provider.hpp:10
Generated by
1.8.20