3D Systems interview question

Given a bit of C++ code, identify the design pattern