HomePhorge

Extending the rosa::AbstractAgent interface with a comparison operator for…

Referenced Files
None
Subscribers
None

Description

Extending the rosa::AbstractAgent interface with a comparison operator for sorting, that fixes the behavior of rosa::deluxe::DeluxeContext::DeluxeUnits; extending the rosa::System interface with operators for equality checking; fixing rosa::MessagingSystemImpl::send with properly checking equality of Systems; extending the rosa::deluxe::DeluxeAgent interface with a function to lookup slave position, that is required for unregistering destructed slaves; modifying the rosa::deluxe::DeluxeAgent interface so that processing functions result in an optional value, thus making it possible to ignore output; fixing implementation of rosa::deluxe::DeluxeAgent: validation of multiple registration of slaves in inv(), unregistering master and slaves -- if any -- in the destructor to make sure invariants of those other objects remain valid, unregistering master from cleared slave in registerSlave() to make sure the invariant of that other object remains valid; fixing implementation of rosa::deluxe::DeluxeSensor: the signature of rosa::deluxe::DeluxeSensor::triggerHandlerFromDataSource() cannot be const quailified, unregistering master -- if any -- in the destructor to make sure invariant of that other object remains valid; fixing implementation of rosa::deluxe::DeluxeContext: properly registering created Units in createSensor() and createAgent(), making the signature of registerSensorValues() more flexible to be able to use any kind of iterator, handling of lambda for simulation data source registration is corrected, removing clean marking of System from the destructor as it was superfluous; removing unnecessary destructor declaration from rosa::deluxe::DeluxeSystemImpl.

Details

Provenance
juhaszAuthored on Jul 18 2017, 12:05 PM
Parents
R20:e56b3fbaf0b4: Fixing how names are reported in log messages.
Branches
Unknown
Tags
Unknown