MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ create_operator()

template<typename OpType , typename... Args>
OpType * MayaFlux::Nodes::Network::PointCloudNetwork::create_operator ( Args &&...  args)
inline

Create and set operator in one call.

Definition at line 240 of file PointCloudNetwork.hpp.

241 {
242 auto op = std::make_unique<OpType>(std::forward<Args>(args)...);
243 auto* ptr = op.get();
244 set_operator(std::move(op));
245 return ptr;
246 }
void set_operator(std::unique_ptr< NetworkOperator > op)