PandA-2024.02
|
#include <frontend_flow_step_factory.hpp>
Public Member Functions | |
FrontendFlowStepFactory (const application_managerRef AppM, const DesignFlowManagerConstRef design_flow_manager, const ParameterConstRef parameters) | |
Constructor. More... | |
~FrontendFlowStepFactory () override | |
Destructor. More... | |
const DesignFlowStepSet | GenerateFrontendSteps (const CustomUnorderedSet< FrontendFlowStepType > &frontend_flow_step_types) const |
Create the frontend design flow steps. More... | |
const DesignFlowStepRef | GenerateFrontendStep (FrontendFlowStepType frontend_flow_step_type) const |
Create the frontend design flow step. More... | |
const DesignFlowStepRef | CreateApplicationFrontendFlowStep (const FrontendFlowStepType design_flow_step_type) const |
Create an application frontend flow step. More... | |
const DesignFlowStepRef | CreateFunctionFrontendFlowStep (const FrontendFlowStepType design_flow_step_type, const unsigned int function_id) const |
Create a function frontend flow step. More... | |
const std::string | GetPrefix () const override |
Return the prefix of the steps created by the factory. 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... | |
Protected Attributes | |
const application_managerRef | AppM |
The application manager. More... | |
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 60 of file frontend_flow_step_factory.hpp.
FrontendFlowStepFactory::FrontendFlowStepFactory | ( | const application_managerRef | AppM, |
const DesignFlowManagerConstRef | design_flow_manager, | ||
const ParameterConstRef | parameters | ||
) |
Constructor.
Header include.
AppM | is the application manager |
design_flow_manager | is the design flow manager |
_Param | is the set of the parameters |
Definition at line 161 of file frontend_flow_step_factory.cpp.
References ~FrontendFlowStepFactory().
|
overridedefault |
const DesignFlowStepRef FrontendFlowStepFactory::CreateApplicationFrontendFlowStep | ( | const FrontendFlowStepType | design_flow_step_type | ) | const |
Create an application frontend flow step.
design_flow | manager is the design flow manager |
design_flow_step | is the type of step to be created |
parameters | is the set of input parameters |
Definition at line 315 of file frontend_flow_step_factory.cpp.
References AppM, DesignFlowStepFactory::design_flow_manager, FrontendFlowStep::EnumToKindText(), Wrefcount< T >::lock(), DesignFlowStepFactory::parameters, and THROW_UNREACHABLE.
Referenced by GenerateFrontendStep().
const DesignFlowStepRef FrontendFlowStepFactory::CreateFunctionFrontendFlowStep | ( | const FrontendFlowStepType | design_flow_step_type, |
const unsigned int | function_id | ||
) | const |
Create a function frontend flow step.
design_flow_step | is the type of step to be created |
function_id | is the index of the function |
Definition at line 495 of file frontend_flow_step_factory.cpp.
References AppM, DesignFlowStepFactory::design_flow_manager, FrontendFlowStep::EnumToKindText(), Wrefcount< T >::lock(), DesignFlowStepFactory::parameters, and THROW_UNREACHABLE.
const DesignFlowStepRef FrontendFlowStepFactory::GenerateFrontendStep | ( | FrontendFlowStepType | frontend_flow_step_type | ) | const |
Create the frontend design flow step.
frontend_flow_step_type | is the frontend flow to be considered |
Definition at line 185 of file frontend_flow_step_factory.cpp.
References AppM, CreateApplicationFrontendFlowStep(), DesignFlowStepFactory::design_flow_manager, Wrefcount< T >::lock(), DesignFlowStepFactory::parameters, and THROW_UNREACHABLE.
Referenced by GenerateFrontendSteps().
const DesignFlowStepSet FrontendFlowStepFactory::GenerateFrontendSteps | ( | const CustomUnorderedSet< FrontendFlowStepType > & | frontend_flow_step_types | ) | const |
Create the frontend design flow steps.
frontend_flow_step_types | is the set of frontend flow transformation to be considered |
Definition at line 170 of file frontend_flow_step_factory.cpp.
References GenerateFrontendStep().
|
overridevirtual |
Return the prefix of the steps created by the factory.
Implements DesignFlowStepFactory.
Definition at line 884 of file frontend_flow_step_factory.cpp.
|
protected |
The application manager.
Definition at line 64 of file frontend_flow_step_factory.hpp.
Referenced by CreateApplicationFrontendFlowStep(), CreateFunctionFrontendFlowStep(), and GenerateFrontendStep().