#include <sprk_exchange.h>
Static Public Member Functions | |
| static Component | CreateComponent (HPS::Component const &in_owner, HPS::Component::ComponentType in_type, A3DEntity *in_entity=nullptr) |
| static CADModel | CreateCADModel (Model const &in_model=HPS::Factory::CreateModel(), A3DAsmModelFile *in_entity=nullptr, bool in_owns_entity=false) |
| static Filter | CreateFilter (HPS::Component const &in_owner, A3DEntity *in_entity=nullptr) |
| static Capture | CreateCapture (HPS::Component const &in_owner, A3DEntity *in_entity=nullptr, bool in_is_default=false) |
| static Sheet | CreateSheet (HPS::Component const &in_owner, A3DEntity *in_entity=nullptr) |
Static Public Member Functions inherited from HPS::Object | |
| template<typename T > | |
| static intptr_t | ClassID () |
Additional Inherited Members | |
Public Types inherited from HPS::Sprocket | |
| enum | UpdateType { Synchronous, Asynchronous } |
Public Member Functions inherited from HPS::Sprocket | |
| Sprocket (Sprocket &&in_that) | |
Public Member Functions inherited from HPS::Object | |
| Object & | operator= (Object const &other_object) |
| Object (Object &&in_that) | |
| Object & | operator= (Object &&in_that) |
| HPS::Type | Type () const |
| virtual HPS::Type | ObjectType () const |
| virtual bool | Empty () const |
| virtual void | Reset () |
| bool | HasType (HPS::Type in_mask) const |
| intptr_t | GetClassID () const |
| intptr_t | GetInstanceID () const |
The Factory class is used to create and Exchange objects which inherit from HPS::Component or one of its subclasses.
|
static |
Creates a new Exchange::CADModel.
| in_model | The Model associated with the newly created Exchange::CADModel. |
| in_entity | The Exchange entity associated with the newly created Exchange::CADModel. |
| in_owns_entity | Whether the newly created Exchange::CADModel owns the associated A3DAsmModelFile (see the documentation for Exchange::CADModel::GetEntityOwnership for more details). |
|
static |
Creates a new Exchange::Capture as a subcomponent of a given Component.
| in_owner | The HPS::Component which owns the newly created Exchange::Capture. |
| in_entity | The Exchange entity associated with the newly created Exchange::Capture. |
| in_is_default | Whether the newly created Exchange::Capture is the default capture for the CADModel, i.e., the capture that will be activated when CADModel::ActivateDefaultCapture is invoked. Note that if one is creating a default capture, the owner must be a CADModel (or subclass thereof) and this will delete the old default capture on that CADModel if one was present. |
|
static |
Creates a new Exchange::Component as a subcomponent of a given Component.
| in_owner | The HPS::Component which owns the newly created Exchange::Component. |
| in_type | The type of Exchange::Component to create. |
| in_entity | The Exchange entity associated with the newly created Exchange::Component. |
|
static |
Creates a new Exchange::Filter as a subcomponent of a given Component.
| in_owner | The HPS::Component which owns the newly created Exchange::Filter. |
| in_entity | The Exchange entity associated with the newly created Exchange::Filter. |
|
static |
Creates a new Exchange::Sheet as a subcomponent of a given Component.
| in_owner | The HPS::Component which owns the newly created Exchange::Sheet. |
| in_entity | The Exchange entity associated with the newly created Exchange::Sheet. |