MUQ  0.4.3
WorkGraphNode.cpp
Go to the documentation of this file.
2 
3 using namespace muq::Modeling;
4 
5 WorkGraphNode::WorkGraphNode(std::shared_ptr<WorkPiece> piece, std::string const& name) : piece(piece), name(name) {
6  assert(piece);
7 }
std::shared_ptr< WorkPiece > piece
A pointer to a muq::Modelling::WorkPiece that will be called when this node is evaluated.
Definition: WorkGraphNode.h:20
WorkGraphNode(std::shared_ptr< WorkPiece > piece, std::string const &name)
Create a node for muq::Modeling::WorkGraph.