• 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

  • Protocols - ExternalControl I/O
  • Environment
  • 5.0.0

Environment Class

(ExternalControlIO::Environment)

Environment elements can be used to add Name=Value environment variables for LocalCommandRun More...

Header: #include <Environment>
Inherits: CDP::StudioAPI::CDPNode
  • List of all members, including inherited members

Public Functions

Environment()
~Environment() override
void Configure(XMLElementEx *xml, RequestBase *parentRequest)
std::string Value() const

Reimplemented Public Functions

virtual const std::string GetNodeName() const override
  • 27 public functions inherited from CDP::StudioAPI::CDPNode
  • 22 public functions inherited from CDP::StudioAPI::ICDPNode

Reimplemented Protected Functions

virtual void FillNodeChildren(CDP::StudioAPI::NodeStream &stream) const override
virtual std::string GetNodeTypeName() const override
virtual CDP::StudioAPI::CDPValueType GetNodeValueType() const override
virtual CDP::StudioAPI::CDPVariantValue GetVariantValue() const override
  • 1 protected function inherited from CDP::StudioAPI::CDPNode

Detailed Description

Environment elements can be used to add Name=Value environment variables for LocalCommandRun

Environment variable Name and Value are Boost pattern translated before every command run so they can include any request channel value.

Member Function Documentation

Environment::Environment()

Default constructs an instance of Environment.

Environment::~Environment()

Destroys the instance of Environment.

void Environment::Configure(XMLElementEx *xml, RequestBase *parentRequest)

[override virtual protected] void Environment::FillNodeChildren(CDP::StudioAPI::NodeStream &stream) const

[override virtual] const std::string Environment::GetNodeName() const

[override virtual protected] std::string Environment::GetNodeTypeName() const

[override virtual protected] CDP::StudioAPI::CDPValueType Environment::GetNodeValueType() const

[override virtual protected] CDP::StudioAPI::CDPVariantValue Environment::GetVariantValue() const

std::string Environment::Value() const

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