MCPcopy Create free account
hub / github.com/devosoft/avida / GetID

Method GetID

avida-core/source/cpu/cHardwareCPU.h:90–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88
89 void Reset(cHardwareBase* in_hardware, int in_id);
90 int GetID() const { return m_id; }
91 void SetID(int in_id) { m_id = in_id; }
92 int GetPromoterInstExecuted() { return m_promoter_inst_executed; }
93 void IncPromoterInstExecuted() { m_promoter_inst_executed++; }

Callers 15

Inst_RotateOrgIDMethod · 0.45
Inst_RotateAwayOrgIDMethod · 0.45
Inst_GetFacedOrgIDMethod · 0.45
KillThreadMethod · 0.45
Inst_IfAboveResLevelMethod · 0.45
Inst_IfResourcesMethod · 0.45
Inst_DonateEnergyMethod · 0.45
DonateResourceXMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected