HPS::Exchange::Factory

class HPS::Exchange::Factory : public HPS::Sprocket

The Factory class is used to create and Exchange objects which inherit from HPS::Component or one of its subclasses.

Public Static Functions

static CADModel CreateCADModel(Model const &in_model = HPS::Factory::CreateModel(), A3DAsmModelFile *in_entity = nullptr, bool in_owns_entity = false)

Creates a new Exchange::CADModel.

Parameters
static Capture CreateCapture(HPS::Component const &in_owner, A3DEntity *in_entity = nullptr, bool in_is_default = false)

Creates a new Exchange::Capture as a subcomponent of a given Component.

Parameters
static Component CreateComponent(HPS::Component const &in_owner, HPS::Component::ComponentType in_type, A3DEntity *in_entity = nullptr)

Creates a new Exchange::Component as a subcomponent of a given Component.

Parameters
static Filter CreateFilter(HPS::Component const &in_owner, A3DEntity *in_entity = nullptr)

Creates a new Exchange::Filter as a subcomponent of a given Component.

Parameters
static Sheet CreateSheet(HPS::Component const &in_owner, A3DEntity *in_entity = nullptr)

Creates a new Exchange::Sheet as a subcomponent of a given Component.

Parameters
static Component DeInstanceComponent(HPS::ComponentPath const &in_component_path)

Returns the component at whose level changes can be made without influencing other instances of the same component. The ComponentPath passed to this function needs to include a component of type Representation Item.

Parameters

in_component_path – The ComponentPath to operate on.

Returns

The newly de-instanced Component.