CComponent



Base component implementation. Use it as a base class for your components.

You can find more information in comments below. Overrided methods can be found in corresponding base class or interface.

class CComponent :public virtual IComponent, public CClass
{
public:
    CComponent(const String &class_name); // Create with specified class name
    ~CComponent() override;

    IForm *getForm() override;

    bool setName(const String &value) override;
    bool setForm(IForm *value) override;
    // Since 2.0.0
    void setService(IComponentService *value, const bool release_prev) override final;

    void Release() override;

    IComponentService *QueryService() override;
};
Namespace: nitisa
Include: Nitisa/Core/Component.h