declare_agent_index

Macro declare_agent_index 

Source
macro_rules! declare_agent_index {
    ($name:ident) => { ... };
}
Expand description

A macro for declaring a global variable containing singleton agent index.

Usage is declare_agent_index! { NAME }. It declares a global variable named NAME to hold the agent index of the singleton instance of some agent type.