AGXDynamics
2.35.0.3
AssimpLoggerSingleton.h
Go to the documentation of this file.
1
/*
2
Copyright 2007-2022. 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
#pragma once
18
19
#include <agx/config/AGX_USE_ASSIMP.h>
20
#if AGX_USE_ASSIMP()
21
22
#include <
agx/Singleton.h
>
23
namespace
agxIO
24
{
25
31
class
AGXPHYSICS_EXPORT
AssimpLoggerSingleton :
public
agx::Singleton
32
{
33
34
public
:
35
37
AssimpLoggerSingleton();
38
39
static
AssimpLoggerSingleton* instance();
40
41
SINGLETON_CLASSNAME_METHOD();
42
43
protected
:
44
void
shutdown
()
override
;
45
46
private
:
47
48
virtual
~AssimpLoggerSingleton();
49
50
static
AssimpLoggerSingleton* s_instance;
51
agx::Vector<void*>
m_logStreams;
52
53
};
54
}
55
56
// AGX_USE_ASSIMP()
57
#endif
agx::Vector
Templated vector class.
Definition:
Vector.h:52
AGXPHYSICS_EXPORT
#define AGXPHYSICS_EXPORT
agx::shutdown
void AGXPHYSICS_EXPORT shutdown()
Shutdown agx.
agx::Singleton
Base class for Singletons that should have its shutdown called explicitly before exit of the applicat...
Definition:
Singleton.h:30
Singleton.h
agxIO
The agxIO namespace contains classes for reading, writing and finding files.
Definition:
Material.h:41
include
agxIO
AssimpLoggerSingleton.h
Generated on Fri Feb 10 2023 14:06:08 for AGXDynamics by
1.8.17