gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
FunctionManager Class Reference

#include <FunctionManager.h>

Collaboration diagram for FunctionManager:

Public Member Functions

int createFunction (const std::string &name, FILE *f, const std::string &filename, int lineno)
 
int enterFunction (const std::string &name, FILE **f, std::string &filename, int &lineno) const
 
int leaveFunction (FILE **f, std::string &filename, int &lineno)
 
void clear ()
 

Static Public Member Functions

static FunctionManagerInstance ()
 

Private Member Functions

 FunctionManager ()
 

Private Attributes

FunctionManagerMapfunctions
 
FunctionManagerStackcalls
 

Static Private Attributes

static FunctionManagerinstance = nullptr
 

Detailed Description

Definition at line 17 of file FunctionManager.h.

Constructor & Destructor Documentation

◆ FunctionManager()

FunctionManager::FunctionManager ( )
private

Definition at line 34 of file FunctionManager.cpp.

Referenced by Instance().

Here is the caller graph for this function:

Member Function Documentation

◆ clear()

void FunctionManager::clear ( )

Definition at line 48 of file FunctionManager.cpp.

Referenced by OpenProject().

Here is the caller graph for this function:

◆ createFunction()

int FunctionManager::createFunction ( const std::string &  name,
FILE *  f,
const std::string &  filename,
int  lineno 
)

Definition at line 86 of file FunctionManager.cpp.

Here is the call graph for this function:

◆ enterFunction()

int FunctionManager::enterFunction ( const std::string &  name,
FILE **  f,
std::string &  filename,
int &  lineno 
) const

Definition at line 53 of file FunctionManager.cpp.

Here is the call graph for this function:

◆ Instance()

FunctionManager * FunctionManager::Instance ( )
static

Definition at line 40 of file FunctionManager.cpp.

Referenced by OpenProject().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ leaveFunction()

int FunctionManager::leaveFunction ( FILE **  f,
std::string &  filename,
int &  lineno 
)

Definition at line 72 of file FunctionManager.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ calls

FunctionManagerStack* FunctionManager::calls
private

Definition at line 20 of file FunctionManager.h.

Referenced by enterFunction(), FunctionManager(), and leaveFunction().

◆ functions

FunctionManagerMap* FunctionManager::functions
private

Definition at line 19 of file FunctionManager.h.

Referenced by clear(), createFunction(), enterFunction(), and FunctionManager().

◆ instance

FunctionManager * FunctionManager::instance = nullptr
staticprivate

Definition at line 22 of file FunctionManager.h.

Referenced by Instance().


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