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