xaiefal
Loading...
Searching...
No Matches
xaiefal::XAieRscGroupRuntime Class Reference

class to runtime resources functional group Each element in the group is a resource. More...

#include <xaiefal-rsc-group-impl.hpp>

Inheritance diagram for xaiefal::XAieRscGroupRuntime:
xaiefal::XAieRscGroupBase

Public Member Functions

 XAieRscGroupRuntime (std::shared_ptr< XAieDevHandle > DevHd, const std::string &Name="")
 XAieRscGroupRuntime ()
 ~XAieRscGroupRuntime ()
AieRC addRsc (std::shared_ptr< XAieRsc > Rsc)
Public Member Functions inherited from xaiefal::XAieRscGroupBase
 XAieRscGroupBase (std::shared_ptr< XAieDevHandle > DevHd, const std::string &Name="")
 XAieRscGroupBase ()
 ~XAieRscGroupBase ()
XAieRscStat getRscStat () const
XAieRscStat getRscStat (XAie_LocType Loc) const
XAieRscStat getRscStat (XAie_LocType Loc, XAieRscType RscType) const
XAieRscStat getRscStat (XAie_LocType Loc, XAie_ModuleType Mod) const
XAieRscStat getRscStat (XAie_LocType Loc, XAie_ModuleType Mod, XAieRscType RscType) const
XAieRscStat getRscStat (XAie_LocType Loc, XAie_ModuleType Mod, XAieRscType RscType, uint32_t RscId) const
XAieRscStat getRscStat (const std::vector< XAie_LocType > &vLocs, XAieRscType RscType) const
XAieRscStat getRscStat (const std::vector< XAie_LocType > &vLocs, XAieRscType RscType, uint32_t RscId) const

Additional Inherited Members

Protected Member Functions inherited from xaiefal::XAieRscGroupBase
XAieRscStat _getRscStatTile (XAie_LocType Loc, XAie_ModuleType Mod, XAieRscType RscType, uint32_t RscId) const
Static Protected Member Functions inherited from xaiefal::XAieRscGroupBase
static std::vector< XAie_LocType > _getAllTilesLocs (XAie_DevInst *DevInst)
static std::vector< XAieUserRscStat > _createDrvRscStats (XAie_DevInst *DevInst, const std::vector< XAie_LocType > &vLocs, XAie_ModuleType Mod, XAieRscType RscType)
Protected Attributes inherited from xaiefal::XAieRscGroupBase
std::string FuncName
std::weak_ptr< XAieDevHandle > AieHd

Detailed Description

class to runtime resources functional group Each element in the group is a resource.

Constructor & Destructor Documentation

◆ XAieRscGroupRuntime() [1/2]

xaiefal::XAieRscGroupRuntime::XAieRscGroupRuntime ( std::shared_ptr< XAieDevHandle > DevHd,
const std::string & Name = "" )
inline

◆ XAieRscGroupRuntime() [2/2]

xaiefal::XAieRscGroupRuntime::XAieRscGroupRuntime ( )
inline

◆ ~XAieRscGroupRuntime()

xaiefal::XAieRscGroupRuntime::~XAieRscGroupRuntime ( )
inline

Member Function Documentation

◆ addRsc()

AieRC xaiefal::XAieRscGroupRuntime::addRsc ( std::shared_ptr< XAieRsc > Rsc)
inlinevirtual

This function adds a resource to the resource group.

Parameters
AIengine resource shared pointer
Returns
XAIE_OK for success, error code for failure.

Reimplemented from xaiefal::XAieRscGroupBase.


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