Atoms Crowd  7.0.0
NetworkEditorModule.h
1 #pragma once
2 // ===========================================================================
3 // Copyright (c) 2015 Toolchefs Ltd. All rights reserved.
4 //
5 // Use of this software is subject to the terms of the Toolchefs license
6 // agreement provided at the time of installation or download, or which
7 // otherwise accompanies this software in either electronic or hard copy form.
8 // ===========================================================================
9 
10 #include <Atoms/BehaviourModule.h>
11 #include <AtomsModules/Globals.h>
12 
13 namespace AtomsModules
14 {
15  class ATOMSMODULES_EXPORT NetworkEditorModule : public Atoms::BehaviourModule
16  {
17  public:
18 
20 
21  virtual ~NetworkEditorModule();
22 
24 
25  bool hasDynamicAttributes() const;
26 
27  void agentsCreated(const std::vector<Atoms::Agent*>& agents, Atoms::AgentGroup* agentGroup = nullptr);
28 
29  void initFrame(const std::vector<Atoms::Agent*>& agents, Atoms::AgentGroup* agentGroup = nullptr);
30 
31  static Atoms::BehaviourModule* creator(const std::string& parameter);
32  };
33 }
Agent group.
Definition: AgentGroup.h:36
Behaviour module.
Definition: BehaviourModule.h:32
Definition: NetworkEditorModule.h:16
bool hasDynamicAttributes() const
Check if this module can generate attribute dynamically.
void initFrame(const std::vector< Atoms::Agent * > &agents, Atoms::AgentGroup *agentGroup=nullptr)
Init frame.
void refreshAttributes()
Refresh the attribute map metadata.
void agentsCreated(const std::vector< Atoms::Agent * > &agents, Atoms::AgentGroup *agentGroup=nullptr)
Agents Created.