AGX Dynamics  2.35.0.1
powerLineSerialization.h File Reference

Go to the source code of this file.

Namespaces

 agxPowerLine
 agxPowerLine contains a collection of connected components that transport power across a system.
 
 agxPowerLine::detail
 

Typedefs

typedef void(agxStream::Serializable::* agxPowerLine::detail::RestoreMemFn) (agxStream::StorageStream &)
 Member function signature for methods that read data from a StorageStream. More...
 

Functions

template<typename Container >
size_t agxPowerLine::detail::countStoreRestorable (const Container &components)
 
bool agxPowerLine::detail::hasMarkers (agxStream::StorageStream &in)
 
template<typename T >
bool agxPowerLine::detail::optionallyRestore (agxStream::StorageStream &stream, T *object, const char *const parentName, const char *const dataName)
 Restores data for the given object if the object is not nullptr and the stream contains data for it. More...
 
bool agxPowerLine::detail::optionallyRestore_helper (agxStream::StorageStream &stream, agxStream::Serializable *object, RestoreMemFn restore, const char *const parentName, const char *const dataName)
 Main worker helper for optinally restore. More...
 
bool agxPowerLine::detail::optionallyRestoreLightData (agxStream::StorageStream &in, agxStream::Serializable *object, const char *const parentName, const char *const dataName)
 Restores light data for the given object if the object is not nullptr and the stream contains data for it. More...
 
void agxPowerLine::detail::optionallyStoreLightData (agxStream::StorageStream &out, agxStream::Serializable *object)
 
bool agxPowerLine::detail::restoreConnectorEndMarker (agxStream::StorageStream &in)
 
bool agxPowerLine::detail::restoreLightDataBeginMarker (agxStream::StorageStream &in)
 
bool agxPowerLine::detail::restoreLightDataEndMarker (agxStream::StorageStream &in)
 
bool agxPowerLine::detail::restoreMarker (agxStream::StorageStream &in, agx::UInt16 marker, const char *name)
 
bool agxPowerLine::detail::restorePowerLineBeginMarker (agxStream::StorageStream &in)
 
bool agxPowerLine::detail::restorePowerLineEndMarker (agxStream::StorageStream &in)
 
template<typename Container >
bool agxPowerLine::detail::restoreRestorablesCount (const Container &components, agxStream::StorageStream &in)
 
bool agxPowerLine::detail::restoreUnitEndMarker (agxStream::StorageStream &in)
 
bool agxPowerLine::detail::shouldReadRotationalActuatorConnectorData (size_t archiveAgxVersion, agx::UInt16 archiveSerializationVersion)
 
bool agxPowerLine::detail::shouldReadRotationalDimensionDirectionReference (size_t archiveAgxVersion, agx::UInt16 archiveSerializationVersion)
 
template<typename Component >
bool agxPowerLine::detail::shouldStore (const Component &c)
 
void agxPowerLine::detail::storeConnectorEndMarker (agxStream::StorageStream &out)
 
void agxPowerLine::detail::storeLightDataBeginMarker (agxStream::StorageStream &out)
 
void agxPowerLine::detail::storeLightDataEndMarker (agxStream::StorageStream &out)
 
void agxPowerLine::detail::storePowerLineBeginMarker (agxStream::StorageStream &out)
 
void agxPowerLine::detail::storePowerLineEndMarker (agxStream::StorageStream &out)
 
template<typename Container >
void agxPowerLine::detail::storeStorablesCount (const Container &components, agxStream::StorageStream &out)
 
void agxPowerLine::detail::storeUnitEndMarker (agxStream::StorageStream &out)
 

Variables

const agx::UInt16 agxPowerLine::detail::CONNECTOR_END_MARKER = 0x0543
 
const agx::UInt16 agxPowerLine::detail::LIGHT_DATA_BEGIN_MARKER = 0x51b7
 
const agx::UInt16 agxPowerLine::detail::LIGHT_DATA_END_MARKER = 0xfc4b
 
const agx::UInt16 agxPowerLine::detail::MARKER_SERIALIZATION_VERSION = 92
 
const agx::UInt16 agxPowerLine::detail::POWERLINE_BEGIN_MARKER = 0x5b04
 
const agx::UInt16 agxPowerLine::detail::POWERLINE_END_MARKER = 0x7245
 
const agx::UInt16 agxPowerLine::detail::UNIT_END_MARKER = 0x4a73