thread_name_updating_nodelet.hpp
Go to the documentation of this file.
1 #pragma once
2 
11 #include <nodelet/nodelet.h>
12 
13 namespace cras
14 {
15 
20 template<typename NodeletType = ::nodelet::Nodelet>
21 class ThreadNameUpdatingNodelet : public virtual NodeletType
22 {
23 public:
24  ~ThreadNameUpdatingNodelet() override;
25 
26 protected:
36  void updateThreadName() const;
37 };
38 
39 }
40 
41 #include "impl/thread_name_updating_nodelet.hpp"
This mixin allows the nodelet to update the OS name of the thread in which it is currently executing...
void updateThreadName() const
Set custom name of the current thread to this nodelet&#39;s name.
Definition: any.hpp:15


cras_cpp_common
Author(s): Martin Pecka
autogenerated on Sat Jun 17 2023 02:32:53