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