PFUNC 1.0
|
#include <pfunc/generator.hpp>
Public Types | |
typedef SchedPolicyName | task_queue_set |
typedef Compare | compare_type |
typedef compare_type::first_argument_type | priority_type |
typedef Functor | functor |
Generator structure that is specialized to produce the required library instance description. There are three explicit template parameters: 1. SchedPolicyName: The scheduling policy to be used. 2. Compare: The comparison function to use in case the scheduling policy requires ordering of tasks. 3. Functor: The function object that will be executed.
There is a fourth, implicit template parameter, "Priority" that denotes the type of the priority associated with each task. This is extracted as a nested type from the "Compare" type.
typedef Compare pfunc::generator< SchedPolicyName, Compare, Functor >::compare_type |
typedef for the task_queue_set
typedef Functor pfunc::generator< SchedPolicyName, Compare, Functor >::functor |
typedef compare_type::first_argument_type pfunc::generator< SchedPolicyName, Compare, Functor >::priority_type |
typedef for the compare_type
typedef SchedPolicyName pfunc::generator< SchedPolicyName, Compare, Functor >::task_queue_set |