From OpenSCADAWiki
Jump to: navigation, search
(Importing a new version from external source)
(Importing a new version from external source)
 
Line 10: Line 10:
 
* ''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 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.
 
* ''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''.

Latest revision as of 20:28, 8 March 2025

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Documents/API)
'''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''.
Translation'''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''.

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.