Base class for AltAI devices.
More...
#include <knp/devices/altai.h>
|
virtual | ~AltAI ()=default |
| AltAI destructor.
|
|
knp::core::DeviceType | get_type () const override |
| Get device type.
|
|
std::pair< size_t, size_t > | get_grid_cols_rows () const |
| Get number of columns and rows in device grid.
|
|
std::vector< Port > | get_grid_ports () const |
| Get port vector of device grid.
|
|
virtual | ~Device ()=default |
| Device destructor.
|
|
const UID & | get_uid () const |
| Get device UID.
|
|
auto & | get_tags () |
| Get tags used by the device.
|
|
virtual const std::string & | get_name () const =0 |
| Get device name.
|
|
virtual float | get_power () const =0 |
| Get power consumption details for the device.
|
|
Base class for AltAI devices.
Definition at line 104 of file altai.h.
◆ get_grid_cols_rows()
std::pair< size_t, size_t > knp::devices::altai::AltAI::get_grid_cols_rows |
( |
| ) |
const |
|
nodiscard |
Get number of columns and rows in device grid.
- Returns
- pair of AltAI grid columns and rows.
◆ get_grid_ports()
std::vector< Port > knp::devices::altai::AltAI::get_grid_ports |
( |
| ) |
const |
|
nodiscard |
Get port vector of device grid.
- Returns
Port
vector of a given AltAI device.
◆ get_type()
◆ columns_
size_t knp::devices::altai::AltAI::columns_ |
|
protected |
Number of columns in core grid of AltAI device.
Definition at line 135 of file altai.h.
◆ ports_
std::vector<Port> knp::devices::altai::AltAI::ports_ |
|
protected |
Ports in core grid of AltAI device.
Definition at line 145 of file altai.h.
◆ rows_
size_t knp::devices::altai::AltAI::rows_ |
|
protected |
Number of rows in core grid of AltAI device.
Definition at line 140 of file altai.h.
The documentation for this class was generated from the following file:
- devices-library/include/knp/devices/altai.h