62 : callback_(std::move(cb)) {}
76 callback_ = std::move(cb);
~OpenNI2FrameListener() override=default
OpenNI2FrameListener(StreamCallbackFunction cb)
void onNewFrame(openni::VideoStream &stream) override
OpenNI2FrameListener()=default
void setCallback(StreamCallbackFunction cb)
std::function< void(openni::VideoStream &stream)> StreamCallbackFunction