PandA-2024.02
Public Types | Public Member Functions | Data Fields
CBackendInformation Class Reference

Base class to pass information to a c backend. More...

#include <c_backend_information.hpp>

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

Public Types

using Type = enum { CB_HLS, CB_SEQUENTIAL, }
 

Public Member Functions

 CBackendInformation (Type type, const std::string &src_filename, const std::string &out_filename="")
 
virtual ~CBackendInformation ()
 
std::string GetKindText () const override
 Return the string representation of this. More...
 
std::string GetSignature () const override
 Return the contribution to the signature of a step given by the specialization. More...
 
- Public Member Functions inherited from HLSFlowStepSpecialization
 HLSFlowStepSpecialization ()
 header include More...
 
virtual ~HLSFlowStepSpecialization ()
 

Data Fields

Type type
 
std::string src_filename
 
std::string out_filename
 

Detailed Description

Base class to pass information to a c backend.

Definition at line 57 of file c_backend_information.hpp.

Member Typedef Documentation

◆ Type

using CBackendInformation::Type = enum { CB_HLS, CB_SEQUENTIAL, }

Definition at line 73 of file c_backend_information.hpp.

Constructor & Destructor Documentation

◆ CBackendInformation()

CBackendInformation::CBackendInformation ( Type  type,
const std::string &  src_filename,
const std::string &  out_filename = "" 
)

Definition at line 46 of file c_backend_information.cpp.

References ~CBackendInformation().

Here is the call graph for this function:

◆ ~CBackendInformation()

CBackendInformation::~CBackendInformation ( )
virtualdefault

Referenced by CBackendInformation().

Here is the caller graph for this function:

Member Function Documentation

◆ GetKindText()

std::string CBackendInformation::GetKindText ( ) const
overridevirtual

Return the string representation of this.

Implements HLSFlowStepSpecialization.

Definition at line 53 of file c_backend_information.cpp.

References THROW_UNREACHABLE, and type.

Referenced by GetSignature().

Here is the caller graph for this function:

◆ GetSignature()

std::string CBackendInformation::GetSignature ( ) const
overridevirtual

Return the contribution to the signature of a step given by the specialization.

Implements HLSFlowStepSpecialization.

Definition at line 77 of file c_backend_information.cpp.

References GetKindText().

Here is the call graph for this function:

Field Documentation

◆ out_filename

std::string CBackendInformation::out_filename

Definition at line 79 of file c_backend_information.hpp.

◆ src_filename

std::string CBackendInformation::src_filename

Definition at line 77 of file c_backend_information.hpp.

◆ type

Type CBackendInformation::type

Definition at line 75 of file c_backend_information.hpp.

Referenced by GetKindText().


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

Generated on Mon Feb 12 2024 13:03:47 for PandA-2024.02 by doxygen 1.8.13