The SPlat::Model::AbstractAssetFactory class will provide an interface for new SPlat::Assets to be created. For each concrete of SPlat::Model::Asset, there will be a corresponding SPlat::Model::AbstractAssetFactory concrete that handles its creation.
The SPlat::Model::AbstractAssetFactory concretes will each be stored in our Runtime class so that they can be accessed by the rest of our system. Particularly, our events will be restructured to to use our SPlat::Model::AbstractAssetFactory concretes.
The
SPlat::Model::AbstractAssetFactory
class will provide an interface for newSPlat::Asset
s to be created. For each concrete ofSPlat::Model::Asset
, there will be a correspondingSPlat::Model::AbstractAssetFactory
concrete that handles its creation.The
SPlat::Model::AbstractAssetFactory
concretes will each be stored in ourRuntime
class so that they can be accessed by the rest of our system. Particularly, our events will be restructured to to use ourSPlat::Model::AbstractAssetFactory
concretes.