TranslatorChannel Class
(ServerIO::Translator::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...
Header: | #include <IO/ServerIO/Translator/TranslatorChannel.h> |
Inherits: | TranslatorChannelBase |
Public Functions
TranslatorChannel(const std::string &type, ServerIO::ICDPChannel *iCDPChannel) | |
void | SetValue(T val) |
T | Value() const |
Reimplemented Public Functions
virtual bool | HasMappedValue() const override |
virtual std::string | MappedValue() const override |
virtual bool | SetMappedValue(const std::string &stringVal) override |
virtual void | SetValue(const std::string &stringVal) override |
virtual std::string | StringValue() const override |
virtual std::string | Type() const override |
- 17 public functions inherited from ServerIO::Translator::TranslatorChannelBase
Additional Inherited Members
- 1 static public member inherited from ServerIO::Translator::TranslatorChannelBase
Detailed Description
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).
Member Function Documentation
TranslatorChannel::TranslatorChannel(const std::string &type, ServerIO::ICDPChannel *iCDPChannel)
Default constructs an instance of TranslatorChannel.
[override virtual]
bool TranslatorChannel::HasMappedValue() const
[override virtual]
std::string TranslatorChannel::MappedValue() const
[override virtual]
bool TranslatorChannel::SetMappedValue(const std::string &stringVal)
[override virtual]
void TranslatorChannel::SetValue(const std::string &stringVal)
void TranslatorChannel::SetValue(T val)
[override virtual]
std::string TranslatorChannel::StringValue() const
[override virtual]
std::string TranslatorChannel::Type() const
T TranslatorChannel::Value() const
Get started with CDP Studio today
Let us help you take your great ideas and turn them into the products your customer will love.