MCPcopy Create free account
hub / github.com/PointCloudLibrary/pcl / setInterval

Method setInterval

common/src/time_trigger.cpp:79–86  ·  view source on GitHub ↗

/////////////////////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

77
78//////////////////////////////////////////////////////////////////////////////////////////////
79void
80pcl::TimeTrigger::setInterval (double interval_seconds)
81{
82 std::unique_lock<std::mutex> lock (condition_mutex_);
83 interval_ = interval_seconds;
84 // notify, since we could switch from a large interval to a shorter one -> interrupt waiting for timeout!
85 condition_.notify_all ();
86}
87
88//////////////////////////////////////////////////////////////////////////////////////////////
89void

Callers 2

mainFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by 1

mainFunction · 0.64