AGXDynamics
2.31.1.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
ScriptRuntimeListener.h
Go to the documentation of this file.
1
/*
2
Copyright 2007-2021. 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 having been
9
advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10
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
#pragma once
19
#ifndef AGXPYTHON_SCRIPTRUNTIMELISTENER_H
20
#define AGXPYTHON_SCRIPTRUNTIMELISTENER_H 1
21
22
#include <
agx/config/AGX_USE_PYTHON.h
>
23
24
#if AGX_USE_PYTHON()
25
26
#include <
agxPython/export.h
>
27
28
#include <
agx/Referenced.h
>
29
#include <
agx/String.h
>
30
31
#include <string>
32
33
namespace
agxPython
34
{
35
class
ReactiveScript;
36
37
class
AGXPYTHON_EXPORT
ScriptRuntimeListener
:
public
agx::Referenced
38
{
39
public
:
40
41
friend
class
ReactiveScript
;
42
43
ScriptRuntimeListener
();
44
45
virtual
void
OnUnhandledException(
const
agx::String
&
message
,
long
line) =0;
46
47
ReactiveScript
*getScript();
48
49
protected
:
50
51
virtual
~
ScriptRuntimeListener
();
52
53
private
:
54
55
ReactiveScript
*m_script;
56
57
};
58
59
60
}
61
62
63
64
#endif
65
66
#endif
agx::AgXString< std::string >
export.h
agxPython::ScriptRuntimeListener
Definition:
ScriptRuntimeListener.h:37
agxPython::ReactiveScript
The ReactiveScript class is derived from the agxSDK::StepEventListener class and require an agxSDK::S...
Definition:
ReactiveScript.h:119
agx::Referenced
Base class providing referencing counted objects.
Definition:
Referenced.h:113
message
GLenum GLuint GLenum GLsizei const GLchar * message
Definition:
gl.h:5539
Referenced.h
AGX_USE_PYTHON.h
AGXPYTHON_EXPORT
#define AGXPYTHON_EXPORT
Definition:
agxPython/export.h:41
String.h
include
agxPython
ScriptRuntimeListener.h
Generated on Mon Mar 21 2022 11:53:04 for AGXDynamics by
1.8.5