REFERENCE MANUAL
#include <sprk_exchange.h>
Static Public Member Functions | |
static CADModel | CreateCADModel (Model const &in_model=Factory::CreateModel(), A3DEntity *in_entity=nullptr) |
static Capture | CreateCapture (Component const &in_owner, A3DEntity *in_entity=nullptr, bool in_is_default=false) |
static Component | CreateComponent (Component const &in_owner, Component::ComponentType in_type, A3DEntity *in_entity=nullptr) |
static Filter | CreateFilter (Component const &in_owner, A3DEntity *in_entity=nullptr) |
static Sheet | CreateSheet (Component const &in_owner, A3DEntity *in_entity=nullptr) |
![]() | |
template<typename T > | |
static intptr_t | ClassID () |
Additional Inherited Members | |
![]() | |
enum | UpdateType { Synchronous, Asynchronous } |
![]() | |
Sprocket (Sprocket &&in_that) | |
![]() | |
virtual bool | Empty () const |
intptr_t | GetClassID () const |
intptr_t | GetInstanceID () const |
bool | HasType (Type in_mask) const |
Object (Object &&in_that) | |
virtual Type | ObjectType () const |
Object & | operator= (Object const &other_object) |
Object & | operator= (Object &&in_that) |
virtual void | Reset () |
Type | Type () const |
The Factory class is used to create and Exchange objects which inherit from Component or one of its subclasses.
|
static |
Creates a new Exchange::CADModel.
in_model | The Model associated with the Exchange::CADModel. |
|
static |
Creates a new Exchange::Capture as a subcomponent of a given Component.
|
static |
Creates a new Exchange::Component as a subcomponent of a given Component.
in_owner | The Component which owns the newly created Exchange::Component. |
in_type | The type of Exchange::Component to create. |
|
static |
Creates a new Exchange::Filter as a subcomponent of a given Component.
|
static |
Creates a new Exchange::Sheet as a subcomponent of a given Component.