AGX Dynamics 2.42.1.1
Loading...
Searching...
No Matches
BufferEvent.Implementation.h
Go to the documentation of this file.
1/*
2Copyright 2007-2025. Algoryx Simulation AB.
3
4All AGX source code, intellectual property, documentation, sample code,
5tutorials, scene files and technical white papers, are copyrighted, proprietary
6and confidential material of Algoryx Simulation AB. You may not download, read,
7store, distribute, publish, copy or otherwise disseminate, use or expose this
8material unless having a written signed agreement with Algoryx Simulation AB, or
9having been advised so by Algoryx Simulation AB for a time limited evaluation,
10or having purchased a valid commercial license from Algoryx Simulation AB.
11
12Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13from using this software, unless otherwise stated in written agreements with
14Algoryx Simulation AB.
15*/
16
17//-------------------------------------------------
18// AUTOMATICALLY GENERATED EVENT, DO NOT EDIT!
19//-----------------------------------------------
20
21#ifndef GENERATED_AGX_BUFFER_H_IMPLEMENTATION
22#define GENERATED_AGX_BUFFER_H_IMPLEMENTATION
23
24#include <agx/Integer.h>
25#include <agx/IndexRange.h>
26#include <agxData/Array.h>
27
28AGX_FORCE_INLINE agx::Object* agxData::Buffer::EventListener::getOwner() { return m_owner; }
29template <typename T>
30AGX_FORCE_INLINE T* agxData::Buffer::EventListener::getOwner() { agxAssert(!m_owner || m_owner->is<T>()); return m_owner ? m_owner->as<T>() : nullptr; }
31
32#endif // GENERATED_AGX_BUFFER_H_IMPLEMENTATION
agx::Object is a refcounted object with a name.
Definition: Object.h:59
#define agxAssert(expr)
Definition: debug.h:143
#define AGX_FORCE_INLINE
Definition: macros.h:58