Go to the documentation of this file. 19 #include "os/OsDefs.h" 29 #ifdef LONG_EVENT_RESPONSE_TIMEOUTS 30 # define PT_CONST_EVENT_WAIT_TIMEOUT 2592000 // 30 days in seconds 32 # define PT_CONST_EVENT_WAIT_TIMEOUT 40 // time out, seconds 37 #undef PTAPI_DEBUG_TRACE 39 #ifdef PTAPI_DEBUG_TRACE 40 #define EVENT_TRACE(x) osPrintf(x) 42 #define EVENT_TRACE(x) //* osPrintf(x) *// 73 #define PT_CLASS_INFO_MEMBERS static const char* sClassName; 74 #define PT_NO_PARENT_CLASS 75 #define PT_IMPLEMENT_CLASS_INFO(CHILD, PARENT) \ 76 const char* CHILD::sClassName = #CHILD; \ 77 PtBoolean isInstanceOf(const char* name); \ 79 const char* CHILD::className() { return(sClassName);} \ 81 PtBoolean CHILD::isClass(const char* name) { return(strcmp(name, className()) == 0);} \ 83 PtBoolean CHILD::isInstanceOf(const char* name) \ 85 PtBoolean isInstance = isClass(name); \ 86 if(!isInstance) isInstance = PARENT::isInstanceOf(name); \ PtStatus
Definition: PtDefs.h:49
int PtBoolean
Definition: PtDefs.h:71