classCControlModule : public CConfigurableObject{CControlModule(std::string name, CControlHardware& hardware);void Initialize(CCCUSB& crate);std::string Update(CCCUSB& crate);std::string Set(CCCUSB& crate, const char* what, const char* value);std::string Get(CCCUSB& crate, const char* what);};
CControlModule objects serve a dual purpose.
On the one hand, the methods supplied by them wrap the
driver objects (
CControlHardware
derived objects).
On the other hand, by inheriting from
CConfigurableObject, this object
provides a configuration database for those driver object.