MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / disable

Function disable

dds/DCPS/MultiTask.h:34–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 void enable(const TimeDuration& delay);
33
34 void disable()
35 {
36 ReactorTask_rch reactor_task = reactor_task_.lock();
37 if (reactor_task) {
38 reactor_task->execute_or_enqueue(make_rch<ScheduleDisableCommand>(rchandle_from(this)));
39 }
40 }
41
42 virtual void execute(const MonotonicTimePoint& now) = 0;
43

Callers

nothing calls this directly

Calls 3

rchandle_fromFunction · 0.85
execute_or_enqueueMethod · 0.80
lockMethod · 0.45

Tested by

no test coverage detected