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