Lightgraph
C++17 light-graph engine API reference
Loading...
Searching...
No Matches
factory.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4#include <memory>
5
7#include "objects.hpp"
8
15
21inline std::unique_ptr<Object> makeObject(BuiltinObjectType type, uint16_t pixelCount = 0) {
22 return internal::makeBuiltinObject(type, pixelCount);
23}
24
25} // namespace lightgraph::integration
std::unique_ptr< Object > makeObject(BuiltinObjectType type, uint16_t pixelCount=0)
Create one of the built-in topology objects.
Definition factory.hpp:21
std::unique_ptr< TopologyObject > makeBuiltinObject(integration::BuiltinObjectType type, uint16_t pixelCount=0)