JointFactory.h

#pragma once


namespace Core
{
    ref class Joint;


    /// 関節の生成 ( Factory Method Pattern )
    public ref class JointFactory
    {
    // Construction --------------------------------------------------------
    public:
        explicit JointFactory( System::Xml::XmlElement^ root );


    // Operation -----------------------------------------------------------
    public:
        Joint^ Create();

    private:
        Joint^ FactoryMethod();


    // Attribute ===========================================================
    private:
        System::Xml::XmlElement^ m_element;     ///< 要素

    };
}