#include <WireMergeSplitAlgorithm.h>
Definition at line 32 of file WireMergeSplitAlgorithm.h.
| Enumerator |
|---|
| NONE |
|
| CONTACTS |
|
| CONSTRAINTS |
|
| WIRES |
|
| POST_SOLVE |
|
| GRANULARS |
|
| END_OF_CALLBACKS |
|
Definition at line 35 of file MergeSplitAlgorithm.h.
| agxSDK::WireMergeSplitAlgorithm::WireMergeSplitAlgorithm |
( |
| ) |
|
| virtual agxSDK::WireMergeSplitAlgorithm::~WireMergeSplitAlgorithm |
( |
| ) |
|
|
protectedvirtual |
| void agx::Referenced::allocateObserverVector |
( |
| ) |
const |
|
protectedinherited |
template<typename T >
| T* agx::Referenced::as |
( |
| ) |
|
|
inherited |
template<typename T >
| const T* agx::Referenced::as |
( |
| ) |
const |
|
inherited |
template<typename T >
| T* agx::Referenced::asSafe |
( |
| ) |
|
|
inherited |
template<typename T >
| const T* agx::Referenced::asSafe |
( |
| ) |
const |
|
inherited |
| void agx::Referenced::deleteUsingDeleteHandler |
( |
| ) |
const |
|
protectedinherited |
| void agxStream::Serializable::generateUuid |
( |
| ) |
|
|
protectedinherited |
| const char* agxSDK::WireMergeSplitAlgorithm::getClassName |
( |
| ) |
const |
|
inlineoverridevirtual |
| static const char* agxSDK::WireMergeSplitAlgorithm::getConstructClassId |
( |
| ) |
|
|
inlinestatic |
| bool agxStream::Serializable::getEnableSerialization |
( |
| ) |
const |
|
inherited |
- Returns
- true if serialization is enabled for this object
Definition at line 273 of file Serializable.h.
| bool agxStream::Serializable::getEnableUuidGeneration |
( |
| ) |
|
|
inherited |
- Returns
- true if Uuid:s should be generated for each new Serializable object
| 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.
- Returns
- the merge split handler this algorithm belongs to
| int agx::Referenced::getReferenceCount |
( |
| ) |
const |
|
inherited |
- Returns
- the number pointers currently referencing this object.
| agxStream::StorageAgent* agxSDK::WireMergeSplitAlgorithm::getStorageAgent |
( |
| ) |
const |
|
inlineoverridevirtual |
| agx::Uuid agxStream::Serializable::getUuid |
( |
| ) |
const |
|
inherited |
template<typename T >
| bool agx::Referenced::is |
( |
| ) |
const |
|
inherited |
| 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.
Callback when wires recives calls to attach.
If this algorithm is active, this method will split the wire if it has been merged with this algorithm.
- Parameters
-
| wire | - called wire |
| node | - node to attach |
| begin | - true if node is being attached to begin of the wire, false end of the wire |
Callback when wires recives calls to attach (given winch).
If this algorithm is active, this method will split the wire if it has been merged with this algorithm.
- Parameters
-
| wire | - called wire |
| winch | - winch to attach |
| begin | - true if winch is being attached to begin of the wire, false end of the wire |
Callback when wires recives calls to detach.
If this algorithm is active, this method will split the affected lumped node if it has been merged with this algorithm.
- Parameters
-
| wire | - called wire |
| begin | - true if detach of begin of the wire, false end of the wire |
Push merge and/or split actions in simulation postSolve.
- Parameters
-
| postSolveData | - the post solve data |
| [out] | actions | - resulting actions |
Reimplemented from agxSDK::MergeSplitAlgorithm.
|
|
protectedvirtualinherited |
Extended compute callback in postSolve.
In this stage it's possible to fetch data from the merged body merge split algorithm containing external interactions with each merged body.
- Parameters
-
| postSolveData | - the post solve data |
| mergedBodyAlgorithm | - the merged body merge split algorithm |
Reimplemented from agxSDK::MergeSplitAlgorithm.
Push merge and/or split actions in simulation preStep.
- Parameters
-
| [out] | actions | - resulting actions |
Reimplemented from agxSDK::MergeSplitAlgorithm.
| virtual void agxSDK::MergeSplitAlgorithm::onPreStepCompute |
( |
| ) |
|
|
protectedvirtualinherited |
| 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.
Referenced by agxData::Val< UInt >::Val().
Internal: Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to.
| 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.
| 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.
| void agxStream::Serializable::setFinished |
( |
| ) |
|
|
inherited |
Tells this class that it is restored correctly and should not be deleted during destruction of an Archive.
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!
| 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.
| 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.
template<typename T >
| static bool agx::Referenced::ValidateCast |
( |
const Referenced * |
object | ) |
|
|
staticinherited |
| Mutex agx::Referenced::m_mutex |
|
mutableprotectedinherited |
|
|
mutableprotectedinherited |
| AtomicValue agx::Referenced::m_refCount |
|
mutableprotectedinherited |
The documentation for this class was generated from the following file: