PandA-2024.02
Public Member Functions | Private Attributes
ToDataFileStepFactory Class Reference

#include <to_data_file_step_factory.hpp>

Inheritance diagram for ToDataFileStepFactory:
Inheritance graph
[legend]
Collaboration diagram for ToDataFileStepFactory:
Collaboration graph
[legend]

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 &parameters)
 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 DesignFlowManagerdesign_flow_manager
 The design flow manager. More...
 
const ParameterConstRef parameters
 The set of input parameters. More...
 
int debug_level
 The debug level. More...
 

Detailed Description

Definition at line 50 of file to_data_file_step_factory.hpp.

Constructor & Destructor Documentation

◆ ToDataFileStepFactory()

ToDataFileStepFactory::ToDataFileStepFactory ( const generic_deviceRef  _device,
const DesignFlowManagerConstRef  _design_flow_manager,
const ParameterConstRef  _parameters 
)

Constructor.

utility include

Parameters
_deviceis the device
design_flow_manageris the design flow manager
parametersis the set of input parameters

design_flows/ToDataFile include

Definition at line 52 of file to_data_file_step_factory.cpp.

References ~ToDataFileStepFactory().

Here is the call graph for this function:

◆ ~ToDataFileStepFactory()

ToDataFileStepFactory::~ToDataFileStepFactory ( )
overridedefault

Destructor.

Referenced by ToDataFileStepFactory().

Here is the caller graph for this function:

Member Function Documentation

◆ CreateStep()

const DesignFlowStepRef ToDataFileStepFactory::CreateStep ( const std::string &  signature) const

Creates a step.

Parameters
signatureis the signature of the step to be created
Returns
the created step

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.

Here is the call graph for this function:

◆ GetPrefix()

const std::string ToDataFileStepFactory::GetPrefix ( ) const
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.

Field Documentation

◆ device

const generic_deviceRef ToDataFileStepFactory::device
private

Definition at line 52 of file to_data_file_step_factory.hpp.

Referenced by CreateStep().


The documentation for this class was generated from the following files:

Generated on Mon Feb 12 2024 13:04:06 for PandA-2024.02 by doxygen 1.8.13