• 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

  • Why CDP
    • Software developers
    • Automation engineers
    • Managers
  • Product
    • Design UI
    • Develop
    • Analyze and test
    • Deploy
    • Framework and toolbox
    • Compatibility
  • Services
  • Use cases
  • Pricing
  • Try CDP

CDP Studio Documentation

  • Framework - CDP Core
  • ServerIO Namespace
  • 4.11.14

ServerIO Namespace

Contains ServerIO implementation classes. More...

Header: #include <ServerIO>

Namespaces

namespace Translator

Classes

class ACDPBaseChannel
class CDPPropertyChannel
class CDPPropertyChannelFactory
class CDPSignalChannel
class CDPSignalChannelFactory
class ChangeValidatorSupport
class ChannelManager
class ComponentStateChannel
class ComponentStateChannelFactory
class DeltaValidatorSendTrigger
class ICDPChannel
class IChangeValidator
class IChannel
class ISendTrigger
class IWakeFunctor

Types

typedef ISendOnPropertyChange

Detailed Description

Contains ServerIO implementation classes.

Namespaces

namespace ServerIO::Translator

Classes

class ACDPBaseChannel

ACDPBaseChannel is a template base class, exposing channel-methods for converting values from to CDP data source. More...

class CDPPropertyChannel

The CDPPropertyChannel template-class is ACDPBaseChannel implementation based on CDPProperty. More...

class CDPPropertyChannelFactory

CDPPropertyChannelFactory is used to create a CDPPropertyChannel of specified type. More...

class CDPSignalChannel

The CDPSignalChannel template-class is ACDPBaseChannel implementation based on CDPSignal. More...

class CDPSignalChannelFactory

CDPSignalChannelFactory is used to create a CDPSignalChannel of specified type. More...

class ChangeValidatorSupport

The ChangeValidatorSupport class has a list of IChangeValidators that is iterated on each value change in channel. More...

class ChannelManager

The ChannelManager class can be used to synchronize ICDPChannel classes between User/Worker thread and CDPProcess where the CDP class (like CDPSignal, CDPProperty) for channel implementation is created. More...

class ComponentStateChannel

The ComponentStateChannel template-class is ACDPBaseChannel implementation using CDPConnector. More...

class ComponentStateChannelFactory

ComponentStateChannelFactory is used to create a ComponentStateChannel of specified type. More...

class DeltaValidatorSendTrigger

DeltaValidatorSendTrigger is a class that implements the Equals(), NotEquals() and Revert() functions from IChangeValidator-class. More...

class ICDPChannel

ICDPChannel exposes methods from a channel that we expect to be on a CDP class based single type value converting channel from to CDP data source or sink like CDPSignal. More...

class IChangeValidator

IChangeValidator may be used on each value change in channel. The Validate()-function decides if the new value is accepted or not. More...

class IChannel

IChannel exposes methods from a channel that can be used by IOServer implementation to convert to from IOServer raw packets to some CDP based implementation of the channel. More...

class ISendTrigger

Interface class used for trig sending, e.g. when a routed property has an edge (change from true to false or from false to true). ISendOnPropertyChange is a typedef for ISendTrigger. More...

class IWakeFunctor

Generic wake functor for IOServers to provide a way to wake them from the ISendTrigger implementer FlagForSend() call. See IOServer::RegisterSendOnChangeWakeCall(). More...

Type Documentation

typedef ServerIO::ISendOnPropertyChange

ISendOnPropertyChange is a typedef for ISendTrigger, and is an interface class for packet implementation on IOServers. The interface enables the use of send on property change.

Each packet that implements ISendTrigger must use IOServer calls RegisterSendOnChange(this) and DeregisterSendOnChange(this) to connect with IOServerPeriodic change or RegisterSendOnChange(this,"Listened.Property.Name") and DeregisterSendOnChange(this,"Listened.Property.Name") that should be handled in the configure from xml and packet delete.

The provided property routing should be to bool type property as the packets FlagForSend() will be called on each edge in property value (when the property value changes from true to false or from false to true).

See also IOServer, ServerIO, ServerIO::ISendTrigger, and ServerIO::ChannelManager.

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

Follow CDP

  • LinkedIn
  • YouTube
  • GitHub

    © Copyright 2022 CDP Technologies. Privacy and cookie policy.

    Return to top