A TypeAdaptorFactory class for an adaptor converting a derived class to a base class.
#include <Workspace/DataExecution/DataObjects/derivedtobaseadaptor.h>
◆ create() [1/4]
- 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.
◆ create() [2/4]
- 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.
◆ create() [3/4]
- 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.
◆ create() [4/4]
- 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() [1/4]
- 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.
◆ destroy() [2/4]
- 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.
◆ destroy() [3/4]
- 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.
◆ destroy() [4/4]
- 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()
◆ getInstance() [1/4]
◆ getInstance() [2/4]
◆ getInstance() [3/4]
◆ getInstance() [4/4]
◆ getPlugin() [1/4]
◆ getPlugin() [2/4]
◆ getPlugin() [3/4]
◆ getPlugin() [4/4]
◆ getSrcTypeFactory()