From OpenSCADAWiki
(Importing a new version from external source) |
(Importing a new version from external source) |
||
Line 1: | Line 1: | ||
'''Public methods:''' | '''Public methods:''' | ||
− | * ''virtual bool isNetwork( );'' — The sign | + | * ''virtual bool isNetwork( );'' — The sign of network implementation by this module. |
* ''void inList( vector<string> &list ) const;'' — The list of the input transports. | * ''void inList( vector<string> &list ) const;'' — The list of the input transports. | ||
* ''bool inPresent( const string &id ) const;'' — Check for an input transport presence. | * ''bool inPresent( const string &id ) const;'' — Check for an input transport presence. | ||
Line 11: | Line 11: | ||
* ''void outDel( const string &id, bool complete = false );'' — Deleting of the output transport. It is possible to completely delete with the database included, by setting the ''complete'' sign. | * ''void outDel( const string &id, bool complete = false );'' — Deleting of the output transport. It is possible to completely delete with the database included, by setting the ''complete'' sign. | ||
* ''AutoHD<TTransportOut> outAt( const string &id ) const;'' — Connection to the output transport. | * ''AutoHD<TTransportOut> outAt( const string &id ) const;'' — Connection to the output transport. | ||
− | * ''virtual string outAddrHelp( );'' — Address format help of the output | + | * ''virtual string outAddrHelp( );'' — Address format help of the output transports. |
* ''int outLifeTime( );'' — Output transport lifetime, 0 for disable. | * ''int outLifeTime( );'' — Output transport lifetime, 0 for disable. | ||
* ''void setOutKeepAliveTm( int vl );'' — Set the output transport lifetime, 0 for disable. | * ''void setOutKeepAliveTm( int vl );'' — Set the output transport lifetime, 0 for disable. | ||
* ''TTransportS &owner( ) const;'' — "Transports" subsystem - the owner of the transport's type. | * ''TTransportS &owner( ) const;'' — "Transports" subsystem - the owner of the transport's type. |
Revision as of 20:38, 7 November 2022
Public methods:
- virtual bool isNetwork( ); — The sign of network implementation by this module.
- void inList( vector<string> &list ) const; — The list of the input transports.
- bool inPresent( const string &id ) const; — Check for an input transport presence.
- string inAdd( const string &id, const string &db = "*.*" ); — Addition of the input transport. Returns the end created identifier.
- void inDel( const string &id, bool complete = false ); — Deleting of the input transport. It is possible to completely delete with the database included, by setting the complete sign.
- AutoHD<TTransportIn> inAt( const string &id ) const; — Connection to the input transport.
- void outList( vector<string> &list ) const; — The list of the output transports.
- bool outPresent( const string &id ) const; — Check for an output transport presence.
- string outAdd( const string &id, const string &db = "*.*" ); — Addition of the output transport. Returns the end created identifier.
- void outDel( const string &id, bool complete = false ); — Deleting of the output transport. It is possible to completely delete with the database included, by setting the complete sign.
- AutoHD<TTransportOut> outAt( const string &id ) const; — Connection to the output transport.
- virtual string outAddrHelp( ); — Address format help of the output transports.
- int outLifeTime( ); — Output transport lifetime, 0 for disable.
- void setOutKeepAliveTm( int vl ); — Set the output transport lifetime, 0 for disable.
- TTransportS &owner( ) const; — "Transports" subsystem - the owner of the transport's type.