From OpenSCADAWiki
Revision as of 20:28, 8 March 2025 by FuzzyBot (Talk | contribs) (Importing a new version from external source)
Protected methods:
- TConfig *vlCfg( ) — Getting of the associated configuration object. If NULL is returned then there is no associated configuration object.
- void setVlCfg( TConfig *cfg ); — Setting of the associated configuration object cfg.
- bool vlElemPresent( TElem *ValEl ); — Check for the availability if the attributes' elements ValEl.
- void vlElemAtt( TElem *ValEl ); — Attach of the data structure ValEl.
- void vlElemDet( TElem *ValEl ); — Detach of the data structure ValEl.
- TElem &vlElem( const string &name ); — Get the data structure by its name name.
- virtual TVal* vlNew( ); — Called at the stage of a new attribute creation. It can be overridden to implement the particular behaviour within its own, inherited from the TVal, class during the access of the attribute.
- virtual void vlGet( TVal &vo ); — Called for an attribute with the direct reading mode TVal::DirRead (synchronous mode, or reading from an internal buffer of the object) when reading the value in order to directly read the value from the physical source or the object buffer.
- virtual void vlSet( TVal &vo, const TVariant &vl, const TVariant &pvl ); — Called for the attribute vo with the direct recording mode TVal::DirWrite (synchronous or writing to an internal buffer of the object) when set to immediate record the value vl to the physical source or buffer object, with the previous value pvl.
- virtual void vlArchMake( TVal &val ); — Called at the stage of creation the value archive with the val attribute as the source in the order to initialise the qualitative characteristics of the archive buffer according to the characteristics of the data source and polling.
- void setNoTransl( bool vl ); — Setting of the sign "No translation" for all elements to vl.