amino  1.0-beta2
Lightweight Robot Utility Library
rxerr.h
Go to the documentation of this file.
1 /* -*- mode: C; c-basic-offset: 4; -*- */
2 /* ex: set shiftwidth=4 tabstop=4 expandtab: */
3 /*
4  * Copyright (c) 2015, Rice University,
5  * 2020, Colorado School of Mines
6  * All rights reserved.
7  *
8  * Author(s): Neil T. Dantam <ntd@rice.edu>
9  * Matthew A. Schack <mschack@mines.edu>
10  *
11  * Redistribution and use in source and binary forms, with or
12  * without modification, are permitted provided that the following
13  * conditions are met:
14  * * Redistributions of source code must retain the above copyright
15  * notice, this list of conditions and the following disclaimer.
16  * * Redistributions in binary form must reproduce the above
17  * copyright notice, this list of conditions and the following
18  * disclaimer in the documentation and/or other materials provided
19  * with the distribution.
20  * * Neither the name of copyright holder the names of its
21  * contributors may be used to endorse or promote products derived
22  * from this software without specific prior written permission.
23  *
24  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
25  * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
26  * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
27  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
28  * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
29  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
30  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
31  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
32  * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
33  * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
35  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
36  * POSSIBILITY OF SUCH DAMAGE.
37  *
38  */
39 
40 #ifndef AMINO_RX_RXERR_H
41 #define AMINO_RX_RXERR_H
42 
49 #define AA_RX_OK 0
51 AA_EXTERN const int aa_rx_ok;
52 
54 #define AA_RX_NO_SOLUTION (1<<0)
57 
59 #define AA_RX_NO_IK (1<<1)
62 
64 #define AA_RX_NO_MP (1<<2)
67 
69 #define AA_RX_INVALID_FRAME (1<<3)
72 
74 #define AA_RX_INVALID_PARAMETER (1<<4)
77 
79 #define AA_RX_INVALID_STATE (1<<5)
82 
83 AA_API char *aa_rx_errstr( struct aa_mem_region *reg,
84  int e );
85 
86 #endif /*AMINO_RX_RXERR_H*/
#define AA_API
calling and name mangling convention for functions
Definition: amino.h:95
#define AA_EXTERN
name mangling convention external symbols
Definition: amino.h:97
AA_EXTERN const int aa_rx_invalid_state
Synonym for AA_RX_INVALID_STATE.
Definition: rxerr.h:81
AA_EXTERN const int aa_rx_no_solution
Synonym for AA_RX_NO_SOLUTION.
Definition: rxerr.h:56
AA_EXTERN const int aa_rx_no_mp
Synonym for AA_RX_NO_MP.
Definition: rxerr.h:66
AA_EXTERN const int aa_rx_no_ik
Synonym for AA_RX_NO_IK.
Definition: rxerr.h:61
AA_EXTERN const int aa_rx_invalid_frame
Synonym for AA_RX_INVALID_FRAME.
Definition: rxerr.h:71
AA_EXTERN const int aa_rx_ok
Synonym for AA_RX_OK.
Definition: rxerr.h:51
AA_EXTERN const int aa_rx_invalid_parameter
Synonym for AA_RX_INVALID_PARAMETER.
Definition: rxerr.h:76
Data Structure for Region-Based memory allocation.
Definition: mem.h:199