feat: setup GopTransform
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
#pragma once
|
||||
#include "Engine/Operator/Geometry.h"
|
||||
#include "Engine/Types.h"
|
||||
#include <boost/config.hpp>
|
||||
|
||||
namespace enzo::nt
|
||||
{
|
||||
|
||||
class GeometryOpDef
|
||||
class BOOST_SYMBOL_EXPORT GeometryOpDef
|
||||
{
|
||||
public:
|
||||
GeometryOpDef(enzo::nt::OpId opId);
|
||||
|
||||
10
src/Engine/Operator/OperatorTable.cpp
Normal file
10
src/Engine/Operator/OperatorTable.cpp
Normal file
@@ -0,0 +1,10 @@
|
||||
#include "Engine/Operator/OperatorTable.h"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
void enzo::op::OperatorTable::addOperator(nt::opConstructor ctorFunc)
|
||||
{
|
||||
std::cout << "OPERATOR TABLE ADDED\n";
|
||||
// ctorFunc(5);
|
||||
ctorStore_.push_back(ctorFunc);
|
||||
}
|
||||
15
src/Engine/Operator/OperatorTable.h
Normal file
15
src/Engine/Operator/OperatorTable.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include "Engine/Network/NetworkManager.h"
|
||||
|
||||
namespace enzo::op
|
||||
{
|
||||
class BOOST_SYMBOL_EXPORT OperatorTable
|
||||
{
|
||||
public:
|
||||
void addOperator(nt::opConstructor ctorFunc);
|
||||
private:
|
||||
std::vector<nt::opConstructor> ctorStore_;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user