| 4091 | } |
| 4092 | |
| 4093 | bool Tracking::Stop() |
| 4094 | { |
| 4095 | unique_lock<mutex> lock(mMutexStop); |
| 4096 | if(mbStopRequested && !mbNotStop) |
| 4097 | { |
| 4098 | mbStopped = true; |
| 4099 | cout << "Tracking STOP" << endl; |
| 4100 | return true; |
| 4101 | } |
| 4102 | |
| 4103 | return false; |
| 4104 | } |
| 4105 | |
| 4106 | bool Tracking::stopRequested() |
| 4107 | { |
nothing calls this directly
no outgoing calls
no test coverage detected