DI-Guy SDK Documentation  13.2
diguyMotionPosture.h
Go to the documentation of this file.
1 
2 /*********************************************************************
3  ** Copyright (c) 1992-2016 VT MAK
4  ** All rights reserved.
5  *********************************************************************/
6 
7 
8 /*********************************************************************
9  **
10  *t diguyMotionPosture Type Declaration
11  **
12  */
13 
14 #ifndef __diguyMotionPosture_H
15 #define __diguyMotionPosture_H
16 
17 #ifdef SWIG
19 #else
20 #define CPLUSPLUS_ONLY
21 #endif
22 
23 extern "C" {
24 
25 #include <declspec_diguy.h>
26 
27 
28 /****************************************************************************/
29 typedef enum {
34 
39 
40 /*l
41  *b Description:
42  **
43  ** This function converts the passed posture enumeration into
44  ** a NULL-terminated C-style string.
45  **
46  *b Returns:
47  **
48  ** C-style string identifying posture
49  **
50  *b Callable From:
51  **
52  *- - C++
53  *- - Script
54  */
55 BDI_DECLSPEC_diguy
57 
58 /*l
59  *b Description:
60  **
61  ** This function converts the passed C-style string into an
62  ** enumerated value.
63  **
64  ** Postures are used in functions such as
65  ** diguyCharacter::get_action_from_description().
66  **
67  *b Returns:
68  **
69  ** enumeration value of posture
70  **
71  *b Callable From:
72  **
73  *- - C++
74  *- - Script
75  */
76 BDI_DECLSPEC_diguy
78 
79 
80 } /* end extern "C" */
81 
82 #endif /* __diguyMotionPosture_H */
83 
84 
85 /*********************************************************************
86  ** Copyright (c) 1992-2016 VT MAK
87  ** All rights reserved.
88  *********************************************************************/
89 
Definition: diguyMotionPosture.h:29
diguyMotionPosture diguy_motion_posture_from_string(const char *string)
This function converts the passed C-style string into an enumerated value.
Definition: diguyMotionPosture.h:28
Definition: diguyMotionPosture.h:32
const char * diguy_motion_posture_to_string(diguyMotionPosture posture)
This function converts the passed posture enumeration into a NULL-terminated C-style string...
Definition: diguyMotionPosture.h:33
Definition: diguyMotionPosture.h:34
Definition: diguyMotionPosture.h:27
Definition: diguyMotionPosture.h:30
diguyMotionPosture
Definition: diguyMotionPosture.h:26