Hi,
Great wrapper for GPIO pin control using sysfs! You've saved me a lot of time coding.
I would like to Inherit from BlackGPIO, unfortunately my compiler won't stand for it.
Hierarchy would like similar to this:
class BlackCore{}
class BlackCoreGPIO : private virtual BlackCore{}
class BlackGPIO : private virtual BlackCoreGPIO{}
class MyGPIO : private BlackGPIO{}
I've intentionally left out the initialization/parameter details of the base classes in the above examples.
Perhaps I am not Inheriting properly. Are you able to subclass BlackGPIO?
I can if I modify:
class BlackGPIO : virtual private BlackCoreGPIO {
to read
class BlackGPIO : private BlackCoreGPIO {
in the V3 library file BlackGPIO.h
Hi,
Great wrapper for GPIO pin control using sysfs! You've saved me a lot of time coding.
I would like to Inherit from BlackGPIO, unfortunately my compiler won't stand for it.
Hierarchy would like similar to this:
class BlackCore{}
class BlackCoreGPIO : private virtual BlackCore{}
class BlackGPIO : private virtual BlackCoreGPIO{}
class MyGPIO : private BlackGPIO{}
I've intentionally left out the initialization/parameter details of the base classes in the above examples.
Perhaps I am not Inheriting properly. Are you able to subclass BlackGPIO?
I can if I modify:
class BlackGPIO : virtual private BlackCoreGPIO {
to read
class BlackGPIO : private BlackCoreGPIO {
in the V3 library file BlackGPIO.h