OpenNI 1.0.0
|
00001 /***************************************************************************** 00002 * * 00003 * OpenNI 1.0 Alpha * 00004 * Copyright (C) 2010 PrimeSense Ltd. * 00005 * * 00006 * This file is part of OpenNI. * 00007 * * 00008 * OpenNI is free software: you can redistribute it and/or modify * 00009 * it under the terms of the GNU Lesser General Public License as published * 00010 * by the Free Software Foundation, either version 3 of the License, or * 00011 * (at your option) any later version. * 00012 * * 00013 * OpenNI is distributed in the hope that it will be useful, * 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00016 * GNU Lesser General Public License for more details. * 00017 * * 00018 * You should have received a copy of the GNU Lesser General Public License * 00019 * along with OpenNI. If not, see <http://www.gnu.org/licenses/>. * 00020 * * 00021 *****************************************************************************/ 00022 00023 00024 00025 00026 #ifndef __XN_STATUS_CODES_H__ 00027 #define __XN_STATUS_CODES_H__ 00028 00029 //--------------------------------------------------------------------------- 00030 // Includes 00031 //--------------------------------------------------------------------------- 00032 #include "XnStatus.h" 00033 00034 //--------------------------------------------------------------------------- 00035 // Status Messages 00036 //--------------------------------------------------------------------------- 00037 XN_STATUS_MESSAGE_MAP_START(XN_ERROR_GROUP_NI) 00038 XN_STATUS_MESSAGE(XN_STATUS_ERROR, "Error!") 00039 XN_STATUS_MESSAGE(XN_STATUS_NOT_INIT, "Module was not initialized!") 00040 XN_STATUS_MESSAGE(XN_STATUS_ALREADY_INIT, "Module was already initialized!") 00041 XN_STATUS_MESSAGE(XN_STATUS_NULL_INPUT_PTR, "Input pointer is null!") 00042 XN_STATUS_MESSAGE(XN_STATUS_NULL_OUTPUT_PTR, "Output pointer is null!") 00043 XN_STATUS_MESSAGE(XN_STATUS_INPUT_BUFFER_OVERFLOW, "Input buffer overflow!") 00044 XN_STATUS_MESSAGE(XN_STATUS_OUTPUT_BUFFER_OVERFLOW, "Output buffer overflow!") 00045 XN_STATUS_MESSAGE(XN_STATUS_INTERNAL_BUFFER_TOO_SMALL, "Internal buffer is too small!") 00046 XN_STATUS_MESSAGE(XN_STATUS_INVALID_BUFFER_SIZE, "The buffer is of wrong size!") 00047 XN_STATUS_MESSAGE(XN_STATUS_NO_MATCH, "No match found") 00048 XN_STATUS_MESSAGE(XN_STATUS_IS_EMPTY, "No items in data structure") 00049 XN_STATUS_MESSAGE(XN_STATUS_IS_NOT_EMPTY, "Items in data structure") 00050 XN_STATUS_MESSAGE(XN_STATUS_ILLEGAL_POSITION, "Can't perform operation at this position in the data structure") 00051 XN_STATUS_MESSAGE(XN_STATUS_NOT_IMPLEMENTED, "Function was not implemented!") 00052 XN_STATUS_MESSAGE(XN_STATUS_NO_MODULES_FOUND, "OpenNI library can't find any module!") 00053 XN_STATUS_MESSAGE(XN_STATUS_INVALID_GENERATOR, "Module generator is not valid!") 00054 XN_STATUS_MESSAGE(XN_STATUS_UNKNOWN_GENERATOR_TYPE, "Generator type is unknown!") 00055 XN_STATUS_MESSAGE(XN_STATUS_INVALID_OPERATION, "This operation is invalid!") 00056 XN_STATUS_MESSAGE(XN_STATUS_MISSING_NEEDED_TREE, "A needed production node is missing!") 00057 XN_STATUS_MESSAGE(XN_STATUS_CORRUPT_FILE, "The file is corrupted!") 00058 XN_STATUS_MESSAGE(XN_STATUS_BAD_PARAM, "The value is invalid!") 00059 XN_STATUS_MESSAGE(XN_STATUS_NODE_IS_LOCKED, "The node is locked for changes!") 00060 XN_STATUS_MESSAGE(XN_STATUS_WAIT_DATA_TIMEOUT, "A timeout has occurred when waiting for new data!") 00061 XN_STATUS_MESSAGE(XN_STATUS_BAD_TYPE, "The operation requires an object of a different type!") 00062 XN_STATUS_MESSAGE(XN_STATUS_UNSUPPORTED_VERSION, "Unsupported version") 00063 XN_STATUS_MESSAGE(XN_STATUS_PROPERTY_NOT_SET, "The property is not set") 00064 XN_STATUS_MESSAGE(XN_STATUS_BAD_FILE_EXT, "Bad file extension") 00065 XN_STATUS_MESSAGE(XN_STATUS_NODE_NOT_LOADED, "No node with the requested description is loaded") 00066 XN_STATUS_MESSAGE(XN_STATUS_NO_NODE_PRESENT, "Can't create any node of the requested type!") 00067 XN_STATUS_MESSAGE(XN_STATUS_BAD_NODE_NAME, "No node by the specified name exists") 00068 XN_STATUS_MESSAGE(XN_STATUS_UNSUPPORTED_CODEC, "Failed to find a matching codec") 00069 XN_STATUS_MESSAGE(XN_STATUS_EOF, "End of file reached") 00070 XN_STATUS_MESSAGE(XN_STATUS_MULTIPLE_NODES_ERROR, "More than one node is in error state!") 00071 XN_STATUS_MESSAGE(XN_STATUS_DEVICE_NOT_CONNECTED, "The device is not connected!") 00072 XN_STATUS_MESSAGE(XN_STATUS_NO_LICENSE, "No license to use this module!") 00073 XN_STATUS_MESSAGE_MAP_END(XN_ERROR_GROUP_NI) 00074 00075 #endif // __XN_STATUS_CODES_H__