TestDataMercedesCar.cpp 548 B

123456789101112131415161718192021
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2020-11-14
  6. * Changed: 2022-05-14
  7. *
  8. * */
  9. #include "Colour.hpp"
  10. #include "TestDataMercedesCar.hpp"
  11. ls_std_event_test::TestDataMercedesCar::TestDataMercedesCar() : TestDataCar()
  12. {
  13. this->setColor("blue");
  14. }
  15. void ls_std_event_test::TestDataMercedesCar::listen(const ls::std::core::Class &_info)
  16. {
  17. this->setColor(dynamic_cast<const ls_std_event_test::Colour &>(_info).getValue());
  18. }