C++ SDK Reference
12.5
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
diguyMotionPosture.h
Go to the documentation of this file.
1
2
/*
3
* Copyright (C) 1992-2013 Boston Dynamics
4
* ALL RIGHTS RESERVED.
5
*
6
* These coded instructions, statements, and computer programs
7
* contain unpublished proprietary information of Boston Dynamics
8
* and are protected by Copyright Laws of the United States.
9
* They may not be used, duplicated, or disclosed in any form, in
10
* whole or in part, without the prior written consent from Boston
11
* Dynamics.
12
*
13
* RESTRICTED RIGHTS LEGEND
14
* Use, duplication, or disclosure by the government is subject
15
* to restrictions as set forth in FAR 52.227.19(c)(2) or
16
* subparagraph (c)(1)(ii) of the Rights in Technical Data and
17
* Computer Software clause at DFARS 252.227-7013 and/or in
18
* similar or successor clauses in the FAR, or the DOD or NASA
19
* FAR Supplement, or to subparagraphs (c)(1) and (c)(2) of the
20
* Commercial Computer Software--Restricted Rights at 48 CFR
21
* 52.227-19, as applicable. Unpublished-rights reserved under
22
* the Copyright Laws of the United States.
23
* Contractor/Manufacturer is:
24
* Boston Dynamics/78 Fourth Avenue/Waltham MA 02451.
25
*/
26
27
28
/*********************************************************************
29
**
30
*t diguyMotionPosture Type Declaration
31
**
32
*/
33
34
#ifndef __diguyMotionPosture_H
35
#define __diguyMotionPosture_H
36
37
#ifdef SWIG
38
%module
diguyMotionPosture
39
#else
40
#define CPLUSPLUS_ONLY
41
#endif
42
43
extern
"C"
{
44
45
#include <
declspec_diguy.h
>
46
47
48
/****************************************************************************/
49
typedef
enum
{
50
DIGUY_MOTION_POSTURE_UPRIGHT
= 0,
51
DIGUY_MOTION_POSTURE_CROUCHED
,
52
DIGUY_MOTION_POSTURE_PRONE
,
53
DIGUY_MOTION_POSTURE_SITTING
,
54
55
DIGUY_MOTION_POSTURE_UNKNOWN
,
56
DIGUY_MOTION_POSTURE_ANY
,
57
DIGUY_MOTION_POSTURE_COUNT
58
}
diguyMotionPosture
;
59
60
/*l
61
*b Description:
62
**
63
** This function converts the passed posture enumeration into
64
** a NULL-terminated C-style string.
65
**
66
*b Returns:
67
**
68
** C-style string identifying posture
69
**
70
*b Callable From:
71
**
72
*- - C++
73
*- - Script
74
*/
75
BDI_DECLSPEC_diguy
76
const
char
*
diguy_motion_posture_to_string
(
diguyMotionPosture
posture);
77
78
/*l
79
*b Description:
80
**
81
** This function converts the passed C-style string into an
82
** enumerated value.
83
**
84
** Postures are used in functions such as
85
** diguyCharacter::get_action_from_description().
86
**
87
*b Returns:
88
**
89
** enumeration value of posture
90
**
91
*b Callable From:
92
**
93
*- - C++
94
*- - Script
95
*/
96
BDI_DECLSPEC_diguy
97
diguyMotionPosture
diguy_motion_posture_from_string
(
const
char
*
string
);
98
99
100
}
/* end extern "C" */
101
102
#endif
/* __diguyMotionPosture_H */
103
104
105
/*
106
* Copyright (C) 1992-2013 Boston Dynamics
107
* ALL RIGHTS RESERVED.
108
*
109
* These coded instructions, statements, and computer programs
110
* contain unpublished proprietary information of Boston Dynamics
111
* and are protected by Copyright Laws of the United States.
112
* They may not be used, duplicated, or disclosed in any form, in
113
* whole or in part, without the prior written consent from Boston
114
* Dynamics.
115
*
116
* RESTRICTED RIGHTS LEGEND
117
* Use, duplication, or disclosure by the government is subject
118
* to restrictions as set forth in FAR 52.227.19(c)(2) or
119
* subparagraph (c)(1)(ii) of the Rights in Technical Data and
120
* Computer Software clause at DFARS 252.227-7013 and/or in
121
* similar or successor clauses in the FAR, or the DOD or NASA
122
* FAR Supplement, or to subparagraphs (c)(1) and (c)(2) of the
123
* Commercial Computer Software--Restricted Rights at 48 CFR
124
* 52.227-19, as applicable. Unpublished-rights reserved under
125
* the Copyright Laws of the United States.
126
* Contractor/Manufacturer is:
127
* Boston Dynamics/78 Fourth Avenue/Waltham MA 02451.
128
*/
129
include
diguyMotionPosture.h
Generated on Wed Sep 18 2013 11:47:09 for C++ SDK Reference by
1.8.3.1