The interface inherited by all classes whose state must be saved and restored.
More...
#include <memento.h>
The interface inherited by all classes whose state must be saved and restored.
Definition at line 27 of file memento.h.
◆ ~CMemento()
virtual argos::CMemento::~CMemento |
( |
| ) |
|
|
inlinevirtual |
Class destructor.
Definition at line 34 of file memento.h.
◆ LoadState()
virtual void argos::CMemento::LoadState |
( |
CByteArray & |
c_buffer | ) |
|
|
pure virtual |
Restores the state of the object from the given buffer.
The read data is removed from the buffer.
- Parameters
-
c_buffer | the source buffer |
◆ SaveState()
virtual void argos::CMemento::SaveState |
( |
CByteArray & |
c_buffer | ) |
|
|
pure virtual |
Saves the state of the object to the given buffer.
Data is added to the buffer.
- Parameters
-
c_buffer | the target buffer |
The documentation for this class was generated from the following file: