<CDPDefines> - CDP Defines
Types
enum | CDPCOMPONENT_PRIORITY_e { CDPCOMPONENT_PRIORITY_NONE, CDPCOMPONENT_PRIORITY_NORMAL, CDPCOMPONENT_PRIORITY_HIGH, CDPCOMPONENT_PRIORITY_LOW } |
enum | ProcessPriority { ProcessPriorityLow, ProcessPriorityNormal, ProcessPriorityHigh, ProcessPriorityRealTime, UnknownProcessPriority } |
enum | ThreadPriority { IdleThreadPriority, LowestThreadPriority, LowThreadPriority, NormalThreadPriority, ..., UnknownThreadPriority } |
Macros
Type Documentation
enum CDP::CDPCOMPONENT_PRIORITY_e
This enum specifies the scheduling priority of a CDPComponent
Constant | Value | Description |
---|---|---|
CDP::CDPCOMPONENT_PRIORITY_NONE | 0 | The CDPComponent is not scheduled. |
CDP::CDPCOMPONENT_PRIORITY_NORMAL | 1 | The CDPComponent is scheduled at normal priority by the real-time scheduler. |
CDP::CDPCOMPONENT_PRIORITY_HIGH | 2 | The CDPComponent is scheduled at high priority by the real-time scheduler. |
CDP::CDPCOMPONENT_PRIORITY_LOW | 3 | The CDPComponent is scheduled at low priority by the non-real-time scheduler. |
enum CDP::ProcessPriority
This enum type specifies the priority of a process:
Constant | Value | Description |
---|---|---|
CDP::ProcessPriorityLow | 0 | Low process priority. |
CDP::ProcessPriorityNormal | 1 | Normal process priority. |
CDP::ProcessPriorityHigh | 2 | High process priority. |
CDP::ProcessPriorityRealTime | 3 | Real-time process priority. |
CDP::UnknownProcessPriority | 4 | Unknown process priority. |
enum CDP::ThreadPriority
This enum type specifies the priority of a thread:
Constant | Value | Description |
---|---|---|
CDP::IdleThreadPriority | 0 | Idle thread priority. |
CDP::LowestThreadPriority | 1 | The lowest thread priority. |
CDP::LowThreadPriority | 2 | Low normal thread priority. |
CDP::NormalThreadPriority | 3 | Normal thread priority. |
CDP::AboveNormalThreadPriority | 4 | Above normal thread priority. |
CDP::HighThreadPriority | 5 | High thread priority. |
CDP::AboveHighThreadPriority | 6 | Above High thread priority. |
CDP::HighestThreadPriority | 7 | The highest thread priority. |
CDP::UnknownThreadPriority | 8 | Unknown thread priority. |
Macro Documentation
CDP_DEBUG
Enables debug interface
DebugLevel(level)
Use like this:
if (DebugLevel(DEBUGLEVEL_EXTENDED)) CDPMessage("...");
LINUX
OS installation selector for Linux
PI
Constant definition for PI
WIN32_LEAN_AND_MEAN
Excludes rarely used stuff from Windows headers, also ensures that winsock.h is not included by windows.h
WINCE
OS installation selector for Windows CE
WINDOWS
OS installation selector for Windows
ZEROLIMIT
Constant definition for 0 ( if(x<ZEROLIMIT) {} )
debugEx
Global debug flag
Get started with CDP Studio today
Let us help you take your great ideas and turn them into the products your customer will love.