Constructs an agent.
agent(); agent( Scheduler& _PScheduler ); agent( ScheduleGroup& _PGroup );
The Scheduler object within which the execution task of the agent is scheduled.
The ScheduleGroup object within which the execution task of the agent is scheduled. The Scheduler object used is implied by the schedule group.
The runtime uses the default scheduler if you do not specify the _PScheduler or _PGroup parameters.