• Skip to main content
  • Skip to header right navigation
  • Skip to site footer
CDP Studio logo

CDP Studio

The no-code and full-code software development tool for distributed control systems and HMI

  • Doc
  • Why CDP
    • Software developers
    • Automation engineers
    • Managers
  • Products
    • Automation Designer
    • HMI Designer
    • Maritime HMIs
  • Services
  • Use cases
  • Pricing
  • Try CDP

CDP Studio Documentation

  • Framework - CDP Core
  • CDP Namespace
  • 5.0.0

CDP Namespace

Contains CDP implementation classes More...

Header: #include <CDP>

Namespaces

namespace IO
namespace StudioAPI

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 }

Functions

ThreadPriority ComponentToThreadPriority(int componentPriority)

Detailed Description

Contains CDP implementation classes

Namespaces

namespace CDP::IO

namespace CDP::StudioAPI

Contains StudioAPI implementation classes

Type Documentation

enum CDP::CDPCOMPONENT_PRIORITY_e

This enum specifies the scheduling priority of a CDPComponent

ConstantValueDescription
CDP::CDPCOMPONENT_PRIORITY_NONE0The CDPComponent is not scheduled.
CDP::CDPCOMPONENT_PRIORITY_NORMAL1The CDPComponent is scheduled at normal priority by the real-time scheduler.
CDP::CDPCOMPONENT_PRIORITY_HIGH2The CDPComponent is scheduled at high priority by the real-time scheduler.
CDP::CDPCOMPONENT_PRIORITY_LOW3The CDPComponent is scheduled at low priority by the non-real-time scheduler.

enum CDP::ProcessPriority

This enum type specifies the priority of a process:

ConstantValueDescription
CDP::ProcessPriorityLow0Low process priority.
CDP::ProcessPriorityNormal1Normal process priority.
CDP::ProcessPriorityHigh2High process priority.
CDP::ProcessPriorityRealTime3Real-time process priority.
CDP::UnknownProcessPriority4Unknown process priority.

enum CDP::ThreadPriority

This enum type specifies the priority of a thread:

ConstantValueDescription
CDP::IdleThreadPriority0Idle thread priority.
CDP::LowestThreadPriority1The lowest thread priority.
CDP::LowThreadPriority2Low normal thread priority.
CDP::NormalThreadPriority3Normal thread priority.
CDP::AboveNormalThreadPriority4Above normal thread priority.
CDP::HighThreadPriority5High thread priority.
CDP::AboveHighThreadPriority6Above High thread priority.
CDP::HighestThreadPriority7The highest thread priority.
CDP::UnknownThreadPriority8Unknown thread priority.

Function Documentation

ThreadPriority CDP::ComponentToThreadPriority(int componentPriority)

The content of this document is confidential information not to be published without the consent of CDP Technologies AS.

CDP Technologies AS, www.cdpstudio.com

Get started with CDP Studio today

Let us help you take your great ideas and turn them into the products your customer will love.

Try CDP Studio for free
Why CDP Studio?

CDP Technologies AS
Hundsværgata 8,
P.O. Box 144
6001 Ålesund, Norway

Tel: +47 990 80 900
E-mail: info@cdptech.com

Company

About CDP

Contact us

Services

Partners

Blog

Developers

Get started

User manuals

Support

Document download

Release notes

My account

Follow CDP

  • LinkedIn
  • YouTube
  • GitHub

© Copyright 2025 CDP Technologies. Privacy and cookie policy.

Return to top