How to access inherited variables?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-12-01 12:32 AM
Hello, the question was already posted by another user ("how to access public variables in a base class"), but never answered.
In other words, the CubeMonitor shows only variables contained in derived class, all inherited variables are invisible. Is there a way to get around or fix this?
Labels:
- Labels:
-
STM32CubeMonitor
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-12-22 4:01 AM
Hello @ABan.1
Sounds like it's not or badly supported by CubeMonitor. Will check with dev team if it's possible to improve. In the mean time you'll need to declare a public variable in your derived class that gets inherited value.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
