netmsgs  1.2.2
RoadNarrows Robotics Network Messaging Package
nmExample.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////////////
2 //
3 // Package: NetMsgs
4 //
5 // Program: nmExample
6 //
7 // File: nmExample.h
8 //
9 /*! \file
10  *
11  * $LastChangedDate: 2010-02-09 08:19:06 -0700 (Tue, 09 Feb 2010) $
12  * $Rev: 244 $
13  *
14  * \brief Example NetMsgs message packing/unpacking application declarations.
15  *
16  * \author Robin Knight (robin.knight@roadnarrows.com)
17  *
18  * \copyright
19  * \h_copy 2010-2017. RoadNarrows LLC.\n
20  * http://www.roadnarrows.com\n
21  * All Rights Reserved
22  */
23 // Permission is hereby granted, without written agreement and without
24 // license or royalty fees, to use, copy, modify, and distribute this
25 // software and its documentation for any purpose, provided that
26 // (1) The above copyright notice and the following two paragraphs
27 // appear in all copies of the source code and (2) redistributions
28 // including binaries reproduces these notices in the supporting
29 // documentation. Substantial modifications to this software may be
30 // copyrighted by their authors and need not follow the licensing terms
31 // described here, provided that the new terms are clearly indicated in
32 // all files where they apply.
33 //
34 // IN NO EVENT SHALL THE AUTHOR, ROADNARROWS LLC, OR ANY MEMBERS/EMPLOYEES
35 // OF ROADNARROW LLC OR DISTRIBUTORS OF THIS SOFTWARE BE LIABLE TO ANY
36 // PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
37 // DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION,
38 // EVEN IF THE AUTHORS OR ANY OF THE ABOVE PARTIES HAVE BEEN ADVISED OF
39 // THE POSSIBILITY OF SUCH DAMAGE.
40 //
41 // THE AUTHOR AND ROADNARROWS LLC SPECIFICALLY DISCLAIM ANY WARRANTIES,
42 // INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
43 // FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN
44 // "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO
45 // PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
46 //
47 ////////////////////////////////////////////////////////////////////////////////
48 
49 #ifndef _NMEXAMPLE_H
50 #define _NMEXAMPLE_H
51 
52 //
53 // Star Surface Temperatures
54 //
55 #define STAR_TEMP_K_MIN 1000 ///< 1,00 Kelvin minimum
56 #define STAR_TEMP_K_MAX 50000 ///< 50,000 Kelvin maximum
57 
58 //
59 // Star Constellation Order Designations (typically in descending order of
60 // brightness)
61 //
62 #define ALPHA 0 ///< 1st star
63 #define BETA 1 ///< 2nd star
64 #define GAMMA 2 ///< 3rd star
65 #define DELTA 3 ///< 4th star
66 #define EPSILON 4 ///< 5th star
67 #define ZETA 5 ///< 6th star
68 #define ETA 6 ///< 7th star
69 #define THETA 7 ///< 8th star
70 #define IOTA 8 ///< 9th star
71 #define KAPPA 9 ///< 10th star
72 #define LAMBDA 10 ///< 11th star
73 #define MU 11 ///< 12th star
74 #define NU 12 ///< 13th star
75 #define XI 13 ///< 14th star
76 #define OMICRON 14 ///< 15th star
77 #define PI 15 ///< 16th star
78 
79 
80 #endif // _NMEXAMPLE_H