AGX Dynamics 2.42.3.1
Loading...
Searching...
No Matches
agxPowerLine::detail::RigidBodyRotationalAttachmentSentry Class Reference

RigidBodyTranslationalAttachment has been deprecated and removed. More...

#include <RigidBodyAttachmentSentry.h>

+ Inheritance diagram for agxPowerLine::detail::RigidBodyRotationalAttachmentSentry:

Public Member Functions

virtual const char * getClassName () const override
 
virtual agxStream::StorageAgent * getStorageAgent () const override
 
virtual void restore (agxStream::InputArchive &in) override
 
virtual void store (agxStream::OutputArchive &out) const override
 
- Public Member Functions inherited from agxStream::Serializable
virtual ~Serializable ()
 Destructor for normal C++ use but hidden from SWIG bindings.
 
virtual const char * getClassName () const
 
bool getEnableSerialization () const
 
bool getEnableUuidGeneration ()
 
agx::UInt32 getIndex () const
 This index is given at creation of this object.
 
virtual StorageAgent * getStorageAgent () const =0
 
agx::Uuid getUuid () const
 
bool isFinished () const
 
void setEnableSerialization (bool flag)
 Set to false to disable serialization of this object.
 
void setFinished ()
 Tells this class that it is restored correctly and should not be deleted during destruction of an Archive.
 
void setUuid (const agx::Uuid &uuid)
 Explicitly set a Uuid on a serializable object.
 

Static Public Member Functions

static agxStream::Serializable * create ()
 
static agxStream::Serializable * create (agxStream::InputArchive &)
 
static const char * getConstructClassId ()
 
- Static Public Member Functions inherited from agxStream::Serializable
static void setEnableUuidGeneration (bool flag)
 Specify if there should be UUID:s generated for each new Serializable object. By default it is enabled.
 

Additional Inherited Members

- Protected Member Functions inherited from agxStream::Serializable
 Serializable ()
 Default constructor.
 
 Serializable (const Serializable &other)
 Copy constructor.
 
void generateUuid ()
 

Detailed Description

RigidBodyTranslationalAttachment has been deprecated and removed.

This sentry class detects the presence of such objects in old archive serializations and uses LOGGER_ERROR to abort the restore process.

Definition at line 56 of file RigidBodyAttachmentSentry.h.

Member Function Documentation

◆ create() [1/2]

static agxStream::Serializable * agxPowerLine::detail::RigidBodyRotationalAttachmentSentry::create ( )
static

◆ create() [2/2]

static agxStream::Serializable * agxPowerLine::detail::RigidBodyRotationalAttachmentSentry::create ( agxStream::InputArchive &  )
static

◆ getClassName()

virtual const char * agxPowerLine::detail::RigidBodyRotationalAttachmentSentry::getClassName ( ) const
overridevirtual
Returns
the class name of this class.

Reimplemented from agxStream::Serializable.

◆ getConstructClassId()

static const char * agxPowerLine::detail::RigidBodyRotationalAttachmentSentry::getConstructClassId ( )
static

◆ getStorageAgent()

virtual agxStream::StorageAgent * agxPowerLine::detail::RigidBodyRotationalAttachmentSentry::getStorageAgent ( ) const
overridevirtual
Returns
the storage agent

Implements agxStream::Serializable.

◆ restore()

virtual void agxPowerLine::detail::RigidBodyRotationalAttachmentSentry::restore ( agxStream::InputArchive &  in)
overridevirtual

◆ store()

virtual void agxPowerLine::detail::RigidBodyRotationalAttachmentSentry::store ( agxStream::OutputArchive &  out) const
overridevirtual

The documentation for this class was generated from the following file: