chrono::synchrono::SynEnvironmentBrain Class Reference

Description

All logic happens in the EnvironmentAgent class, but we still need an empty concrete class here.

#include <SynEnvironmentBrain.h>

Inheritance diagram for chrono::synchrono::SynEnvironmentBrain:
Collaboration diagram for chrono::synchrono::SynEnvironmentBrain:

Public Member Functions

 SynEnvironmentBrain (int rank)
 
virtual void Synchronize (double time) override
 Synchronize this brain to the specified time.
 
virtual void Advance (double step) override
 Advance the state of this brain until brain time syncs with passed time.
 
virtual void ProcessMessage (SynMessage *msg) override
 Process an incoming message.
 
virtual void GenerateMessagesToSend (std::vector< SynMessage * > &messages) override
 Generate vector of SynMessage's to send.
 
- Public Member Functions inherited from chrono::synchrono::SynBrain
 SynBrain (int rank)
 Constructor.
 
virtual ~SynBrain ()
 Destructor.
 
int GetRank ()
 Get this brain's rank.
 

Additional Inherited Members

- Protected Attributes inherited from chrono::synchrono::SynBrain
int m_rank
 rank of this brain
 

The documentation for this class was generated from the following file:
  • /builds/uwsbel/chrono/src/chrono_synchrono/brain/SynEnvironmentBrain.h