BioDynaMo  v1.03.58-27764645
Public Member Functions | Public Attributes | List of all members
bdm::NewAgentEvent Struct Referenceabstract

#include <new_agent_event.h>

Inheritance diagram for bdm::NewAgentEvent:
Collaboration diagram for bdm::NewAgentEvent:

Public Member Functions

virtual ~NewAgentEvent ()=default
virtual NewAgentEventUid GetUid () const =0

Public Attributes

InlineVector< Agent *, 3 > new_agents
InlineVector< Behavior *, 3 > new_behaviors

Detailed Description

Definition at line 61 of file new_agent_event.h.

Constructor & Destructor Documentation

◆ ~NewAgentEvent()

virtual bdm::NewAgentEvent::~NewAgentEvent ( )

Member Function Documentation

◆ GetUid()

virtual NewAgentEventUid bdm::NewAgentEvent::GetUid ( ) const
pure virtual

Member Data Documentation

◆ existing_agent

Agent* bdm::NewAgentEvent::existing_agent

Pointer to agent that triggered the NewAgentEvent.
e.g. for CellDivisionEvent it is the mother cell and for NewNeuriteExtensionEvent it is the NeuronSoma.

Definition at line 69 of file new_agent_event.h.

◆ existing_behavior

Behavior* bdm::NewAgentEvent::existing_behavior

Similarly, to existing_agent, existing_behavior behavior points to the currently processed behavior of the existing agent.

Definition at line 77 of file new_agent_event.h.

◆ new_agents

InlineVector<Agent*, 3> bdm::NewAgentEvent::new_agents

Vector of new agents that have been created during this NewAgentEvent. Agents are added to this vector aft er the call to Initialize completed.

Definition at line 73 of file new_agent_event.h.

◆ new_behaviors

InlineVector<Behavior*, 3> bdm::NewAgentEvent::new_behaviors

Vector of behaviors that have been copied to new agents. The index in new_behaviors corresponds to the index in new_agents. That means, that new_behaviors[0] is the copy of existing_behavior for new_agent[0].

Definition at line 82 of file new_agent_event.h.

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