Unit port
-
class CUnitPort
Description of the unit port.
The main purpose is connecting to material streams.
Public Functions
-
CUnitPort(std::string _name, EUnitPort _type)
Constructs unit port with the given name and type.
- Parameters
_name – Name of the port.
_type – Type of the port.
-
const std::string &GetName() const
Returns port’s name.
- Returns
Name of the port.
-
void SetName(const std::string &_name)
Sets port’s name.
- Parameters
_name – New name of the port.
-
const std::string &GetStreamKey() const
Returns key of the stream, connected to this port.
- Returns
Key of the stream connected to the port.
-
void SetStreamKey(const std::string &_key)
Sets key of the stream, connected to this port.
- Parameters
_key – New key of the stream.
-
CUnitPort(std::string _name, EUnitPort _type)