Skip to content
Snippets Groups Projects
Commit 3b0057e7 authored by Uwe Woessner's avatar Uwe Woessner
Browse files

observationInterface is pure virtual again


Signed-off-by: default avatarhpcwoess <woessner@hlrs.de>
parent 1fd8ae9e
No related branches found
No related tags found
No related merge requests found
...@@ -133,6 +133,10 @@ public: ...@@ -133,6 +133,10 @@ public:
{ {
return ""; //dummy return ""; //dummy
} }
virtual void Insert(int time, int agentId, LoggingGroup group, const std::string& key, const std::string& value) {};
virtual void InsertEvent(std::shared_ptr<EventInterface> event) {};
virtual void GatherFollowers() {};
virtual void InformObserverOnSpawn(AgentInterface* agent) {};
private: private:
void RecordAllAgents(int time); void RecordAllAgents(int time);
......
...@@ -117,18 +117,18 @@ public: ...@@ -117,18 +117,18 @@ public:
//! \param key topic //! \param key topic
//! \param value value //! \param value value
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
virtual void Insert(int time, int agentId, LoggingGroup group, const std::string& key, const std::string& value) {}; virtual void Insert(int time, int agentId, LoggingGroup group, const std::string& key, const std::string& value) = 0;
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
/*! /*!
* \brief Insert the event into the EventNetwork * \brief Insert the event into the EventNetwork
*/ */
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
virtual void InsertEvent(std::shared_ptr<EventInterface> event) {}; virtual void InsertEvent(std::shared_ptr<EventInterface> event) = 0;
virtual void GatherFollowers() {}; virtual void GatherFollowers() = 0;
virtual void InformObserverOnSpawn(AgentInterface* agent) {}; virtual void InformObserverOnSpawn(AgentInterface* agent) = 0;
protected: protected:
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment