ARGoS  3
A parallel, multi-engine simulator for swarm robotics
core/utility/configuration/memento.h
Go to the documentation of this file.
00001 
00013 #ifndef MEMENTO_H
00014 #define MEMENTO_H
00015 
00016 namespace argos {
00017    class CMemento;
00018 }
00019 
00020 #include <argos3/core/utility/datatypes/byte_array.h>
00021 
00022 namespace argos {
00023 
00027    class CMemento {
00028 
00029    public:
00030 
00034       virtual ~CMemento() {}
00035 
00041       virtual void SaveState(CByteArray& c_buffer) = 0;
00042 
00048       virtual void LoadState(CByteArray& c_buffer) = 0;
00049 
00050    };
00051 
00052 }
00053 
00054 #endif