AGX Dynamics  2.37.3.2
macros.h File Reference
#include <agx/config.h>
#include <hedley/hedley.h>

Go to the source code of this file.

Macros

#define _AGX_CONCAT(x, y)   x ## y
 Macro string concatenation, using extra level of indirection Example: Foo ## LINE ==> Foo__LINE__ AGX_CONCAT(Foo, LINE) ==> Foo124. More...
 
#define _AGX_CONCAT(x, y)   x ## y
 
#define AGX_ALIGNED(t, a)   t __attribute__ ((aligned (a)))
 
#define AGX_ALIGNED(t, a)   t __attribute__ ((aligned (a)))
 
#define AGX_CONCAT(x, y)   _AGX_CONCAT(x,y)
 
#define AGX_CONCAT(x, y)   _AGX_CONCAT(x,y)
 
#define AGX_DEBUG
 
#define AGX_DEPRECATED(since)   HEDLEY_DEPRECATED(since)
 
#define AGX_DEPRECATED(since)   HEDLEY_DEPRECATED(since)
 
#define AGX_DEPRECATED_FOR(since, replacement)   HEDLEY_DEPRECATED_FOR(since, replacement)
 
#define AGX_DEPRECATED_FOR(since, replacement)   HEDLEY_DEPRECATED_FOR(since, replacement)
 
#define AGX_FORCE_INLINE   inline
 
#define AGX_FORCE_INLINE   inline
 
#define AGX_ITERATE_INDEX_SET(set, i)   typename SetT::iterator _agx_set_iterator = set.begin(), _agx_set_end = set.end(); for (typename SetT::Type i; (_agx_set_iterator != _agx_set_end) && ((i = *_agx_set_iterator), true); ++_agx_set_iterator)
 
#define AGX_ITERATE_INDEX_SET(set, i)   typename SetT::iterator _agx_set_iterator = set.begin(), _agx_set_end = set.end(); for (typename SetT::Type i; (_agx_set_iterator != _agx_set_end) && ((i = *_agx_set_iterator), true); ++_agx_set_iterator)
 
#define AGX_MACROS_H
 
#define AGX_MAYBE_UNUSED
 
#define AGX_MAYBE_UNUSED
 
#define AGX_NOEXCEPT   noexcept
 
#define AGX_NOEXCEPT   noexcept
 
#define AGX_STATIC_ASSERT(X)   static_assert(X, #X)
 
#define AGX_STATIC_ASSERT(X)   static_assert(X, #X)
 
#define AGX_STRINGIFY(A)   #A
 
#define AGX_STRINGIFY(A)   #A
 
#define AGX_TOSTRING(x)   AGX_STRINGIFY(x)
 
#define AGX_TOSTRING(x)   AGX_STRINGIFY(x)
 
#define CALLABLE
 
#define CALLABLE
 
#define CALLABLE_IGNORE
 
#define CALLABLE_IGNORE
 
#define CALLABLE_UNIT(param)
 
#define CALLABLE_UNIT(param)
 
#define DOXYGEN_END_INTERNAL_BLOCK()   /** \endcond */
 
#define DOXYGEN_END_INTERNAL_BLOCK()   /** \endcond */
 
#define DOXYGEN_START_INTERNAL_BLOCK()   /** \cond INTERNAL_DOCUMENTATION */
 
#define DOXYGEN_START_INTERNAL_BLOCK()   /** \cond INTERNAL_DOCUMENTATION */
 

Macro Definition Documentation

◆ _AGX_CONCAT [1/2]

#define _AGX_CONCAT (   x,
  y 
)    x ## y

Macro string concatenation, using extra level of indirection Example: Foo ## LINE ==> Foo__LINE__ AGX_CONCAT(Foo, LINE) ==> Foo124.

Definition at line 39 of file Object.h.

◆ _AGX_CONCAT [2/2]

#define _AGX_CONCAT (   x,
  y 
)    x ## y

◆ AGX_ALIGNED [1/2]

#define AGX_ALIGNED (   t,
  a 
)    t __attribute__ ((aligned (a)))

Definition at line 65 of file Object.h.

Referenced by agx::innerProd_6(), and agx::mult().

◆ AGX_ALIGNED [2/2]

#define AGX_ALIGNED (   t,
  a 
)    t __attribute__ ((aligned (a)))

◆ AGX_CONCAT [1/2]

#define AGX_CONCAT (   x,
  y 
)    _AGX_CONCAT(x,y)

◆ AGX_CONCAT [2/2]

#define AGX_CONCAT (   x,
  y 
)    _AGX_CONCAT(x,y)

Definition at line 40 of file Object.h.

◆ AGX_DEBUG

#define AGX_DEBUG

Definition at line 26 of file macros.h.

◆ AGX_DEPRECATED [1/2]

#define AGX_DEPRECATED (   since)    HEDLEY_DEPRECATED(since)

◆ AGX_DEPRECATED [2/2]

#define AGX_DEPRECATED (   since)    HEDLEY_DEPRECATED(since)

Definition at line 90 of file Object.h.

◆ AGX_DEPRECATED_FOR [1/2]

#define AGX_DEPRECATED_FOR (   since,
  replacement 
)    HEDLEY_DEPRECATED_FOR(since, replacement)

Definition at line 91 of file Object.h.

◆ AGX_DEPRECATED_FOR [2/2]

#define AGX_DEPRECATED_FOR (   since,
  replacement 
)    HEDLEY_DEPRECATED_FOR(since, replacement)

◆ AGX_FORCE_INLINE [1/2]

#define AGX_FORCE_INLINE   inline

Definition at line 59 of file Object.h.

Referenced by agx::Vector< WireContactConstraintRef >::allocator(), agx::VectorPOD< agx::Vec6 >::allocator(), agx::HashSetImplementation< CellPtr, HashFn< CellPtr >, ByteAllocator >::allocator(), agx::QuadraticProbingHashTableImplementation< SymmetricMaterialPair, agx::ContactMaterialRef, HashFn< SymmetricMaterialPair >, ByteAllocator >::allocator(), agx::BodyContactJacobianT< JacobianElementT >::BodyContactJacobianT(), agxCollide::Shape::calculateBound(), agx::calculateBoundingRadius< agx::GridCell2DTable >(), agxData::EntityPtr::calculateIndex(), agxCollide::Space::canCollide(), agx::connectToParentCell(), agx::const_pointer_cast(), agx::createCell(), agx::dynamic_pointer_cast(), agx::Name::empty(), agx::CellTable< CellIdT, HashT >::end(), agx::equivalent(), agx::MergedBody::filter(), agxCollide::GeometryContact::geometry(), agx::JacobianAccessorT< JacobianElementT >::get(), agx::get_pointer(), agxData::EntityModel::getAttributes(), agxData::EntityStorage::getBuffer(), agx::ContactMaterial::getContactReductionBinResolution(), agx::ConstraintImplementation::getCurrentSpeed(), agxData::Buffer::getGlobalResult(), agxSDK::SimulationFrameReader::DirtySet::getIndexList(), agxData::EntityStorage::getInstanceBuffer(), agx::Thread::getMainThread(), agxCollide::GeometryContact::getMaterial(), agx::RigidBody::AutoSleepProperties::getRestTime(), agxWire::NodeFrame::getRigidBody(), agxCollide::Geometry::getRotation(), agx::QuadraticProbingHashTableImplementation< KeyT, DataT, HashT, AllocatorT >::Bucket::getState(), agxCollide::Geometry::getSurfaceVelocity(), agx::HighAccuracyTimer::getTime(), agx::Timer::getTime(), agx::SurfaceMaterial::getViscosity(), agx::Material::getWireMaterial(), agx::Emitter::hasCollisionGroup(), agxCollide::Shape::incrementModifiedCount(), agx::Vector< WireContactConstraintRef >::insert(), agx::VectorPOD< agx::Vec6 >::insert(), agx::MergedBody::isActive(), agx::BulkMaterial::isDirty(), agxCollide::GeometryContact::isEnabled(), agxStream::Serializable::isFinished(), agx::Thread::isMainThread(), agx::Callback1< const agx::String & >::isRepeating(), agx::Callback2< Track *, std::exception & >::isRepeating(), agx::Callback3< T1, T2, T3 >::isRepeating(), agx::Callback4< T1, T2, T3, T4 >::isRepeating(), agx::JacobianAccessorT< JacobianElementT >::JacobianAccessorT(), agx::Vec2T< Real >::length2(), agx::Thread::log(), agx::Matrix4x4T< T >::multSSE32Implementation(), agx::observer_ptr< agx::Constraint >::objectDeleted(), agx::Uuid::Less< T >::operator()(), agx::HashFn< Int64 >::operator()(), agx::RefPtrAccessor< Type >::operator()(), agx::Vec2T< Real >::operator*(), agx::operator*(), agx::operator<<(), agx::SPDMatrix3x3::operator=(), agx::CellTable< CellIdT, HashT >::template_iterator< T >::operator=(), agx::HashSetImplementation< KeyT, HashT, AllocatorT >::template_iterator< T >::operator=(), agx::QuadraticProbingHashTableImplementation< KeyT, DataT, HashT, AllocatorT >::template_iterator< T >::operator=(), agxData::Scalar< T >::operator[](), agx::PlaneT< T >::PlaneT(), agx::SetVector< agx::ref_ptr< agxSDK::EventListener > >::purge(), agxData::Vector< T >::resize(), agx::RollingResistanceJacobianT< JacobianElementT >::RollingResistanceJacobianT(), agx::ObjectWrapper< T >::set(), agxCollide::GeometryContact::setCustomData(), agx::JacobianAccessorT< JacobianElementT >::setup(), agxData::StackArray< T, N >::StackArray(), agxCollide::GeometryContact::state(), agx::static_pointer_cast(), agx::TangentJacobianT< JacobianElementT >::TangentJacobianT(), agx::Vec2T< Real >::Vec2T(), agxData::BufferT< T >::~BufferT(), and agxData::EntityRef< ContactMaterialPtr >::~EntityRef().

◆ AGX_FORCE_INLINE [2/2]

#define AGX_FORCE_INLINE   inline

◆ AGX_ITERATE_INDEX_SET [1/2]

#define AGX_ITERATE_INDEX_SET (   set,
  i 
)    typename SetT::iterator _agx_set_iterator = set.begin(), _agx_set_end = set.end(); for (typename SetT::Type i; (_agx_set_iterator != _agx_set_end) && ((i = *_agx_set_iterator), true); ++_agx_set_iterator)

Definition at line 52 of file Object.h.

◆ AGX_ITERATE_INDEX_SET [2/2]

#define AGX_ITERATE_INDEX_SET (   set,
  i 
)    typename SetT::iterator _agx_set_iterator = set.begin(), _agx_set_end = set.end(); for (typename SetT::Type i; (_agx_set_iterator != _agx_set_end) && ((i = *_agx_set_iterator), true); ++_agx_set_iterator)

◆ AGX_MACROS_H

#define AGX_MACROS_H

Definition at line 19 of file Object.h.

◆ AGX_MAYBE_UNUSED [1/2]

#define AGX_MAYBE_UNUSED

◆ AGX_MAYBE_UNUSED [2/2]

#define AGX_MAYBE_UNUSED

Definition at line 83 of file Object.h.

◆ AGX_NOEXCEPT [1/2]

#define AGX_NOEXCEPT   noexcept

◆ AGX_NOEXCEPT [2/2]

#define AGX_NOEXCEPT   noexcept

Definition at line 47 of file Object.h.

◆ AGX_STATIC_ASSERT [1/2]

#define AGX_STATIC_ASSERT (   X)    static_assert(X, #X)

Definition at line 24 of file Object.h.

◆ AGX_STATIC_ASSERT [2/2]

#define AGX_STATIC_ASSERT (   X)    static_assert(X, #X)

◆ AGX_STRINGIFY [1/2]

#define AGX_STRINGIFY (   A)    #A

◆ AGX_STRINGIFY [2/2]

#define AGX_STRINGIFY (   A)    #A

Definition at line 30 of file Object.h.

◆ AGX_TOSTRING [1/2]

#define AGX_TOSTRING (   x)    AGX_STRINGIFY(x)

Definition at line 31 of file Object.h.

◆ AGX_TOSTRING [2/2]

#define AGX_TOSTRING (   x)    AGX_STRINGIFY(x)

◆ CALLABLE [1/2]

#define CALLABLE

◆ CALLABLE [2/2]

#define CALLABLE

Definition at line 73 of file Object.h.

◆ CALLABLE_IGNORE [1/2]

#define CALLABLE_IGNORE

◆ CALLABLE_IGNORE [2/2]

#define CALLABLE_IGNORE

Definition at line 75 of file Object.h.

◆ CALLABLE_UNIT [1/2]

#define CALLABLE_UNIT (   param)

Definition at line 74 of file Object.h.

◆ CALLABLE_UNIT [2/2]

#define CALLABLE_UNIT (   param)

◆ DOXYGEN_END_INTERNAL_BLOCK [1/2]

#define DOXYGEN_END_INTERNAL_BLOCK ( )    /** \endcond */

◆ DOXYGEN_END_INTERNAL_BLOCK [2/2]

#define DOXYGEN_END_INTERNAL_BLOCK ( )    /** \endcond */

Definition at line 98 of file Object.h.

Referenced by agx::Vector< WireContactConstraintRef >::allocator(), agx::VectorPOD< agx::Vec6 >::allocator(), agx::HashSetImplementation< CellPtr, HashFn< CellPtr >, ByteAllocator >::allocator(), agx::QuadraticProbingHashTableImplementation< SymmetricMaterialPair, agx::ContactMaterialRef, HashFn< SymmetricMaterialPair >, ByteAllocator >::allocator(), agxCollide::Space::canCollide(), agx::RowAllocator< Real >::count(), agxModel::FractureAlgorithm::FractureAlgorithm(), agxWire::LinkObjectStabilizingAlgorithm::GeometryPropertyBoolFilter(), agxTerrain::ShovelAggregateContactMaterialContainer::getContactMaterial(), agx::ContactMaterial::getContactReductionBinResolution(), agx::ConstraintImplementation::getCurrentSpeed(), agxModel::BuoyancyAlgorithm::getForceType(), agxWire::LinkObjectStabilizingAlgorithm::getLink(), agxWire::getNode(), agxWire::NodeFrame::getRigidBody(), agx::SurfaceMaterial::getViscosity(), agx::Material::getWireMaterial(), agx::MergedBody::isActive(), agx::BulkMaterial::isDirty(), agxSDK::LinkedSegmentIterator< T >::isEnd(), agx::ElementaryConstraint::linearizeCompliance(), agx::BitArray< NUM_ELEMENTS >::operator=(), agx::RigidBody::operator=(), agxTerrain::Shovel::ExcavationSettings::restore(), agxWire::LinkObjectStabilizingAlgorithm::RigidBodyPropertyBoolFilter(), agx::Material::setName(), agxWire::transformPointToWorld(), agxData::FormatCallerT< T >::~FormatCallerT(), agxUtil::GeneralStepListener< agxModel::SuctionGripper >::~GeneralStepListener(), agxHydraulics::Pump::~Pump(), and agxUtil::TrimeshInterpolator::~TrimeshInterpolator().

◆ DOXYGEN_START_INTERNAL_BLOCK [1/2]

#define DOXYGEN_START_INTERNAL_BLOCK ( )    /** \cond INTERNAL_DOCUMENTATION */

Definition at line 97 of file Object.h.

Referenced by agx::Vector< WireContactConstraintRef >::allocator(), agx::VectorPOD< agx::Vec6 >::allocator(), agx::HashSetImplementation< CellPtr, HashFn< CellPtr >, ByteAllocator >::allocator(), agx::QuadraticProbingHashTableImplementation< SymmetricMaterialPair, agx::ContactMaterialRef, HashFn< SymmetricMaterialPair >, ByteAllocator >::allocator(), agxCollide::Space::canCollide(), agx::RowAllocator< Real >::count(), agxModel::FractureAlgorithm::FractureAlgorithm(), agxWire::LinkObjectStabilizingAlgorithm::GeometryPropertyBoolFilter(), agxTerrain::ShovelAggregateContactMaterialContainer::getContactMaterial(), agx::ContactMaterial::getContactReductionBinResolution(), agx::ConstraintImplementation::getCurrentSpeed(), agxModel::BuoyancyAlgorithm::getForceType(), agxWire::LinkObjectStabilizingAlgorithm::getLink(), agxWire::getNode(), agxWire::NodeFrame::getRigidBody(), agx::SurfaceMaterial::getViscosity(), agx::Material::getWireMaterial(), agx::MergedBody::isActive(), agx::BulkMaterial::isDirty(), agxSDK::LinkedSegmentIterator< T >::isEnd(), agx::ElementaryConstraint::linearizeCompliance(), agx::BitArray< NUM_ELEMENTS >::operator=(), agx::RigidBody::operator=(), agxTerrain::Shovel::ExcavationSettings::restore(), agxWire::LinkObjectStabilizingAlgorithm::RigidBodyPropertyBoolFilter(), agx::Material::setName(), agxWire::transformPointToWorld(), agxData::FormatCallerT< T >::~FormatCallerT(), agxUtil::GeneralStepListener< agxModel::SuctionGripper >::~GeneralStepListener(), agxHydraulics::Pump::~Pump(), and agxUtil::TrimeshInterpolator::~TrimeshInterpolator().

◆ DOXYGEN_START_INTERNAL_BLOCK [2/2]

#define DOXYGEN_START_INTERNAL_BLOCK ( )    /** \cond INTERNAL_DOCUMENTATION */