![]() |
fpmas 1.6
|
#include <model.h>
Public Member Functions | |
virtual const AgentPtr & | agent () const =0 |
![]() | |
virtual api::graph::DistributedNode< AgentPtr > * | node ()=0 |
![]() | |
virtual void | run ()=0 |
virtual void | setJobPos (JID job_id, std::list< Task * >::iterator pos)=0 |
virtual std::list< Task * >::iterator | getJobPos (JID job_id) const =0 |
AgentTask API.
An AgentTask is a api::scheduler::NodeTask responsible for the execution of an Agent, thanks to the Agent::act() function.
|
pure virtual |
Returns a pointer to the associated Agent.
Implemented in fpmas::model::detail::AgentTaskBase.