|
| template<typename TRunnableId , typename... TPortTypes> |
| static auto | ReadPorts (TRunnableId eRunnableId, TPortTypes &... orPorts) -> std::optional< std::tuple< typename TPortTypes::DataType... > > |
| |
◆ ReadPorts()
template<typename TRunnableId , typename... TPortTypes>
| auto CPortReader::ReadPorts |
( |
TRunnableId |
eRunnableId, |
|
|
TPortTypes &... |
orPorts |
|
) |
| -> std::optional<std::tuple<typename TPortTypes::DataType...>> |
|
static |
Read data from multiple ports.
- Template Parameters
-
| TRunnableId | Runnable ID type (enum or integer) |
| TPortTypes | Variadic list of port types. |
- Parameters
-
| eRunnableId | Runnable ID. Use 0 to skip logging, or if not applicable. |
| orPorts | Variadic list of port references. |
- Returns
- An optional tuple containing the data read from the ports. If any port fails to lock, returns empty optional.
The documentation for this class was generated from the following file: