|
AGX Dynamics
2.37.3.2
|
#include <agx/agxCore_export.h>#include <agx/Integer.h>#include <functional>#include <agxStream/StorageAgent.h>#include <agx/Uuid.h>Go to the source code of this file.
Classes | |
| class | agxStream::Serializable |
| This class is an abstract base class for all classes that can be stored and retrieved from an Archive. More... | |
Namespaces | |
| agxStream | |
| This namespace contain classes for streaming classes into archives, ASCII, binary for storage (serialization). | |
Macros | |
| #define | AGXARCHIVE_MODIFICATIONS(...) {__VA_ARGS__} |
| #define | AGXSTREAM_CLASS_NAME(T) |
| Macro for retrieving a class name based on the function scope. More... | |
| #define | AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE(T) |
| Use this in a pure abstract Serializable class to add the required methods Important: Use full namespace in the declaration! For example: agx::deprecated::SomeClass. More... | |
| #define | AGXSTREAM_DECLARE_SERIALIZABLE(T) |
| Use this in a Serializable class to add the required methods Important: Use full namespace in the declaration! For example: agx::deprecated::SomeClass. More... | |
| #define | AGXSTREAM_DECLARE_SERIALIZABLE_BASE(T) |
| #define | AGXSTREAM_DECLARE_SERIALIZABLE_CUSTOM_CREATE(T) |
| Use this in a Serializable class to add the required methods Important: Use full namespace in the declaration! For example: agx::deprecated::SomeClass. More... | |
| #define | AGXSTREAM_INSTANTIATE_STORAGE(C) static agxStream::Storage<C> storage ## C; |
| Use this macro to instantiate a storage for a Serializable class. If you have '::' in the class name, you need to use the AGXSTREAM_INSTANTIATE_STORAGE_VARIABLE macro. More... | |
| #define | AGXSTREAM_INSTANTIATE_STORAGE_DEPRECATION_CHECK_VARIABLE(V, DEFAULT_CLASS, DEPRECATED_CLASS, MODIFICATION_LIST) static agxStream::DeprecatedStorage<DEFAULT_CLASS, DEPRECATED_CLASS> V(MODIFICATION_LIST); |
| This macro will instantiate a storage for a serializable class V - the name of the variable that will be instantiated DEFAULT_CLASS - The new implementation of a class with the same name as the old one, for example agxDriveTrain::TorqueConverter DEPRECATED_CLASS - The old implementation, now with a different namespace, for example agxDriveTrain::deprecated::TorqueConverter MODIFICATION_LIST - List of modifications that if they are all present in the input archive, the default class will be used. More... | |
| #define | AGXSTREAM_INSTANTIATE_STORAGE_VARIABLE(V, C) static agxStream::Storage<C> storage ## V; |
| Use this macro for instantiate a storage as a specific variable name if necessary. For example if C contains :: the previous macro cannot be used. More... | |
| #define AGXARCHIVE_MODIFICATIONS | ( | ... | ) | {__VA_ARGS__} |
Definition at line 235 of file Serializable.h.
| #define AGXSTREAM_CLASS_NAME | ( | T | ) |
Macro for retrieving a class name based on the function scope.
Definition at line 190 of file Serializable.h.
| #define AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE | ( | T | ) |
Use this in a pure abstract Serializable class to add the required methods Important: Use full namespace in the declaration! For example: agx::deprecated::SomeClass.
Definition at line 221 of file Serializable.h.
Referenced by agxPowerLine::ConstraintGeometry::getAngleRange(), agxWire::LinkObjectStabilizingAlgorithm::getLink(), agxUtil::Spline::getTangent(), agxTerrain::BasicGrid::iterateVoxels(), and agxWire::AreaDefinition::render().
| #define AGXSTREAM_DECLARE_SERIALIZABLE | ( | T | ) |
Use this in a Serializable class to add the required methods Important: Use full namespace in the declaration! For example: agx::deprecated::SomeClass.
Definition at line 207 of file Serializable.h.
Referenced by agxModel::FractureAlgorithm::FractureAlgorithm(), agxWire::LinkObjectStabilizingAlgorithm::GeometryPropertyBoolFilter(), agxTerrain::ShovelAggregateContactMaterialContainer::getContactMaterial(), agxTerrain::Shovel::ExcavationSettings::restore(), agxWire::LinkObjectStabilizingAlgorithm::RigidBodyPropertyBoolFilter(), and agx::Material::setName().
| #define AGXSTREAM_DECLARE_SERIALIZABLE_BASE | ( | T | ) |
Definition at line 195 of file Serializable.h.
| #define AGXSTREAM_DECLARE_SERIALIZABLE_CUSTOM_CREATE | ( | T | ) |
Use this in a Serializable class to add the required methods Important: Use full namespace in the declaration! For example: agx::deprecated::SomeClass.
Definition at line 214 of file Serializable.h.
| #define AGXSTREAM_INSTANTIATE_STORAGE | ( | C | ) | static agxStream::Storage<C> storage ## C; |
Use this macro to instantiate a storage for a Serializable class. If you have '::' in the class name, you need to use the AGXSTREAM_INSTANTIATE_STORAGE_VARIABLE macro.
Definition at line 227 of file Serializable.h.
| #define AGXSTREAM_INSTANTIATE_STORAGE_DEPRECATION_CHECK_VARIABLE | ( | V, | |
| DEFAULT_CLASS, | |||
| DEPRECATED_CLASS, | |||
| MODIFICATION_LIST | |||
| ) | static agxStream::DeprecatedStorage<DEFAULT_CLASS, DEPRECATED_CLASS> V(MODIFICATION_LIST); |
This macro will instantiate a storage for a serializable class V - the name of the variable that will be instantiated DEFAULT_CLASS - The new implementation of a class with the same name as the old one, for example agxDriveTrain::TorqueConverter DEPRECATED_CLASS - The old implementation, now with a different namespace, for example agxDriveTrain::deprecated::TorqueConverter MODIFICATION_LIST - List of modifications that if they are all present in the input archive, the default class will be used.
Definition at line 244 of file Serializable.h.
| #define AGXSTREAM_INSTANTIATE_STORAGE_VARIABLE | ( | V, | |
| C | |||
| ) | static agxStream::Storage<C> storage ## V; |
Use this macro for instantiate a storage as a specific variable name if necessary. For example if C contains :: the previous macro cannot be used.
Definition at line 231 of file Serializable.h.