Factory for the int to QString adaptor.
#include <Rendering/SceneComponents/imagetosceneoverlayadaptor.h>
◆ create()
- Returns
- A new TypeAdaptor. Ownership is given to the caller, but the caller must use the destroy function to delete the operation. A valid object must be returned.
Most subclasses will simply use the C++ new
operator to implement this function.
Implements TypeAdaptorFactory.
◆ destroy()
- Parameters
-
adaptor | The adaptor to destroy. It must have been created by a call to create(). |
Calling this function essentially gives back ownership of the adapter to the factory, but the expectation is that the adapter will be deleted. Most subclasses will simply use the C++ delete
operator to implement this function.
Implements TypeAdaptorFactory.
◆ getDestTypeFactory()
- Returns
- An instance of the destination DataObject's DataFactory. This is used to ensure that any adaptions will be valid and to organise the items in the manager.
Implements TypeAdaptorFactory.
◆ getInstance()
◆ getPlugin()
- Returns
- The plugin which this TypeAdaptorFactory comes from.
Implements TypeAdaptorFactory.
◆ getSrcTypeFactory()
- Returns
- An instance of the source DataObject's DataFactory. Note that this is a non-const instance because some clients will need to use it to add the adaptor factory to the source DataFactory's list of adaptors.
Implements TypeAdaptorFactory.