agent::agent Constructor
Constructs an agent.
agent();
agent(
Scheduler& _PScheduler
);
agent(
ScheduleGroup& _PGroup
);
Parameters
_PScheduler
The Scheduler object within which the execution task of the agent is scheduled._PGroup
The ScheduleGroup object within which the execution task of the agent is scheduled. The Scheduler object used is implied by the schedule group.
Remarks
The runtime uses the default scheduler if you do not specify the _PScheduler or _PGroup parameters.
Requirements
Header: agents.h
Namespace: concurrency