UserComponentA.h
#ifndef USERDEFINEDSTRUCTURELIB_USERCOMPONENTA_H #define USERDEFINEDSTRUCTURELIB_USERCOMPONENTA_H #include <CDPSystem/Base/CDPComponent.h> #include <Signal/CDPSignal.h> #include <CDPParameter/CDPParameter.h> #include <CDPAlarm/CDPAlarm.h> namespace UserDefinedStructureLib { class UserNodeA; class UserComponentA : public CDPComponent { public: UserComponentA(); ~UserComponentA() override; void Create(const char* fullName) override; void CreateModel() override; void Configure(const char* componentXML) override; void ProcessNull() override; bool HandleXMLElement(XMLElementEx *pEx) override; void FillNodeChildren(CDP::StudioAPI::NodeStream &serializer) const override; protected: std::vector<UserNodeA*> m_userNodesA; using CDPComponent::requestedState; using CDPComponent::ts; using CDPComponent::fs; }; } // namespace UserDefinedStructureLib #endif
Get started with CDP Studio today
Let us help you take your great ideas and turn them into the products your customer will love.