From OpenSCADAWiki
(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
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}".