RepastHPC  2.3.1
Public Member Functions | List of all members
repast::Agent Class Referenceabstract

Interface for agent classes. More...

#include <AgentId.h>

Inheritance diagram for repast::Agent:
repast::relogo::RelogoAgent repast::relogo::AbstractRelogoAgent repast::relogo::Patch repast::relogo::Turtle

Public Member Functions

virtual AgentIdgetId ()=0
 Gets the AgentId for this Agent. More...
 
virtual const AgentIdgetId () const =0
 Gets the AgentId for this Agent. More...
 

Detailed Description

Interface for agent classes.

Member Function Documentation

◆ getId() [1/2]

virtual const AgentId& repast::Agent::getId ( ) const
pure virtual

Gets the AgentId for this Agent.

Returns
the AgentId for this Agent.

Implemented in repast::relogo::RelogoAgent.

◆ getId() [2/2]

virtual AgentId& repast::Agent::getId ( )
pure virtual

Gets the AgentId for this Agent.

Returns
the AgentId for this Agent.

Implemented in repast::relogo::RelogoAgent.


The documentation for this class was generated from the following file: