virtual ObjectState * saveState() const
static const std::string OSKEY_SOURCE_BUS
ObjectState attribute key for source bus name.
Bus * destinationBus() const
virtual TCEString name() const
Bus * destinationBus_
Destination bus.
virtual void loadState(const ObjectState *state)
virtual void unsetMachine()
bool sourcePrevious_
Indicates which of the buses is previous and next.
Bridge(const std::string &name, Bus &sourceBus, Bus &destinationBus)
void setSourceAndDestination(Bus &sourceBus, Bus &destination)
Bus * previousBus() const
Bus * sourceBus_
Source bus.
static void setFirstOfChain(const Bus &bus)
static const std::string OSNAME_BRIDGE
ObjectState name for bridge.
static const std::string OSKEY_DESTINATION_BUS
ObjectState attribute key for destination bus name.
void adjustChainDirection(const Bus &sourceBus, const Bus &destinationBus)
virtual void setMachine(Machine &mach)
virtual void setName(const std::string &name)