Laelaps  2.3.5
RoadNarrows Robotics Small Outdoor Mobile Robot Project
WatchDogMsgs.i
1 /******************************************************************************
2  *
3  * Package: Laelaps
4  *
5  * File: WatchDogMsgs.i
6  *
7  * $LastChangedDate$
8  * $Rev$
9  */
10 
11 /*!
12  * \file
13  *
14  * \brief Watchdog subprocessor messaging python swig definitions file.
15  *
16  * \author Robin Knight (robin.knight@roadnarrows.com)
17  *
18  * \par Copyright:
19  * (C) 2016. RoadNarrows LLC.
20  * (http://www.roadnarrows.com)
21  * All Rights Reserved
22  */
23 
24 /*
25  * @EulaBegin@
26  * Permission is hereby granted, without written agreement and without
27  * license or royalty fees, to use, copy, modify, and distribute this
28  * software and its documentation for any purpose, provided that
29  * (1) The above copyright notice and the following two paragraphs
30  * appear in all copies of the source code and (2) redistributions
31  * including binaries reproduces these notices in the supporting
32  * documentation. Substantial modifications to this software may be
33  * copyrighted by their authors and need not follow the licensing terms
34  * described here, provided that the new terms are clearly indicated in
35  * all files where they apply.
36  *
37  * IN NO EVENT SHALL THE AUTHOR, ROADNARROWS LLC, OR ANY MEMBERS/EMPLOYEES
38  * OF ROADNARROW LLC OR DISTRIBUTORS OF THIS SOFTWARE BE LIABLE TO ANY
39  * PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
40  * DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION,
41  * EVEN IF THE AUTHORS OR ANY OF THE ABOVE PARTIES HAVE BEEN ADVISED OF
42  * THE POSSIBILITY OF SUCH DAMAGE.
43  *
44  * THE AUTHOR AND ROADNARROWS LLC SPECIFICALLY DISCLAIM ANY WARRANTIES,
45  * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
46  * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN
47  * "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO
48  * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
49  * @EulaEnd@
50  *
51  ******************************************************************************/
52 
53 %module WatchDogMsgs
54 %{
55 #include "rnr/rnrconfig.h"
56 %}
57 
58 %begin
59 %{
60 /*! \file
61  * \brief Swig generated WatchDog messaging wrapper c file.
62  */
63 %}
64 
65 /*
66  * Required RNR C types
67  */
68 typedef unsigned char byte_t;
69 typedef unsigned short ushort_t;
70 typedef unsigned int uint_t;
71 typedef unsigned long ulong_t;
72 typedef int bool_t;
73 
74 #define const %constant
75 
76 %include "Laelaps/laeWatchDog.h"
77 
78 #undef const
79 
80 %include "carrays.i"
81 %include "cpointer.i"
82 
83 %inline
84 %{
85 %}
86 
87 /*
88  * Higher-level python interface to the core C library.
89  */
90 %pythoncode
91 %{
92 
93 """
94 RoadNarrows Robotics Laelaps WatchDog Subprocessor Messages.
95 """
96 
97 ## \file
98 ## \package LaeLaeps.WatchDogMsgs
99 ##
100 ## \brief RoadNarrows Robotics Swigged WatchDog Messaging Python Module.
101 ##
102 ## \author Robin Knight (robin.knight@roadnarrows.com)
103 ##
104 ## \par Copyright:
105 ## (C) 2016. RoadNarrows LLC.\n
106 ## (http://www.roadnarrows.com)\n
107 ## All Rights Reserved
108 ##
109 
110 %}