Represents the set of all I/Os of the scanner and their states. More...
#include <io_state.h>
Public Member Functions | |
std::vector< PinState > | changedInputStates (const IOState &ref_state) const |
std::vector< PinState > | changedOutputStates (const IOState &ref_state) const |
std::vector< PinState > | input () const |
IOState ()=default | |
IOState (data_conversion_layer::monitoring_frame::io::PinData pin_data, const int64_t ×tamp) | |
bool | operator!= (const IOState &io_state) const |
bool | operator== (const IOState &io_state) const |
std::vector< PinState > | output () const |
int64_t | timestamp () const |
Private Attributes | |
data_conversion_layer::monitoring_frame::io::PinData | pin_data_ {} |
int64_t | timestamp_ {} |
Friends | |
std::ostream & | operator<< (std::ostream &os, const IOState &io_state) |
Represents the set of all I/Os of the scanner and their states.
Definition at line 76 of file io_state.h.
|
default |
psen_scan_v2_standalone::IOState::IOState | ( | data_conversion_layer::monitoring_frame::io::PinData | pin_data, |
const int64_t & | timestamp | ||
) |
Definition at line 65 of file io_state.cpp.
std::vector< PinState > psen_scan_v2_standalone::IOState::changedInputStates | ( | const IOState & | ref_state | ) | const |
ref_state | another IOState that is used as reference for the changed state calculation. |
Definition at line 95 of file io_state.cpp.
std::vector< PinState > psen_scan_v2_standalone::IOState::changedOutputStates | ( | const IOState & | ref_state | ) | const |
ref_state | another IOState that is used as reference for the changed state calculation. |
Definition at line 100 of file io_state.cpp.
std::vector< PinState > psen_scan_v2_standalone::IOState::input | ( | ) | const |
Definition at line 80 of file io_state.cpp.
bool psen_scan_v2_standalone::IOState::operator!= | ( | const IOState & | io_state | ) | const |
Definition at line 75 of file io_state.cpp.
bool psen_scan_v2_standalone::IOState::operator== | ( | const IOState & | io_state | ) | const |
Definition at line 70 of file io_state.cpp.
std::vector< PinState > psen_scan_v2_standalone::IOState::output | ( | ) | const |
Definition at line 85 of file io_state.cpp.
int64_t psen_scan_v2_standalone::IOState::timestamp | ( | ) | const |
Definition at line 90 of file io_state.cpp.
|
friend |
Definition at line 105 of file io_state.cpp.
|
private |
Definition at line 105 of file io_state.h.
|
private |
Definition at line 106 of file io_state.h.