21 #ifndef GENERATED_AGX_PHYSICS_HIERARCHICALGRID_CORNERZONE_H_PLUGIN
22 #define GENERATED_AGX_PHYSICS_HIERARCHICALGRID_CORNERZONE_H_PLUGIN
24 #define AGX_ENTITY_WRAPPER 1
28 # pragma warning(push)
30 # pragma warning( disable : 4505 )
32 # pragma warning( disable : 4251 )
34 # pragma warning( disable : 4355 )
36 # pragma warning( disable: 4714 )
50 namespace agx {
class Job; }
52 namespace agx {
namespace Physics {
namespace HierarchicalGrid {
class ContactZonePtr; }}}
53 namespace agx {
namespace Physics {
namespace HierarchicalGrid {
class ContactZonePtr; }}}
54 namespace agx {
namespace Physics {
namespace HierarchicalGrid {
class ContactZonePtr; }}}
60 namespace HierarchicalGrid
63 class CornerZoneModel;
66 class CornerZoneInstance;
67 class CornerZoneSemantics;
92 virtual void shutdownCleanup()
override;
101 static const size_t internalZonesArraySize = 4;
110 virtual void configure(agx::TiXmlElement* eEntity)
override;
111 virtual void initAttributeAccessors()
override;
118 #ifndef AGX_PHYSICS_HIERARCHICALGRID_CORNERZONE_DATA_SET_OVERRIDE
119 #define AGX_PHYSICS_HIERARCHICALGRID_CORNERZONE_DATA_SET
123 CornerZoneInstance operator[] (
size_t index);
131 static const size_t internalZonesArraySize = 4;
152 virtual ~CornerZoneData() {}
153 virtual void setNumElements(
agx::Index numElements)
override;
156 CornerZoneData& operator= (
const CornerZoneData&) {
return *
this; }
186 void setJob(
agx::Job*
const& value);
190 friend class CornerZonePtr;
191 friend class CornerZoneInstance;
192 CornerZoneSemantics();
220 CornerZoneData* getData();
221 const CornerZoneData* getData()
const;
266 #ifdef AGX_GENERATED_TOLUA_WRAPPER
267 inline agx::Vec3i const& getId()
const {
return (*this)->getId(); }
273 inline agx::Job*
const& getJob()
const {
return (*this)->getJob(); }
276 inline void setId(
agx::Vec3i const& value) { (*this)->setId(value); }
282 inline void setJob(
agx::Job*
const& value) { (*this)->setJob(value); }
293 CornerZoneInstance();
294 CornerZoneInstance(CornerZoneData* data,
agx::Index index);
299 CornerZoneData* getData();
300 const CornerZoneData* getData()
const;
357 inline CornerZoneInstance
agx::Physics::HierarchicalGrid::CornerZoneData::operator[] (
size_t index) {
return CornerZoneInstance(
this, (
agx::Index)index); }
364 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
371 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
379 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
388 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
395 AGX_FORCE_INLINE CornerZoneSemantics* CornerZonePtr::operator->() {
return (CornerZoneSemantics* )
this; }
396 AGX_FORCE_INLINE const CornerZoneSemantics* CornerZonePtr::operator->()
const {
return (
const CornerZoneSemantics* )
this; }
424 AGX_FORCE_INLINE agx::Job*
const& CornerZonePtr::job()
const { verifyIndex();
return getData()->job[calculateIndex()]; }
433 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
440 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
472 AGX_FORCE_INLINE agx::Job*
const& CornerZoneInstance::job()
const { verifyIndex();
return getData()->job[getIndex()]; }
483 AGX_TYPE_BINDING(
agx::Physics::HierarchicalGrid::CornerZoneInstance, "Physics.HierarchicalGrid.CornerZoneInstance")
486 # pragma warning(pop)
489 #undef AGX_ENTITY_WRAPPER
490 #undef AGX_ENTITY_NAMESPACE