Atoms Crowd  4.1.0
SyncLayoutGenerator.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  void SyncLayoutGenerator::setParentGenerator(Atoms::LayoutGeneratorPtr& parent)
12  {
13  m_parentGenerator = parent;
14  }
15 
16  void SyncLayoutGenerator::setAgentTypeOverride(const std::map<int, std::string>& data)
17  {
18  m_overrideAgentType = data;
19  }
20 
21  const std::map<int, std::string>& SyncLayoutGenerator::agentTypeOverride() const
22  {
23  return m_overrideAgentType;
24  }
25 
26  void SyncLayoutGenerator::setDefaultAgentType(const std::string& data)
27  {
28  m_defaultAgentType = data;
29  }
30 
31  const std::string& SyncLayoutGenerator::defaultAgentType() const
32  {
33  return m_defaultAgentType;
34  }
35 }
Atoms
Atoms namespace.
Definition: Agent.h:28