From OpenSCADAWiki
Jump to: navigation, search
(Importing a new version from external source)
(Importing a new version from external source)
 
Line 1: Line 1:
 
'''Protected methods:'''
 
'''Protected methods:'''
 
* ''string associateTrO( const string &addr, char stage = ATrStg_Common );'' — The associated output transport creation with the address ''addr'' on the ''stage'' as an enumeration ''AssociateTrStage''.
 
* ''string associateTrO( const string &addr, char stage = ATrStg_Common );'' — The associated output transport creation with the address ''addr'' on the ''stage'' as an enumeration ''AssociateTrStage''.
 +
* ''int logLen( );'' — length of the IO log.
 +
* ''void setLogLen( int vl );'' — set length of the IO log.
 +
* ''void pushLogMess( const string &vl, const string &data = "", int dataDir = 0 );'' — push the message ''vl'' with the ''data'' in the direction ''dataDir'' to the log in the format "'''{vl}\n{data}'''".

Latest revision as of 11:13, 31 December 2023

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:'''
* ''string associateTrO( const string &addr, char stage = ATrStg_Common );'' — The associated output transport creation with the address ''addr'' on the ''stage'' as an enumeration ''AssociateTrStage''.
* ''int logLen( );'' — length of the IO log.
* ''void setLogLen( int vl );'' — set length of the IO log.
* ''void pushLogMess( const string &vl, const string &data = "", int dataDir = 0 );'' — push the message ''vl'' with the ''data'' in the direction ''dataDir'' to the log in the format "'''{vl}\n{data}'''".
Translation'''Protected methods:'''
* ''string associateTrO( const string &addr, char stage = ATrStg_Common );'' — The associated output transport creation with the address ''addr'' on the ''stage'' as an enumeration ''AssociateTrStage''.
* ''int logLen( );'' — length of the IO log.
* ''void setLogLen( int vl );'' — set length of the IO log.
* ''void pushLogMess( const string &vl, const string &data = "", int dataDir = 0 );'' — push the message ''vl'' with the ''data'' in the direction ''dataDir'' to the log in the format "'''{vl}\n{data}'''".

Protected methods:

  • string associateTrO( const string &addr, char stage = ATrStg_Common ); — The associated output transport creation with the address addr on the stage as an enumeration AssociateTrStage.
  • int logLen( ); — length of the IO log.
  • void setLogLen( int vl ); — set length of the IO log.
  • void pushLogMess( const string &vl, const string &data = "", int dataDir = 0 ); — push the message vl with the data in the direction dataDir to the log in the format "{vl}\n{data}".