AGX Dynamics
2.38.0.2
agxData.h
Go to the documentation of this file.
1
/*
2
Copyright 2007-2024. 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
#ifndef AGXDATA_AGXDATA_H
18
#define AGXDATA_AGXDATA_H
19
20
#include <
agx/String.h
>
21
#include <
agx/Integer.h
>
22
27
namespace
agxData
28
{
29
template
<
typename
T>
30
class
Array
;
31
35
enum
AccessMode
36
{
37
READ
= 0x1,
38
WRITE
= 0x2,
39
READ_WRITE
=
READ
|
WRITE
40
};
41
42
AGXCORE_EXPORT
agx::UInt
getAccessMode
(
const
agx::String
& modeName);
43
AGXCORE_EXPORT
agx::String
getAccessModeString
(
agx::UInt
mode);
44
45
typedef
agx::UInt8
Byte
;
46
typedef
Byte
*
BytePtr
;
47
typedef
const
Byte
*
ConstBytePtr
;
48
typedef
agx::VectorPOD<Byte>
ByteVector
;
49
50
typedef
Array<agx::Index>
IndexArray
;
51
52
}
53
54
55
#endif
/* _AGXDATA_AGXDATA_H_ */
AGXCORE_EXPORT
#define AGXCORE_EXPORT
agxData::getAccessModeString
AGXCORE_EXPORT agx::String getAccessModeString(agx::UInt mode)
agx::UInt
uint64_t UInt
Definition:
Integer.h:27
agxData::READ_WRITE
@ READ_WRITE
Definition:
agxData.h:39
agxData::READ
@ READ
Definition:
agxData.h:37
agxData::IndexArray
Array< agx::Index > IndexArray
Definition:
agxData.h:50
agxData::WRITE
@ WRITE
Definition:
agxData.h:38
agxData::ByteVector
agx::VectorPOD< Byte > ByteVector
Definition:
agxData.h:48
agx::VectorPOD
Vector containing 'raw' data.
Definition:
Vector.h:245
agxData
Contains classes for low level data storage for AGX.
Definition:
Container.h:23
agxData::Array
Type-specific Array used for fast access into the data held by a Buffer.
Definition:
agxData.h:30
agx::UInt8
uint8_t UInt8
Definition:
Integer.h:30
agxData::ConstBytePtr
const typedef Byte * ConstBytePtr
Definition:
agxData.h:47
Integer.h
agxData::Byte
agx::UInt8 Byte
Definition:
agxData.h:45
agxData::BytePtr
Byte * BytePtr
Definition:
agxData.h:46
String.h
agx::AgXString
Definition:
String.h:31
agxData::getAccessMode
AGXCORE_EXPORT agx::UInt getAccessMode(const agx::String &modeName)
agxData::AccessMode
AccessMode
Data access mode.
Definition:
agxData.h:35
include
agxData
agxData.h
Generated on Sun Sep 1 2024 11:18:16 for AGX Dynamics by
1.8.17