Atoms Crowd  7.0.0
SimulationEvent.impl.h
1 // ===========================================================================
2 // Copyright (c) 2015 Toolchefs Ltd. All rights reserved.
3 //
4 // Use of this software is subject to the terms of the Toolchefs license
5 // agreement provided at the time of installation or download, or which
6 // otherwise accompanies this software in either electronic or hard copy form.
7 // ===========================================================================
8 
9 namespace Atoms
10 {
11  std::string SimulationEvent::name()
12  {
13  return m_name;
14  }
15 
16  void SimulationEvent::setName(const std::string& name)
17  {
18  m_name = name;
19  }
20 
22  {
23  return m_eventType;
24  }
25 
27  {
28  m_eventType = value;
29  }
30 
32  {
33  return m_metadata;
34  }
35 }
virtual void setName(const std::string &name)
Sets the name.
Definition: SimulationEvent.impl.h:16
virtual AtomsCore::MapMetadata & metadata()
Returns the metadata map.
Definition: SimulationEvent.impl.h:31
virtual std::string name()
Gets the name.
Definition: SimulationEvent.impl.h:11
virtual void setEventType(short value)
Sets the event type.
Definition: SimulationEvent.impl.h:26
virtual short eventType()
Gets the name.
Definition: SimulationEvent.impl.h:21
MapMetadata class.
Definition: MapMetadata.h:24
Atoms namespace.
Definition: Agent.h:29