![]() |
fpmas 1.6
|
#include <model.h>


Public Member Functions | |
| SetAgentLocalCallback (api::model::Model &model) | |
| void | call (const api::graph::SetLocalNodeEvent< AgentPtr > &event) override |
Public Member Functions inherited from fpmas::api::utils::Callback< const api::graph::SetLocalNodeEvent< AgentPtr > & > | |
| virtual void | call (Args... args)=0 |
Additional Inherited Members | |
Public Types inherited from fpmas::api::utils::EventCallback< api::graph::SetLocalNodeEvent< AgentPtr > > | |
| typedef api::graph::SetLocalNodeEvent< AgentPtr > | EventType |
Callback triggered when an AgentNode is set LOCAL.
This happens when a previously DISTANT node is imported into the local graph and becomes LOCAL, or when a new AgentNode is inserted in the graph (the node is implicitly set LOCAL in this case).
|
inline |
SetAgentLocalCallback constructor.
| model | current model |
|
override |
Schedules the associated agent's task to be executed within its AgentGroup's job.
| event | event to handle |