|
xaiefal
|
class for group event resource More...
#include <xaiefal-groupevent.hpp>
Public Member Functions | |
| XAieGroupEvent ()=delete | |
| XAieGroupEvent (std::shared_ptr< XAieDevHandle > DevHd, XAie_LocType Loc, XAie_ModuleType Mod, XAie_Events gEvent) | |
| XAie_Events | getEvent () const |
| AieRC | attachHandle (const XAieGroupEventHandle *Hid, uint32_t Comp) |
| AieRC | startHandle (const XAieGroupEventHandle *Hid) |
| AieRC | stopHandle (const XAieGroupEventHandle *Hid) |
| AieRC | removeHandle (const XAieGroupEventHandle *Hid) |
| uint32_t | getRscIdfromEvent (XAie_Events Event) |
| Public Member Functions inherited from xaiefal::XAieSingleTileRsc | |
| XAieSingleTileRsc ()=delete | |
| XAieSingleTileRsc (std::shared_ptr< XAieDevHandle > DevHd, XAie_LocType Loc, XAie_ModuleType Mod) | |
| XAieSingleTileRsc (std::shared_ptr< XAieDevHandle > DevHd, XAie_LocType Loc, XAie_ModuleType Mod, XAieRscType Type) | |
| XAieSingleTileRsc (XAieDev &Dev, XAie_LocType Loc, XAie_ModuleType Mod) | |
| XAieSingleTileRsc (XAieDev &Dev, XAie_LocType Loc, XAie_ModuleType Mod, XAieRscType Type) | |
| XAieSingleTileRsc (std::shared_ptr< XAieDevHandle > DevHd, XAie_LocType Loc) | |
| XAieSingleTileRsc (std::shared_ptr< XAieDevHandle > DevHd, XAie_LocType Loc, XAieRscType Type) | |
| XAieSingleTileRsc (XAieDev &Dev, XAie_LocType Loc, XAieRscType Type) | |
| virtual | ~XAieSingleTileRsc () |
| XAie_LocType | loc () const |
| XAie_ModuleType | mod () const |
| AieRC | getRscId (XAie_LocType &OutLoc, XAie_ModuleType &OutMod, uint32_t &OutRscId) |
| virtual XAieRscStat | getRscStat (const std::string &GName) const |
| Public Member Functions inherited from xaiefal::XAieRsc | |
| XAieRsc ()=delete | |
| XAieRsc (std::shared_ptr< XAieDevHandle > DevHd) | |
| XAieRsc (std::shared_ptr< XAieDevHandle > DevHd, XAieRscType Type) | |
| XAieRsc (XAieDev &Dev) | |
| virtual | ~XAieRsc () |
| AieRC | setPreferredId (uint32_t id, bool isStaticAllocated=false) |
| uint32_t | getPreferredId () |
| AieRC | reserve () |
| AieRC | release () |
| AieRC | free () |
| AieRC | start () |
| AieRC | stop () |
| bool | isInitialized () const |
| bool | isReserved () const |
| bool | isConfigured () const |
| bool | isRunning () const |
| void | getReservedRscs (std::vector< XAieUserRsc > &vOutRscs) const |
| AieRC | getRscs (std::vector< XAieUserRsc > &vOutRscs) |
| AieRC | setRscs (std::vector< XAieUserRsc > &vInRscs) |
| virtual XAieRscType | getRscType () const |
| XAie_DevInst * | dev () |
| virtual uint32_t | getAvailManagedRscs () |
| virtual XAieRscType | getManagedRscsType () |
Protected Member Functions | |
| AieRC | _reserve () |
| AieRC | _release () |
| AieRC | _start () |
| AieRC | _stop () |
Additional Inherited Members | |
| Protected Attributes inherited from xaiefal::XAieSingleTileRsc | |
| XAie_LocType | Loc |
| XAie_ModuleType | Mod |
| Protected Attributes inherited from xaiefal::XAieRsc | |
| XAieRscState | State |
| XAieRscType | Type |
| std::shared_ptr< XAieDevHandle > | AieHd |
| uint32_t | preferredId |
| uint32_t | reservedId |
| std::vector< XAieUserRsc > | vRscs |
class for group event resource
|
delete |
|
inline |
|
inlineprotectedvirtual |
This function will be called by release(). It allows child class to implement its own resource release.
Reimplemented from xaiefal::XAieRsc.
|
inlineprotectedvirtual |
This function will be called by reserve(). It allows child class to implement its own resource reservation.
Reimplemented from xaiefal::XAieRsc.
|
inlineprotectedvirtual |
This function will be called by start(). It allows child class to implement its own resource start.
Reimplemented from xaiefal::XAieRsc.
|
inlineprotectedvirtual |
This function will be called by stop(). It allows child class to implement its own resource stop.
Reimplemented from xaiefal::XAieRsc.
|
inline |
This function is to attach group event handle.
| Hid | group event handle id |
| Comp | composition |
If the group event is not reserved, this function will add the input reference to the reference list, and reserve the group event resource. If the group event has been reserved, it will only add the reference to the list if the group event enabling setting is the same as what's been reserved.
|
inline |
This function is to return group event
|
inline |
|
inline |
This function is to remove the group event handle.
| Hid | groupe event handle ID |
This function will remove the referece from the references list, if the list is empty after removal, it will release the group event resource.
|
inline |
This function is to start the group event handle.
| Hid | groupe event handle id |
This function will validate the reference, if it is valid, it will add it to the inuse references list, if the list was empty, it will configure the group event.
|
inline |
This function is to stop the group event handle.
| Hid | groupe event handle ID |
This function will remove the referece from the inuse references list, if the list is empty after removal, it will reset the group event configuration.