RTXI 1.3
plugins/ni_device/tStatus2.h
Go to the documentation of this file.
00001 #ifndef  __osiTypes_h__
00002 #include "osiTypes.h"
00003 #endif
00004 
00005 #ifndef ___nimdbg_tStatus2_h___
00006 #define ___nimdbg_tStatus2_h___
00007 
00008 class nMDBG{
00009    public:
00010    class tStatus2{
00011       public:
00012       i32 tStatus;
00013       i32 isFatal() {return (tStatus<0);};
00014       void setCode(int code, int location){ tStatus = code;}
00015       operator i32*() {return &tStatus;};
00016 
00017       operator i32&() {return tStatus;};
00018 
00019    };
00020 };
00021 
00022 #define kPALStatusSoftwareFault -1
00023 #define NIM_LOCATION                    __LINE__
00024 #define NIM_REQUIRE(a,b)                ;
00025 #define NIM_CHECK(a,b)          ;
00026 #define NIM_TRACE_VAR(a)                ;
00027 
00028 #define NIM_TRACE_LOAD(a,b,c)   ;
00029 #define NIM_TRACE_LOAD_AT_LEVEL(a,b,c,d)   ;
00030 #define NIM_TRACE_STORE(a,b,c)   ;
00031 #define NIM_TRACE_STORE_AT_LEVEL(a,b,c,d)   ;
00032 
00033 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines