#include <uhd/utils/msg_task.hpp>
◆ msg_payload_t
◆ msg_type_t
◆ sptr
◆ task_fcn_type
◆ ~msg_task()
  
  
      
        
          | virtual uhd::msg_task::~msg_task  | 
          ( | 
          void  | 
           | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
 
◆ buff_to_vector()
  
  
      
        
          | static UHD_INLINE std::vector<uint8_t> uhd::msg_task::buff_to_vector  | 
          ( | 
          uint8_t *  | 
          p,  | 
         
        
           | 
           | 
          size_t  | 
          n  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inlinestatic   | 
  
 
 
◆ get_msg_from_dump_queue()
  
  
      
        
          | virtual msg_payload_t uhd::msg_task::get_msg_from_dump_queue  | 
          ( | 
          uint32_t  | 
          sid | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
 
◆ make()
Create a new task object with function callback. The task function callback will be run in a loop. until the thread is interrupted by the deconstructor.
A function may return payload which is then pushed to a synchronized message queue.
A task should return in a reasonable amount of time or may block forever under the following conditions:
- The blocking call is interruptible.
 
- The task polls the interrupt condition.
 
- Parameters
 - 
  
    | task_fcn | the task callback function  | 
  
   
- Returns
 - a new task object 
 
 
 
The documentation for this class was generated from the following file: