RobWorkProject
23.9.11-
|
interface for defining serialization of classes. If a class cannot inherit the Serializable because of non-access to code then one can instead provide overloaded read/write methods to perform the serialization. More...
#include <Serializable.hpp>
Inherited by VectorND< 6, bool >, KDTreeQ< Node >, State, VectorND< N, T >, KDTreeQ< VALUE_TYPE >, Contact, and SimulatorLog.
Public Member Functions | |
virtual | ~Serializable () |
destructor | |
virtual void | read (class InputArchive &iarchive, const std::string &id)=0 |
virtual void | write (class OutputArchive &oarchive, const std::string &id) const =0 |
interface for defining serialization of classes. If a class cannot inherit the Serializable because of non-access to code then one can instead provide overloaded read/write methods to perform the serialization.
|
pure virtual |
Enable read-serialization of inherited class by implementing this method. Data is read from iarchive and filled into this object.
iarchive | [in] the InputArchive from which to read data. |
id | [in] The id of the serialized sobject. |
Implemented in KDTreeQ< VALUE_TYPE >, KDTreeQ< Node >, VectorND< N, T >, VectorND< 6, bool >, SimulatorLogScope, SimulatorLogEntry, SimulatorLog, LogVelocities, LogValues, LogStep, LogPositions, LogMessage, LogForceTorque, LogEquationSystem, LogDistanceResult, LogDistanceMultiResult, LogContactVelocities, LogContactSet, LogConstraints, LogCollisionResult, Contact, and State.
|
pure virtual |
Enable write-serialization of inherited class by implementing this method. Data is written to oarchive from this object.
oarchive | [out] the OutputArchive in which data should be written. |
id | [in] The id of the serialized sobject. |
Implemented in KDTreeQ< VALUE_TYPE >, KDTreeQ< Node >, VectorND< N, T >, VectorND< 6, bool >, SimulatorLogScope, SimulatorLogEntry, SimulatorLog, LogVelocities, LogValues, LogStep, LogPositions, LogMessage, LogForceTorque, LogEquationSystem, LogDistanceResult, LogDistanceMultiResult, LogContactVelocities, LogContactSet, LogConstraints, LogCollisionResult, Contact, and State.