Share via


target_block::initialize_target Method

Initializes the base object. Specifically, the message_processor object needs to be initialized.

void initialize_target(
   Scheduler * _PScheduler = NULL,
   ScheduleGroup * _PScheduleGroup = NULL
);

Parameters

  • _PScheduler
    The scheduler to be used for scheduling tasks.

  • _PScheduleGroup
    The schedule group to be used for scheduling tasks.

Requirements

Header: agents.h

Namespace: Concurrency

See Also

Reference

target_block Class

Scheduler Class

ScheduleGroup Class