Skip to content

Commit

Permalink
docs: Clarify SyncMultiFrameListener API usage
Browse files Browse the repository at this point in the history
  • Loading branch information
xlz authored Dec 1, 2017
1 parent 221a58d commit 0856a20
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/libfreenect2/frame_listener_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,18 @@ class LIBFREENECT2_API SyncMultiFrameListener : public FrameListener
bool hasNewFrame() const;

/** Wait milliseconds for new frames.
* @param[out] frame Caller is responsible to release the frames.
* @param[out] frame Caller is responsible to release the frames in `frame`.
* @param milliseconds Timeout. This parameter is ignored if not built with C++11 threading support.
* @return true if a frame is received; false if not.
*/
bool waitForNewFrame(FrameMap &frame, int milliseconds);

/** Wait indefinitely for new frames.
* @param[out] frame Caller is responsible to release the frames.
* @param[out] frame Caller is responsible to release the frames in `frame`.
*/
void waitForNewFrame(FrameMap &frame);

/** Shortcut to delete all frames */
/** Shortcut to delete all frames in `frame`. */
void release(FrameMap &frame);

virtual bool onNewFrame(Frame::Type type, Frame *frame);
Expand Down

0 comments on commit 0856a20

Please sign in to comment.