From OpenSCADAWiki
Jump to: navigation, search

The TCntrNode object, in addition to the control interface function, provides unified control mechanisms for modifying the object's configuration, loading, saving, and deleting configuration duplicates in the storage. You can use the modif() and modifG() functions to set the object data modification flag, and the module-specific loading and saving actions can be placed in virtual functions:

  • void load_( TConfig *cfg );, void load_( ); — loading the object from a storage.
  • void save_( ); — saving the object to a storage.