• 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
  • Translator Namespace
  • 4.11.14

Translator Namespace

(ServerIO::Translator)

Classes

class TranslatorBase
class TranslatorChannel
class TranslatorChannelBase
class TranslatorChannelGroup
class ValueMap
class ValueMapBase
class ValueMapper

Classes

class TranslatorBase

Translator abstract class. Derived classes have to implement Translate() for ostream (for compose) and/or for istream (for parse). Derived classes can override MimeType() to inform translator users (IOServers) about MIME type that the class is generating or parsing. More...

class TranslatorChannel

The TranslatorChannel<T> class is inherited from TranslatorChannelBase class. TranslatorChannel composes ICDPChannel pointer and can be used for threadsafe and valuemapped channel value access in Translators. During construction overrides given ICDPChannel internal data pointer (syncValue). More...

class TranslatorChannelBase

Type-less base class for TranslatorChannel<T>. Defines virtual functions to be implemented in derived (typed) classes for setting and getting channel synced values. More...

class TranslatorChannelGroup

TranslatorChannelGroup abstract class represents TranslatorChannel channel-tree used by Translators for translating channel values to/from streams. Eash TranslatorChannelGroup is actually a subtree by holding: a) vector of TranslatorChannels and b) vector of subrees (TranslatorChannelGroups) Inherited class must implement OwnerName() and GetDebugLevel(). More...

class ValueMap

Holds ChannelValue <-> StreamValue valuemap property pair. More...

class ValueMapBase

Type-less base class for ValueMap<T>. More...

class ValueMapper

ValueMapper class instance is used for thread-safe and fast valuemap access in Translators. Uses templated class ValueMapperType<T> to actually implement maps and code for every CDP Channel type. ValueMapper will be created based on ValueMap vector reference using Update(vector<ValueMapBase*>) method. More...

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