From OpenSCADAWiki
(Importing a new version from external source) |
(Importing a new version from external source) |
||
Line 3: | Line 3: | ||
* ''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. | ||
− | * ''string inAdd( const string &id, const string &db = | + | * ''string inAdd( const string &id, const string &db = DB_GEN );'' — 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. | * ''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. | * ''AutoHD<TTransportIn> inAt( const string &id ) const;'' — Connection to the input transport. | ||
* ''void outList( vector<string> &list ) const;'' — The list of the output transports. | * ''void outList( vector<string> &list ) const;'' — The list of the output transports. | ||
* ''bool outPresent( const string &id ) const;'' — Check for an output transport presence. | * ''bool outPresent( const string &id ) const;'' — Check for an output transport presence. | ||
− | * ''string outAdd( const string &id, const string &db = | + | * ''string outAdd( const string &id, const string &db = DB_GEN );'' — 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. | * ''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. |
Latest revision as of 17:29, 24 June 2023
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 = DB_GEN ); — 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 = DB_GEN ); — 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.