Kactus2
Kactus2 reference guide
Loading...
Searching...
No Matches
BusInterfaceInterface Class Reference

Interface for accessing bus interfaces. More...

#include <BusInterfaceInterface.h>

Inheritance diagram for BusInterfaceInterface:
ParameterizableInterface NameGroupInterface CommonInterface

Public Member Functions

 BusInterfaceInterface (const BusInterfaceInterface &other)=delete
 No copying. No assignment.
 
 BusInterfaceInterface (QSharedPointer< BusInterfaceValidator > busValidator, QSharedPointer< ExpressionParser > expressionParser, QSharedPointer< ExpressionFormatter > expressionFormatter)
 
virtual ~BusInterfaceInterface ()=default
 
bool addAbstractionType (std::string const &busName, std::string const &newVendor, std::string const &newLibrary, std::string const &newName, std::string const &newVersion) const
 
void addBusInterface (int const &newBusIndex, std::string const &busName="")
 
void addBusInterface (std::string const &busName="")
 
bool busInterfaceExists (std::string const &busName) const
 
std::string connectionIsRequired (std::string const &busName) const
 
void copyRows (std::vector< int > selectedRows)
 
QSharedPointer< QList< QSharedPointer< TransparentBridge > > > createBridges (std::string const &busName)
 
std::vector< std::string > getAbstractionReferences (std::string const &busName) const
 
std::string getAbstractionReferenceString (std::string const &busName) const
 
AbstractionTypeInterfacegetAbstractionTypeInterface () const
 
General::InterfaceMode getActiveMode (std::string const &busName) const
 
QString getActiveSystemGroup (std::string const &busName) const
 
std::string getAddressSpaceReference (std::string const &busName) const
 
std::vector< std::string > getAllExpressions (std::string const &busName) const
 
virtual int getAllReferencesToIdInItem (const std::string &itemName, std::string const &valueID) const override
 
std::string getBaseAddressExpression (std::string const &busName) const
 
std::string getBaseAddressFormattedExpression (std::string const &busName) const
 
std::string getBaseAddressValue (std::string const &busName, int const &baseNumber=0) const
 
std::string getBitsInLau (std::string const &busName) const
 
std::string getBitSteering (std::string const &busName) const
 
TransparentBridgeInterfacegetBridgeInterface ()
 
QSharedPointer< QList< QSharedPointer< TransparentBridge > > > getBridges (std::string const &busName) const
 
ConfigurableVLNVReference getBusType (std::string const &busName) const
 
std::string getBusTypeString (std::string const &busName) const
 
BusInterface::Endianness getEndianness (std::string const &busName) const
 
FileSetInterfacegetFileSetInterface () const
 
std::vector< std::string > getFileSetReferences (std::string const &busName) const
 
std::string getIndexedItemName (int itemIndex) const final
 
virtual int getItemIndex (std::string const &itemName) const override final
 
virtual std::vector< std::string > getItemNames () const override final
 
MemoryMapInterfacegetMemoryMapInterface () const
 
std::string getMemoryMapReference (std::string const &busName) const
 
General::InterfaceMode getMode (std::string const &busName) const
 
std::string getModeString (std::string const &busName) const
 
std::string getMonitorGroup (std::string const &busName) const
 
General::InterfaceMode getMonitorMode (std::string const &busName) const
 
int getPasteRowCount () const
 
std::string getRangeExpression (std::string const &busName) const
 
std::string getRangeFormattedExpression (std::string const &busName) const
 
std::string getRangeValue (std::string const &busName, int const &baseNumber=0) const
 
std::string getRemapAddressExpression (std::string const &busName) const
 
std::string getRemapAddressFormattedExpression (std::string const &busName) const
 
std::string getRemapAddressValue (std::string const &busName, int const &baseNumber=0) const
 
std::string getSystemGroup (std::string const &busName) const
 
QSharedPointer< BusInterfaceValidator > getValidator () const
 
bool hasValidAbstractionTypes (std::string const &busName) const
 
bool hasValidBusType (std::string const &busName) const
 
virtual int itemCount () const override final
 
virtual bool itemHasValidName (std::string const &itemName) const override final
 
BusInterfaceInterfaceoperator= (const BusInterfaceInterface &other)=delete
 
std::vector< std::string > pasteRows ()
 
bool removeAbstractionTypes (std::string const &busName)
 
bool removeBusInterface (std::string const &busName)
 
void setAbstractionTypeInterface (AbstractionTypeInterface *newAbstractionTypeInterface)
 
bool setAddressSpaceReference (std::string const &busName, std::string const &newSpace)
 
bool setBaseAddress (std::string const &busName, std::string const &newBaseAddress)
 
bool setBitsInLau (std::string const &busName, std::string const &newBits)
 
bool setBitSteering (std::string const &busName, std::string const &newBitSteering)
 
void setBusInterfaces (QSharedPointer< Component > newComponent)
 
bool setBustype (std::string const &busName, ConfigurableVLNVReference const &newVLNV)
 
bool setBustype (std::string const &busName, std::string const &newVendor, std::string const &newLibrary, std::string const &newName, std::string const &newVersion) const
 
bool setConnectionIsRequired (std::string const &busName, bool newValue)
 
bool setEndianness (std::string const &busName, std::string const &newEndianness)
 
void setFileSetInterface (FileSetInterface *newFileSetInterface)
 
bool setFileSetReferences (std::string const &busName, std::vector< std::string > const &newFileSetReferences)
 
void setMemoryMapInterface (MemoryMapInterface *newMapInterface)
 
bool setMemoryMapReference (std::string const &busName, std::string const &newMapReference)
 
bool setMode (std::string const &busName, std::string const &newMode)
 
bool setMonitorGroup (std::string const &busName, std::string const &newGroup)
 
bool setMonitorMode (std::string const &busName, std::string const &newMode)
 
virtual bool setName (std::string const &currentName, std::string const &newName) override final
 
void setParameterInterface (ParametersInterface *newParameterInterface)
 
bool setRange (std::string const &busName, std::string const &newRange)
 
bool setRemapAddress (std::string const &busName, std::string const &newRemapAddress)
 
bool setSystemGroup (std::string const &busName, std::string const &newSystem)
 
void setTransparentBridgeInterface (TransparentBridgeInterface *newBridgeInterface)
 
void setupSubInterfaces (std::string const &busName)
 
void swapBusInterfaces (int const &firstIndex, int const &secondIndex)
 
bool validateBusInterface (std::string const &busName) const
 
virtual bool validateItems () const override final
 
- Public Member Functions inherited from ParameterizableInterface
 ParameterizableInterface (const ParameterizableInterface &other)=delete
 No copying. No assignment.
 
 ParameterizableInterface (QSharedPointer< ExpressionParser > expressionParser, QSharedPointer< ExpressionFormatter > expressionFormatter)
 
virtual ~ParameterizableInterface ()=default
 
ParameterizableInterfaceoperator= (const ParameterizableInterface &other)=delete
 
- Public Member Functions inherited from NameGroupInterface
 NameGroupInterface ()
 
 NameGroupInterface (const NameGroupInterface &other)=delete
 No copying. No assignment.
 
virtual ~NameGroupInterface ()=default
 
virtual std::string getDescription (std::string const &itemName) const
 
virtual std::string getDisplayName (std::string const &itemName) const
 
virtual std::string getShortDescription (std::string const &itemName) const
 
NameGroupInterfaceoperator= (const NameGroupInterface &other)=delete
 
virtual bool setDescription (std::string const &itemName, std::string const &newDescription)
 
virtual bool setDisplayName (std::string const &itemName, std::string const &newDisplayName) const
 
bool setShortDescription (std::string const &itemName, std::string const &newShortDescription) const
 
- Public Member Functions inherited from CommonInterface
 CommonInterface ()=default
 
 CommonInterface (const CommonInterface &other)=delete
 No copying. No assignment.
 
virtual ~CommonInterface ()=default
 
CommonInterfaceoperator= (const CommonInterface &other)=delete
 

Additional Inherited Members

- Protected Member Functions inherited from ParameterizableInterface
QString formattedValueFor (QString const &expression) const
 
QString parseExpressionToBaseNumber (QString const &expression, unsigned int const &baseNumber, bool *expressionIsValid=nullptr) const
 
QString parseExpressionToDecimal (QString const &expression, bool *expressionIsValid=nullptr) const
 
- Protected Member Functions inherited from CommonInterface
QString getUniqueName (std::string const &newName, std::string const &itemTypeName) const
 
bool nameHasChanged (std::string const &newName, std::string const &oldName) const
 

Detailed Description

Interface for accessing bus interfaces.

Definition at line 40 of file BusInterfaceInterface.h.

Constructor & Destructor Documentation

◆ BusInterfaceInterface() [1/2]

BusInterfaceInterface::BusInterfaceInterface ( QSharedPointer< BusInterfaceValidator > busValidator,
QSharedPointer< ExpressionParser > expressionParser,
QSharedPointer< ExpressionFormatter > expressionFormatter )

The constructor.

Parameters
[in]busValidatorValidator for bus interfaces.
[in]expressionParserParser for expressions.
[in]expressionFormatterFormatter for expressions.

◆ ~BusInterfaceInterface()

virtual BusInterfaceInterface::~BusInterfaceInterface ( )
virtualdefault

The destructor.

◆ BusInterfaceInterface() [2/2]

BusInterfaceInterface::BusInterfaceInterface ( const BusInterfaceInterface & other)
delete

No copying. No assignment.

Member Function Documentation

◆ addAbstractionType()

bool BusInterfaceInterface::addAbstractionType ( std::string const & busName,
std::string const & newVendor,
std::string const & newLibrary,
std::string const & newName,
std::string const & newVersion ) const

Add a new abstraction type to the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
[in]newVendorVendor of the new abstraction type.
[in]newLibraryLibrary of the new abstraction type.
[in]newNameName of the new abstraction type.
[in]newVersionVersion of the new abstraction type.
Returns
True, if successful, false otherwise.

◆ addBusInterface() [1/2]

void BusInterfaceInterface::addBusInterface ( int const & newBusIndex,
std::string const & busName = "" )

Add a new bus interface, insert at specific position given by newBusIndex.

Parameters
[in]newBusIndexIndex of the new bus interface.
[in]busNameName of the new bus interface.

◆ addBusInterface() [2/2]

void BusInterfaceInterface::addBusInterface ( std::string const & busName = "")

Add a new bus interface. This overload should be preferred when using Python.

Parameters
[in]busNameName of the new bus interface.

◆ busInterfaceExists()

bool BusInterfaceInterface::busInterfaceExists ( std::string const & busName) const

Check if the selected bus interface exists.

Parameters
[in]busNameName of the selected bus interface.
Returns
True, if the bus interface exists, false otherwise.

◆ connectionIsRequired()

std::string BusInterfaceInterface::connectionIsRequired ( std::string const & busName) const

Get the connection required value of the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
Returns
The connection required value of the selected bus interface.

◆ copyRows()

void BusInterfaceInterface::copyRows ( std::vector< int > selectedRows)

Copy the selected bus interfaces.

Parameters
[in]selectedRowsIndexes of the selected bus interfaces.

◆ createBridges()

QSharedPointer< QList< QSharedPointer< TransparentBridge > > > BusInterfaceInterface::createBridges ( std::string const & busName)

Create or get existing transparent bridges pointer of the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
Returns
Pointer to the transparent bridges of the selected bus interface.

◆ getAbstractionReferences()

std::vector< std::string > BusInterfaceInterface::getAbstractionReferences ( std::string const & busName) const

Get the list of abstraction references of the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
Returns
String list of the abstraction references.

◆ getAbstractionReferenceString()

std::string BusInterfaceInterface::getAbstractionReferenceString ( std::string const & busName) const

Get the abstraction reference string of the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
Returns
Abstraction reference if only a single abstraction type exists, otherwise [multiple].

◆ getAbstractionTypeInterface()

AbstractionTypeInterface * BusInterfaceInterface::getAbstractionTypeInterface ( ) const

Get the interface for accessing abstraction types.

Returns
Interface for accessing abstraction types.

◆ getActiveMode()

General::InterfaceMode BusInterfaceInterface::getActiveMode ( std::string const & busName) const

Get the active / monitored bus interface mode of the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
Returns
Active / monitored bus interface mode of the seleced bus interface.

◆ getActiveSystemGroup()

QString BusInterfaceInterface::getActiveSystemGroup ( std::string const & busName) const

Get the active / monitored system group of the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
Returns
Active / monitored system group of the seleced bus interface.

◆ getAddressSpaceReference()

std::string BusInterfaceInterface::getAddressSpaceReference ( std::string const & busName) const

Get the address space reference of the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
Returns
Address space reference of the selected bus interface.

◆ getAllExpressions()

std::vector< std::string > BusInterfaceInterface::getAllExpressions ( std::string const & busName) const

Get all the expressions in the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
Returns
List of the expressions in the selected bus interface.

◆ getAllReferencesToIdInItem()

virtual int BusInterfaceInterface::getAllReferencesToIdInItem ( const std::string & itemName,
std::string const & valueID ) const
overridevirtual

Get all the references made to the selected parameter in the selected bus interface.

Parameters
[in]itemNameName of the selected bus interface.
[in]valueIDID of the target parameter.
Returns
Number of references made to the given parameter in the selected bus interface.

Implements ParameterizableInterface.

◆ getBaseAddressExpression()

std::string BusInterfaceInterface::getBaseAddressExpression ( std::string const & busName) const

Get the base address expression of the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
Returns
Base address expression of the selected bus interface.

◆ getBaseAddressFormattedExpression()

std::string BusInterfaceInterface::getBaseAddressFormattedExpression ( std::string const & busName) const

Get the formatted base address expression of the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
Returns
Formatted base address expression of the selected bus interface.

◆ getBaseAddressValue()

std::string BusInterfaceInterface::getBaseAddressValue ( std::string const & busName,
int const & baseNumber = 0 ) const

Get the calculated base address value of the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
[in]baseNumberBase for displaying the value.
Returns
Calculated base address value of the selected bus interface.

◆ getBitsInLau()

std::string BusInterfaceInterface::getBitsInLau ( std::string const & busName) const

Get the bits in lau value of the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
Returns
Bits in lau value of the selected bus interface.

◆ getBitSteering()

std::string BusInterfaceInterface::getBitSteering ( std::string const & busName) const

Get the bit steering value of the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
Returns
The bit steering of the selected bus interface.

◆ getBridgeInterface()

TransparentBridgeInterface * BusInterfaceInterface::getBridgeInterface ( )

Get the interface for accessing transparent bridges.

Returns
Interface for accessing transparent bridges.

◆ getBridges()

QSharedPointer< QList< QSharedPointer< TransparentBridge > > > BusInterfaceInterface::getBridges ( std::string const & busName) const

Get the transparent bridges of the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
Returns
Transparent bridges of the selected bus interface.

◆ getBusType()

ConfigurableVLNVReference BusInterfaceInterface::getBusType ( std::string const & busName) const

Get the bus type of the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
Returns
Bus type of the selected bus interface.

◆ getBusTypeString()

std::string BusInterfaceInterface::getBusTypeString ( std::string const & busName) const

Get the bus type of the selected bus interface as a string.

Parameters
[in]busNameName of the selected bus interface.
Returns
Bus type of the selected bus interface in string format.

◆ getEndianness()

BusInterface::Endianness BusInterfaceInterface::getEndianness ( std::string const & busName) const

Get the endianness of the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
Returns
BIG, LITTLE or UNSPECIFIED.

◆ getFileSetInterface()

FileSetInterface * BusInterfaceInterface::getFileSetInterface ( ) const

Get the interface for accessing file sets.

Returns
Interface for accessing file sets.

◆ getFileSetReferences()

std::vector< std::string > BusInterfaceInterface::getFileSetReferences ( std::string const & busName) const

Get the file set references of the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
Returns
File set references of the selected bus interface.

◆ getIndexedItemName()

std::string BusInterfaceInterface::getIndexedItemName ( int itemIndex) const
finalvirtual

Get name of the indexed bus interface.

Parameters
[in]itemIndexIndex of the selected bus interface.
Returns
Name of the selected bus interface.

Implements NameGroupInterface.

◆ getItemIndex()

virtual int BusInterfaceInterface::getItemIndex ( std::string const & itemName) const
finaloverridevirtual

Get index of the selected bus interface.

Parameters
[in]itemNameName of the selected bus interface.
Returns
Index of the selected bus interface.

Implements NameGroupInterface.

◆ getItemNames()

virtual std::vector< std::string > BusInterfaceInterface::getItemNames ( ) const
finaloverridevirtual

Get the names of the available bus interfaces.

Returns
Names of the available bus interfaces.

Implements CommonInterface.

◆ getMemoryMapInterface()

MemoryMapInterface * BusInterfaceInterface::getMemoryMapInterface ( ) const

Get the interface for accessing memory maps.

Returns
Interface for accessing memory maps.

◆ getMemoryMapReference()

std::string BusInterfaceInterface::getMemoryMapReference ( std::string const & busName) const

Get the memory map reference of the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
Returns
Memory map reference of the selected bus interface.

◆ getMode()

General::InterfaceMode BusInterfaceInterface::getMode ( std::string const & busName) const

Get the interface mode of the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
Returns
Interface mode of the selected bus interface.

◆ getModeString()

std::string BusInterfaceInterface::getModeString ( std::string const & busName) const

Get the interface mode of the selected bus interface in string form.

Parameters
[in]busNameName of the selected bus interface.
Returns
Interface mode string of the selected bus interface.

◆ getMonitorGroup()

std::string BusInterfaceInterface::getMonitorGroup ( std::string const & busName) const

Get the monitor system group of the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
Returns
Monitor system group of the selected bus interface.

◆ getMonitorMode()

General::InterfaceMode BusInterfaceInterface::getMonitorMode ( std::string const & busName) const

Get the monitor interface mode of the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
Returns
Monitor interface mode of the selected bus interface.

◆ getPasteRowCount()

int BusInterfaceInterface::getPasteRowCount ( ) const

Get the number of pasted bus interfaces.

Returns
Number of the pasted bus interfaces.

◆ getRangeExpression()

std::string BusInterfaceInterface::getRangeExpression ( std::string const & busName) const

Get the range expression of the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
Returns
Range expression of the selected bus interface.

◆ getRangeFormattedExpression()

std::string BusInterfaceInterface::getRangeFormattedExpression ( std::string const & busName) const

Get the formatted range expression of the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
Returns
Formatted range expression of the selected bus interface.

◆ getRangeValue()

std::string BusInterfaceInterface::getRangeValue ( std::string const & busName,
int const & baseNumber = 0 ) const

Get the calculated range value of the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
[in]baseNumberBase for displaying the value.
Returns
Calculated range value of the selected bus interface.

◆ getRemapAddressExpression()

std::string BusInterfaceInterface::getRemapAddressExpression ( std::string const & busName) const

Get the remap address expression of the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
Returns
Remap address expression of the selected bus interface.

◆ getRemapAddressFormattedExpression()

std::string BusInterfaceInterface::getRemapAddressFormattedExpression ( std::string const & busName) const

Get the formatted remap address expression of the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
Returns
Formatted remap address expression of the selected bus interface.

◆ getRemapAddressValue()

std::string BusInterfaceInterface::getRemapAddressValue ( std::string const & busName,
int const & baseNumber = 0 ) const

Get the calculated remap address value of the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
[in]baseNumberBase for displaying the value.
Returns
Calculated remap address value of the selected bus interface.

◆ getSystemGroup()

std::string BusInterfaceInterface::getSystemGroup ( std::string const & busName) const

Get the system group of the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
Returns
System group of the selected bus interface.

◆ getValidator()

QSharedPointer< BusInterfaceValidator > BusInterfaceInterface::getValidator ( ) const

Get the validator for bus interfaces.

Returns
Validator for bus interfaces.

◆ hasValidAbstractionTypes()

bool BusInterfaceInterface::hasValidAbstractionTypes ( std::string const & busName) const

Check if the selected bus interface has valid abstraction types.

Parameters
[in]busNameName of the selected bus interface.
Returns
True, if the abstraction types is valid, false otherwise.

◆ hasValidBusType()

bool BusInterfaceInterface::hasValidBusType ( std::string const & busName) const

Check if the selected bus interface has a valid bus type.

Parameters
[in]busNameName of the selected bus interface.
Returns
True, if the bus type is valid, false otherwise.

◆ itemCount()

virtual int BusInterfaceInterface::itemCount ( ) const
finaloverridevirtual

Get the number of available bus interfaces.

Returns
Number of available bus interfaces.

Implements CommonInterface.

◆ itemHasValidName()

virtual bool BusInterfaceInterface::itemHasValidName ( std::string const & itemName) const
finaloverridevirtual

Check if the selected bus interface has a valid name.

Parameters
[in]itemNameName of the selected bus interface.
Returns
True, if the name is valid, false otherwise.

Implements NameGroupInterface.

◆ operator=()

BusInterfaceInterface & BusInterfaceInterface::operator= ( const BusInterfaceInterface & other)
delete

◆ pasteRows()

std::vector< std::string > BusInterfaceInterface::pasteRows ( )

Paste the selected bus interfaces.

Returns
Names of the pasted bus interfaces.

◆ removeAbstractionTypes()

bool BusInterfaceInterface::removeAbstractionTypes ( std::string const & busName)

Remove all the abstraction types from the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
Returns
True, if successfull, false otherwise.

◆ removeBusInterface()

bool BusInterfaceInterface::removeBusInterface ( std::string const & busName)

Remove the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
Returns
True, if successful, false otherwise.

◆ setAbstractionTypeInterface()

void BusInterfaceInterface::setAbstractionTypeInterface ( AbstractionTypeInterface * newAbstractionTypeInterface)

Set a new abstraction type interface.

Parameters
[in]newAbstractionTypeInterfaceThe new abstraction type interface.

◆ setAddressSpaceReference()

bool BusInterfaceInterface::setAddressSpaceReference ( std::string const & busName,
std::string const & newSpace )

Set a new address space reference for the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
[in]newSpaceNew address space reference.
Returns
True, if successful, false otherwise.

◆ setBaseAddress()

bool BusInterfaceInterface::setBaseAddress ( std::string const & busName,
std::string const & newBaseAddress )

Set the base address for the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
[in]newBaseAddressNew base address.
Returns
True, if successful, false otherwise.

◆ setBitsInLau()

bool BusInterfaceInterface::setBitsInLau ( std::string const & busName,
std::string const & newBits )

Set the bits in value for the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
[in]newBitsNew bits in lau value.
Returns
True, if successful, false otherwise.

◆ setBitSteering()

bool BusInterfaceInterface::setBitSteering ( std::string const & busName,
std::string const & newBitSteering )

Set the bit steering value for the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
[in]newBitSteeringNew bit steering value.
Returns
True, if successful, false otherwise.

◆ setBusInterfaces()

void BusInterfaceInterface::setBusInterfaces ( QSharedPointer< Component > newComponent)

Setup the bus interfaces.

Parameters
[in]newComponentComponent containing the bus interfaces.

◆ setBustype() [1/2]

bool BusInterfaceInterface::setBustype ( std::string const & busName,
ConfigurableVLNVReference const & newVLNV )

Set the bus type of the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
[in]newVLNVNew bus type VLNV.
Returns
True, if successful, false otherwise.

◆ setBustype() [2/2]

bool BusInterfaceInterface::setBustype ( std::string const & busName,
std::string const & newVendor,
std::string const & newLibrary,
std::string const & newName,
std::string const & newVersion ) const

Set the bus type for the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
[in]newVendorVendor of the new bus type.
[in]newLibraryLibrary of the new bus type.
[in]newNameName of the new bus type.
[in]newVersionVersion of the new bus type.
Returns
True, if successful, false otherwise.

◆ setConnectionIsRequired()

bool BusInterfaceInterface::setConnectionIsRequired ( std::string const & busName,
bool newValue )

Set the connection required value for the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
[in]newValueNew connection required value.
Returns
True, if successful, false otherwise.

◆ setEndianness()

bool BusInterfaceInterface::setEndianness ( std::string const & busName,
std::string const & newEndianness )

Set the endianness of the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
[in]newEndiannessNew endianness value.
Returns
True, if successful, false otherwise.

◆ setFileSetInterface()

void BusInterfaceInterface::setFileSetInterface ( FileSetInterface * newFileSetInterface)

Set a new file set interface.

Parameters
[in]newFileSetInterfaceThe new file set interface.

◆ setFileSetReferences()

bool BusInterfaceInterface::setFileSetReferences ( std::string const & busName,
std::vector< std::string > const & newFileSetReferences )

Set the file set references for the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
[in]newFileSetReferencesNew file set references.
Returns
True, if successful, false otherwise.

◆ setMemoryMapInterface()

void BusInterfaceInterface::setMemoryMapInterface ( MemoryMapInterface * newMapInterface)

Set a new memory map interface.

Parameters
[in]newMapInterfaceThe new memory map interface.

◆ setMemoryMapReference()

bool BusInterfaceInterface::setMemoryMapReference ( std::string const & busName,
std::string const & newMapReference )

Set a new memory map reference for the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
[in]newMapReferenceNew memory map reference.
Returns
True, if successful, false otherwise.

◆ setMode()

bool BusInterfaceInterface::setMode ( std::string const & busName,
std::string const & newMode )

Set the interface mode for the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
[in]newModeThe new interface mode.
Returns
True, if successful, false otherwise.

◆ setMonitorGroup()

bool BusInterfaceInterface::setMonitorGroup ( std::string const & busName,
std::string const & newGroup )

Set the monitor system group for the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
[in]newGroupNew monitor system group.
Returns
True, if successful, false otherwise.

◆ setMonitorMode()

bool BusInterfaceInterface::setMonitorMode ( std::string const & busName,
std::string const & newMode )

Set the monitor interface mode for the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
[in]newModeNew monitor interface mode.
Returns
True, if successful, false otherwise.

◆ setName()

virtual bool BusInterfaceInterface::setName ( std::string const & currentName,
std::string const & newName )
finaloverridevirtual

Set a new name for the selected bus interface.

Parameters
[in]currentNameName of the selected bus interface.
[in]newNameNew name for the bus interface.
Returns
True, if successful, false otherwise.

Implements NameGroupInterface.

◆ setParameterInterface()

void BusInterfaceInterface::setParameterInterface ( ParametersInterface * newParameterInterface)

Set a new parameter interface.

Parameters
[in]newParameterInterfaceThe new parameter interface.

◆ setRange()

bool BusInterfaceInterface::setRange ( std::string const & busName,
std::string const & newRange )

Set the range for the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
[in]newRangeNew range value.
Returns
True, if successful, false otherwise.

◆ setRemapAddress()

bool BusInterfaceInterface::setRemapAddress ( std::string const & busName,
std::string const & newRemapAddress )

Set the remap address for the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
[in]newRemapAddressNew remap address value.
Returns
True, if successful, false otherwise.

◆ setSystemGroup()

bool BusInterfaceInterface::setSystemGroup ( std::string const & busName,
std::string const & newSystem )

Set the system group for the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
[in]newSystemThe new system group.
Returns
True, if successful, false otherwise.

◆ setTransparentBridgeInterface()

void BusInterfaceInterface::setTransparentBridgeInterface ( TransparentBridgeInterface * newBridgeInterface)

Set a new transparent bridge interface.

Parameters
[in]newBridgeInterfaceThe new transparent bridge interface.

◆ setupSubInterfaces()

void BusInterfaceInterface::setupSubInterfaces ( std::string const & busName)

Setup the sub interfaces for the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.

◆ swapBusInterfaces()

void BusInterfaceInterface::swapBusInterfaces ( int const & firstIndex,
int const & secondIndex )

Swap the selected bus interfaces.

Parameters
[in]firstIndexIndex of the first bus interface.
[in]secondIndexIndex of the second bus interface.

◆ validateBusInterface()

bool BusInterfaceInterface::validateBusInterface ( std::string const & busName) const

Validate the selected bus interface.

Parameters
[in]busNameName of the selected bus interface.
Returns
True, if the bus interface is valid, false otherwise.

◆ validateItems()

virtual bool BusInterfaceInterface::validateItems ( ) const
finaloverridevirtual

Validates the contained bus interfaces.

Returns
True, if all the bus interfaces are valid, false otherwise.

Implements CommonInterface.


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