#include <CablePlasticity.h>
Definition at line 30 of file CablePlasticity.h.
◆ CablePlasticity()
| agxCable::CablePlasticity::CablePlasticity |
( |
| ) |
|
◆ ~CablePlasticity()
| virtual agxCable::CablePlasticity::~CablePlasticity |
( |
| ) |
|
|
protectedvirtual |
◆ allocateObserverVector()
| void agx::Referenced::allocateObserverVector |
( |
| ) |
const |
|
protectedinherited |
◆ as() [1/2]
template<typename T >
| T* agx::Referenced::as |
( |
| ) |
|
|
inherited |
◆ as() [2/2]
template<typename T >
| const T* agx::Referenced::as |
( |
| ) |
const |
|
inherited |
◆ asSafe() [1/2]
template<typename T >
| T* agx::Referenced::asSafe |
( |
| ) |
|
|
inherited |
◆ asSafe() [2/2]
template<typename T >
| const T* agx::Referenced::asSafe |
( |
| ) |
const |
|
inherited |
◆ create() [1/2]
◆ create() [2/2]
◆ deleteUsingDeleteHandler()
| void agx::Referenced::deleteUsingDeleteHandler |
( |
| ) |
const |
|
protectedinherited |
◆ generateUuid()
| void agxStream::Serializable::generateUuid |
( |
| ) |
|
|
protectedinherited |
◆ getClassName()
| const char* agxCable::CablePlasticity::getClassName |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getConstructClassId()
| static const char* agxCable::CablePlasticity::getConstructClassId |
( |
| ) |
|
|
inlinestatic |
◆ getDeleteHandler()
◆ getEnableSerialization()
| bool agxStream::Serializable::getEnableSerialization |
( |
| ) |
const |
|
inherited |
- Returns
- true if serialization is enabled for this object
Definition at line 273 of file Serializable.h.
◆ getEnableUuidGeneration()
| bool agxStream::Serializable::getEnableUuidGeneration |
( |
| ) |
|
|
inherited |
- Returns
- true if Uuid:s should be generated for each new Serializable object
◆ getIndex()
| agx::UInt32 agxStream::Serializable::getIndex |
( |
| ) |
const |
|
inherited |
This index is given at creation of this object.
It is guaranteed to be unique for the lifetime of this library instance. As long as the application is running. This value is not serialized or restored. A new object will always get a new index no matter how it is created.
- Returns
- an instance index of this object. This is unique for the lifetime of this library instance.
Definition at line 247 of file Serializable.h.
◆ getLinkedStructure()
- Returns
- the linked structure this component has been added to - otherwise null
◆ getName()
| const agx::Name& agxSDK::LinkedStructureComponent::getName |
( |
| ) |
const |
|
inherited |
- Returns
- the given name of this component used to find this component from the linked structure this component is part of
◆ getReferenceCount()
| int agx::Referenced::getReferenceCount |
( |
| ) |
const |
|
inherited |
- Returns
- the number pointers currently referencing this object.
◆ getSimulation()
- Returns
- the simulation the linked structure has been added to - otherwise null
◆ getStorageAgent()
| agxStream::StorageAgent* agxCable::CablePlasticity::getStorageAgent |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getUuid()
| agx::Uuid agxStream::Serializable::getUuid |
( |
| ) |
const |
|
inherited |
◆ getYieldPoint()
◆ is()
template<typename T >
| bool agx::Referenced::is |
( |
| ) |
const |
|
inherited |
◆ isFinished()
| bool agxStream::Serializable::isFinished |
( |
| ) |
const |
|
inherited |
- Returns
- true if this class is restored correctly and should not be deleted during destruction of an Archive.
Definition at line 252 of file Serializable.h.
References AGX_FORCE_INLINE.
◆ onAddNotification() [1/2]
|
|
protectedvirtualinherited |
Called when addNotification is executed when this linked structure is added to the simulation.
Reimplemented in agxCable::CableDamage.
◆ onAddNotification() [2/2]
|
|
protectedvirtualinherited |
◆ onLastStep()
| virtual void agxSDK::LinkedStructureComponent::onLastStep |
( |
| ) |
|
|
protectedvirtualinherited |
Called on simulation last step event - after user lastStep.
◆ onPostStep()
| virtual void agxSDK::LinkedStructureComponent::onPostStep |
( |
| ) |
|
|
protectedvirtualinherited |
◆ onPreCollideStep()
| virtual void agxSDK::LinkedStructureComponent::onPreCollideStep |
( |
| ) |
|
|
protectedvirtualinherited |
Called on simulation pre-collide step event - after user preCollide.
◆ onPreStep()
| virtual void agxSDK::LinkedStructureComponent::onPreStep |
( |
| ) |
|
|
protectedvirtualinherited |
◆ onRemoveNotification() [1/2]
|
|
protectedvirtualinherited |
Called when removeNotification is executed when this linked structure is removed from the simulation.
◆ onRemoveNotification() [2/2]
|
|
protectedvirtualinherited |
Called when this component is removed from a linked structure.
◆ reference()
| void agx::Referenced::reference |
( |
void * |
ptr = nullptr | ) |
const |
|
inherited |
Explicitly increment the reference count by one, indicating that this object has another pointer which is referencing it.
This method should be used with care, always balanced with the same number of calls to unreference.
◆ restore()
◆ setDeleteHandler()
Internal: Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to.
◆ setEnableSerialization()
| void agxStream::Serializable::setEnableSerialization |
( |
bool |
flag | ) |
|
|
inherited |
Set to false to disable serialization of this object.
It will just be ignored during serialization (writing). It is still possible to restore TO this object.
◆ setEnableUuidGeneration()
| static void agxStream::Serializable::setEnableUuidGeneration |
( |
bool |
flag | ) |
|
|
staticinherited |
Specify if there should be UUID:s generated for each new Serializable object. By default it is enabled.
◆ setFinished()
| void agxStream::Serializable::setFinished |
( |
| ) |
|
|
inherited |
Tells this class that it is restored correctly and should not be deleted during destruction of an Archive.
◆ setName()
| void agxSDK::LinkedStructureComponent::setName |
( |
const agx::Name & |
name | ) |
|
|
inherited |
Assign new name to this component.
The name can be used to find this component from the linked structure this component is part of.
- Parameters
-
| name | - new name of this component |
◆ setUuid()
Explicitly set a Uuid on a serializable object.
Use this method with great care, as it can result in non-unique identifiers in the system!
◆ setYieldPoint()
◆ store()
◆ unreference()
| void agx::Referenced::unreference |
( |
void * |
ptr = nullptr | ) |
const |
|
inherited |
Decrement the reference count by one, indicating that a pointer to this object is referencing it.
If the reference count goes to zero, it is assumed that this object is no longer referenced and is automatically deleted.
This method should be used with care, always balanced with the same number of calls to reference.
Referenced by agxData::EntityRef< ContactMaterialPtr >::~EntityRef().
◆ unreference_nodelete()
| void agx::Referenced::unreference_nodelete |
( |
| ) |
const |
|
inherited |
Decrement the reference count by one, indicating that a pointer to this object is referencing it.
However, do not delete it, even if ref count goes to 0. Warning, unref_nodelete() should only be called if the user knows exactly who will be responsible for, one should prefer unref() over unref_nodelete() as the later can lead to memory leaks.
◆ ValidateCast()
template<typename T >
| static bool agx::Referenced::ValidateCast |
( |
const Referenced * |
object | ) |
|
|
staticinherited |
◆ m_mutex
| Mutex agx::Referenced::m_mutex |
|
mutableprotectedinherited |
◆ m_observers
|
|
mutableprotectedinherited |
◆ m_refCount
| AtomicValue agx::Referenced::m_refCount |
|
mutableprotectedinherited |
The documentation for this class was generated from the following file: