MCPcopy Create free account
hub / github.com/davisking/dlib / timeout

Method timeout

dlib/timeout/timeout.h:80–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78 typename T
79 >
80 timeout (
81 T callback_function,
82 unsigned long ms_to_timeout
83 ) :
84 t(*this,&timeout::trigger_timeout)
85 {
86 b = new functor<T>(callback_function);
87 t.set_delay_time(ms_to_timeout);
88 t.start();
89 }
90
91 template <
92 typename T

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected