Dataflow Runtime API
2.7.4.0
|
The protocol is used to communicate an simulator driver value get. More...
#include <Imt.Base.BSP.Simulator/Protocols/SimDriverValueGetProtocol.h>
Public Member Functions | |
SimDriverValueGetProtocol (void) | |
Default Constructor. | |
SimDriverValueGetProtocol (const imt::base::bsp::type::DriverType::Id indexDriver, const uint16_t indexModule, const uint16_t indexChannel, const uint16_t indexEndpoint, const uint32_t dataSize, const uint8_t *pData) | |
Custom Constructor. | |
SimDriverValueGetProtocol (const SimDriverValueGetProtocol &other) | |
Copy constructor. | |
SimDriverValueGetProtocol (imt::base::core::serialization::Deserializer &deserializer) | |
Constructor from deserializer. | |
virtual | ~SimDriverValueGetProtocol (void) |
Destructor. | |
SimDriverValueGetProtocol & | operator= (const SimDriverValueGetProtocol &other) |
Assignment operator. | |
bool | operator== (const SimDriverValueGetProtocol &right) const |
Equality operator. | |
bool | operator!= (const SimDriverValueGetProtocol &right) const |
Inequality operator. | |
virtual void | deserialize (imt::base::core::serialization::Deserializer &deserializer) |
virtual void | serialize (imt::base::core::serialization::Serializer &serializer) const |
void | setIndexDriver (const imt::base::bsp::type::DriverType::Id indexDriver) |
Sets index driver. | |
imt::base::bsp::type::DriverType::Id | getIndexDriver (void) const |
Gets index driver. | |
void | setIndexModule (const uint16_t indexModule) |
Sets index module. | |
uint16_t | getIndexModule (void) const |
Gets index module. | |
void | setIndexChannel (const uint16_t indexChannel) |
Sets index Channel. | |
uint16_t | getIndexChannel (void) const |
Gets index Channel. | |
void | setIndexEndpoint (const uint16_t indexEndpoint) |
Sets index Endpoint. | |
uint16_t | getIndexEndpoint (void) const |
Gets index Endpoint. | |
void | setDataSize (const uint32_t dataSize) |
Sets data size. | |
uint32_t | getDataSize (void) const |
Gets data size. | |
void | setData (const uint8_t *data) |
Sets data buffer. | |
uint8_t * | getData (void) const |
Gets data buffer. | |
Public Member Functions inherited from imt::base::bsp::simulator::protocols::ProtocolIfc | |
uint16_t | getProtocolIdentifier () |
void | setProtocolIdentifier (uint16_t protocolIdentifier) |
Public Member Functions inherited from imt::base::core::serialization::SerializableIfc | |
virtual | ~SerializableIfc (void) |
Destructor. | |
Static Public Attributes | |
static const uint16_t | PROTOCOL_IDENTIFIER = BspProtocolIdentifiers::BSP_SIM_DRIVERVALUEGET |
The protocol is used to communicate an simulator driver value get.
|
virtual |
Implements imt::base::core::serialization::SerializableIfc.
|
virtual |
Implements imt::base::core::serialization::SerializableIfc.