Udostępnij za pośrednictwem


ordered_message_processor::initialize Method

Initializes the ordered_message_processor object with the appropriate callback function, scheduler and schedule group.

void initialize(
   Scheduler * _PScheduler,
   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

See Also

Reference

ordered_message_processor Class

Scheduler Class

ScheduleGroup Class