ordered_message_processor::initialize Method
Initializes the ordered_message_processor object with the appropriate callback function, scheduler and schedule group.
void initialize(
_Inout_opt_ Scheduler * _PScheduler,
_Inout_opt_ ScheduleGroup * _PScheduleGroup,
_Handler_method const& _Handler
);
Parameters
_PScheduler
A pointer to the scheduler to be used for scheduling light-weight tasks._PScheduleGroup
A pointer to the schedule group to be used for scheduling light-weight tasks._Handler
The handler functor invoked during callback.
Requirements
Header: agents.h
Namespace: concurrency