TranslatorChannelGroup Class
(ServerIO::Translator::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...
Header: | #include <IO/ServerIO/Translator/TranslatorChannelGroup.h> |
Inherits: | CDP::StudioAPI::CDPNode |
Public Functions
~TranslatorChannelGroup() | |
void | AddChildChannel(TranslatorChannelBase *c) |
void | AddChildGroup(TranslatorChannelGroup *c) |
const std::vector<TranslatorChannelBase *> & | ChildChannels() const |
const std::vector<TranslatorChannelGroup *> & | ChildGroups() const |
void | Configure(XMLElementEx *element, CDP::StudioAPI::CDPNode *parentnode, TranslatorChannelGroup *parentGroup) |
bool | Empty() const |
virtual int | GetDebugLevel() const = 0 |
std::string | Model() const |
std::string | Name() const |
virtual std::string | OwnerName() const = 0 |
std::string | ParentTreePath(bool excludeRootName = false) const |
void | SetOnChangeValidators(ServerIO::ISendTrigger *sendTo) |
unsigned | TreeLevel() const |
- 26 public functions inherited from CDP::StudioAPI::CDPNode
- 22 public functions inherited from CDP::StudioAPI::ICDPNode
Static Public Members
void | AddChannelTreeToFormatter(const TranslatorChannelGroup &channelTree, FORMATTERTYPE &formatter) |
void | SetMatchedValuesInChannelTree(const TranslatorChannelGroup &channelTree, const MATCHARRAYTYPE &matchArray, size_t *channel_nr) |
Reimplemented Protected Functions
virtual void | FillNodeChildren(CDP::StudioAPI::NodeStream &stream) const override |
virtual const std::string | GetNodeName() const override |
virtual std::string | GetNodeTypeName() const override |
- 1 protected function inherited from CDP::StudioAPI::CDPNode
Detailed Description
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().
See also ServerIO::Translator::TranslatorChannel.
Member Function Documentation
TranslatorChannelGroup::~TranslatorChannelGroup()
Destroys the instance of TranslatorChannelGroup.
[static]
void TranslatorChannelGroup::AddChannelTreeToFormatter(const TranslatorChannelGroup &channelTree, FORMATTERTYPE &formatter)
void TranslatorChannelGroup::AddChildChannel(TranslatorChannelBase *c)
Adds channel to this channel group
void TranslatorChannelGroup::AddChildGroup(TranslatorChannelGroup *c)
Adds subgroup to this channel group
const std::vector<TranslatorChannelBase *> &TranslatorChannelGroup::ChildChannels() const
Returns vector of input (using <istream>) or output (using <ostream>) or both (using <iostream>) channels in current channel group.
const std::vector<TranslatorChannelGroup *> &TranslatorChannelGroup::ChildGroups() const
void TranslatorChannelGroup::Configure(XMLElementEx *element, CDP::StudioAPI::CDPNode *parentnode, TranslatorChannelGroup *parentGroup)
bool TranslatorChannelGroup::Empty() const
[override virtual protected]
void TranslatorChannelGroup::FillNodeChildren(CDP::StudioAPI::NodeStream &stream) const
[pure virtual]
int TranslatorChannelGroup::GetDebugLevel() const
[override virtual protected]
const std::string TranslatorChannelGroup::GetNodeName() const
Reimplemented from ICDPNode::GetNodeName().
[override virtual protected]
std::string TranslatorChannelGroup::GetNodeTypeName() const
Reimplemented from ICDPNode::GetNodeTypeName().
std::string TranslatorChannelGroup::Model() const
Returns node (group) name (thread-safely).
std::string TranslatorChannelGroup::Name() const
Returns node (group) name (thread-safely).
[pure virtual]
std::string TranslatorChannelGroup::OwnerName() const
std::string TranslatorChannelGroup::ParentTreePath(bool excludeRootName = false) const
[static]
void TranslatorChannelGroup::SetMatchedValuesInChannelTree(const TranslatorChannelGroup &channelTree, const MATCHARRAYTYPE &matchArray, size_t *channel_nr)
void TranslatorChannelGroup::SetOnChangeValidators(ServerIO::ISendTrigger *sendTo)
unsigned TranslatorChannelGroup::TreeLevel() 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.