AMF-Placer  2.0
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
DeviceInfo::DeviceElement Class Reference

basic class of device element More...

#include <DeviceInfo.h>

Inheritance diagram for DeviceInfo::DeviceElement:
Collaboration diagram for DeviceInfo::DeviceElement:

Public Member Functions

 DeviceElement (std::string &name, DeviceElement *parentPtr, DeviceElementType type, int id)
 
 DeviceElement (std::string &name, DeviceElementType type, int id)
 
virtual ~DeviceElement ()
 
std::string & getName ()
 
DeviceElementgetParentPtr ()
 
DeviceElementType getElementType ()
 
int getElementIdInParent ()
 

Private Attributes

std::string name
 
DeviceElementparentPtr
 
DeviceElementType type
 
int id
 

Detailed Description

basic class of device element

Definition at line 62 of file DeviceInfo.h.

Constructor & Destructor Documentation

◆ DeviceElement() [1/2]

DeviceInfo::DeviceElement::DeviceElement ( std::string &  name,
DeviceElement parentPtr,
DeviceElementType  type,
int  id 
)
inline

Definition at line 65 of file DeviceInfo.h.

◆ DeviceElement() [2/2]

DeviceInfo::DeviceElement::DeviceElement ( std::string &  name,
DeviceElementType  type,
int  id 
)
inline

Definition at line 70 of file DeviceInfo.h.

◆ ~DeviceElement()

virtual DeviceInfo::DeviceElement::~DeviceElement ( )
inlinevirtual

Definition at line 75 of file DeviceInfo.h.

Member Function Documentation

◆ getElementIdInParent()

int DeviceInfo::DeviceElement::getElementIdInParent ( )
inline

Definition at line 91 of file DeviceInfo.h.

◆ getElementType()

DeviceElementType DeviceInfo::DeviceElement::getElementType ( )
inline

Definition at line 87 of file DeviceInfo.h.

◆ getName()

std::string& DeviceInfo::DeviceElement::getName ( )
inline

◆ getParentPtr()

DeviceElement* DeviceInfo::DeviceElement::getParentPtr ( )
inline

Definition at line 83 of file DeviceInfo.h.

Member Data Documentation

◆ id

int DeviceInfo::DeviceElement::id
private

Definition at line 100 of file DeviceInfo.h.

Referenced by getElementIdInParent().

◆ name

std::string DeviceInfo::DeviceElement::name
private

◆ parentPtr

DeviceElement* DeviceInfo::DeviceElement::parentPtr
private

◆ type

DeviceElementType DeviceInfo::DeviceElement::type
private

Definition at line 99 of file DeviceInfo.h.

Referenced by getElementType().


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