#include <job.hpp>
◆ Job()
      
        
          | traffic_simulator::job::Job::Job  | 
          ( | 
          const std::function< bool(double)> &  | 
          func_on_update,  | 
        
        
           | 
           | 
          const std::function< void()> &  | 
          func_on_cleanup,  | 
        
        
           | 
           | 
          job::Type  | 
          type,  | 
        
        
           | 
           | 
          bool  | 
          exclusive,  | 
        
        
           | 
           | 
          Event  | 
          event  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Construct a new Job object. 
- Parameters
 - 
  
    | func_on_update | If func_on_update function returns true, runs func_on_update function.  | 
    | func_on_cleanup | If func_on_update function returns true, runs func_on_update function.  | 
    | type | Type of the Job  | 
    | exclusive | If true, the Job works exclusively by type.  | 
  
   
 
 
◆ getStatus()
      
        
          | Status traffic_simulator::job::Job::getStatus  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ inactivate()
      
        
          | void traffic_simulator::job::Job::inactivate  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ onUpdate()
      
        
          | void traffic_simulator::job::Job::onUpdate  | 
          ( | 
          const double  | 
          step_time | ) | 
           | 
        
      
 
 
◆ event
      
        
          | const Event traffic_simulator::job::Job::event | 
        
      
 
 
◆ exclusive
      
        
          | const bool traffic_simulator::job::Job::exclusive | 
        
      
 
 
◆ type
      
        
          | const job::Type traffic_simulator::job::Job::type | 
        
      
 
 
The documentation for this class was generated from the following files:
- simulation/traffic_simulator/include/traffic_simulator/job/job.hpp
 
- simulation/traffic_simulator/src/job/job.cpp