PandA-2024.02
|
#include <to_data_file_step_factory.hpp>
Public Member Functions | |
ToDataFileStepFactory (const generic_deviceRef _device, const DesignFlowManagerConstRef design_flow_manager, const ParameterConstRef parameters) | |
Constructor. More... | |
~ToDataFileStepFactory () override | |
Destructor. More... | |
const std::string | GetPrefix () const override |
Return the prefix of the steps created by the factory. More... | |
const DesignFlowStepRef | CreateStep (const std::string &signature) const |
Creates a step. More... | |
Public Member Functions inherited from DesignFlowStepFactory | |
DesignFlowStepFactory (const DesignFlowManagerConstRef &design_flow_manager, const ParameterConstRef ¶meters) | |
Constructor. More... | |
virtual | ~DesignFlowStepFactory () |
Destructor. More... | |
virtual DesignFlowStepRef | CreateFlowStep (const std::string &signature) const |
Return a step given the signature. More... | |
Private Attributes | |
const generic_deviceRef | device |
Additional Inherited Members | |
Protected Attributes inherited from DesignFlowStepFactory | |
const Wrefcount< const DesignFlowManager > | design_flow_manager |
The design flow manager. More... | |
const ParameterConstRef | parameters |
The set of input parameters. More... | |
int | debug_level |
The debug level. More... | |
Definition at line 50 of file to_data_file_step_factory.hpp.
ToDataFileStepFactory::ToDataFileStepFactory | ( | const generic_deviceRef | _device, |
const DesignFlowManagerConstRef | _design_flow_manager, | ||
const ParameterConstRef | _parameters | ||
) |
Constructor.
utility include
_device | is the device |
design_flow_manager | is the design flow manager |
parameters | is the set of input parameters |
design_flows/ToDataFile include
Definition at line 52 of file to_data_file_step_factory.cpp.
References ~ToDataFileStepFactory().
|
overridedefault |
const DesignFlowStepRef ToDataFileStepFactory::CreateStep | ( | const std::string & | signature | ) | const |
Creates a step.
signature | is the signature of the step to be created |
Definition at line 66 of file to_data_file_step_factory.cpp.
References DesignFlowStepFactory::design_flow_manager, device, Wrefcount< T >::lock(), ToDataFileStep::NameToEnum(), DesignFlowStepFactory::parameters, THROW_ASSERT, THROW_UNREACHABLE, and UNKNOWN.
|
overridevirtual |
Return the prefix of the steps created by the factory.
Implements DesignFlowStepFactory.
Definition at line 61 of file to_data_file_step_factory.cpp.
|
private |
Definition at line 52 of file to_data_file_step_factory.hpp.
Referenced by CreateStep().