Dataflow Runtime API  3.1.1.0
Public Member Functions | List of all members
imt::base::dff::activeparts::stm32f103hd::protocol::I2CEventProtocol Class Reference

The protocol is used to communicate I2C events. More...

#include <Imt.Base.Dff.ActiveParts.STM32F103HD/Protocols/I2CEventProtocol.h>

Inheritance diagram for imt::base::dff::activeparts::stm32f103hd::protocol::I2CEventProtocol:
imt::base::core::serialization::SerializableIfc

Public Member Functions

 I2CEventProtocol (void)
 Default Constructor. More...
 
 I2CEventProtocol (const uint8_t module, const I2CEventIDEnum::Id event)
 Custom Constructor. More...
 
 I2CEventProtocol (const I2CEventProtocol &other)
 Copy constructor. More...
 
 I2CEventProtocol (imt::base::core::serialization::Deserializer &deserializer)
 Constructor from deserializer. More...
 
virtual ~I2CEventProtocol (void)
 Destructor. More...
 
I2CEventProtocoloperator= (const I2CEventProtocol &other)
 Assignment operator. More...
 
bool operator== (const I2CEventProtocol &right) const
 Equality operator. More...
 
bool operator!= (const I2CEventProtocol &right) const
 Inequality operator. More...
 
virtual void deserialize (imt::base::core::serialization::Deserializer &deserializer)
 
virtual void serialize (imt::base::core::serialization::Serializer &serializer) const
 
void setModule (const uint8_t module)
 Setter for module. More...
 
uint8_t getModule (void) const
 Getter for module. More...
 
void setEvent (const I2CEventIDEnum::Id event)
 Setter for I2CEventIDEnum. More...
 
I2CEventIDEnum::Id getEvent (void) const
 Getter for I2CEventIDEnum. More...
 
- Public Member Functions inherited from imt::base::core::serialization::SerializableIfc
virtual ~SerializableIfc (void)
 Destructor. More...
 

Detailed Description

The protocol is used to communicate I2C events.

Constructor & Destructor Documentation

◆ I2CEventProtocol() [1/4]

imt::base::dff::activeparts::stm32f103hd::protocol::I2CEventProtocol::I2CEventProtocol ( void  )
explicit

Default Constructor.

◆ I2CEventProtocol() [2/4]

imt::base::dff::activeparts::stm32f103hd::protocol::I2CEventProtocol::I2CEventProtocol ( const uint8_t  module,
const I2CEventIDEnum::Id  event 
)
explicit

Custom Constructor.

◆ I2CEventProtocol() [3/4]

imt::base::dff::activeparts::stm32f103hd::protocol::I2CEventProtocol::I2CEventProtocol ( const I2CEventProtocol other)

Copy constructor.

◆ I2CEventProtocol() [4/4]

imt::base::dff::activeparts::stm32f103hd::protocol::I2CEventProtocol::I2CEventProtocol ( imt::base::core::serialization::Deserializer deserializer)
explicit

Constructor from deserializer.

◆ ~I2CEventProtocol()

virtual imt::base::dff::activeparts::stm32f103hd::protocol::I2CEventProtocol::~I2CEventProtocol ( void  )
virtual

Destructor.

Member Function Documentation

◆ deserialize()

virtual void imt::base::dff::activeparts::stm32f103hd::protocol::I2CEventProtocol::deserialize ( imt::base::core::serialization::Deserializer deserializer)
virtual
See also
SerializableIfc

Implements imt::base::core::serialization::SerializableIfc.

◆ getEvent()

I2CEventIDEnum::Id imt::base::dff::activeparts::stm32f103hd::protocol::I2CEventProtocol::getEvent ( void  ) const

Getter for I2CEventIDEnum.

◆ getModule()

uint8_t imt::base::dff::activeparts::stm32f103hd::protocol::I2CEventProtocol::getModule ( void  ) const

Getter for module.

◆ operator!=()

bool imt::base::dff::activeparts::stm32f103hd::protocol::I2CEventProtocol::operator!= ( const I2CEventProtocol right) const

Inequality operator.

◆ operator=()

I2CEventProtocol& imt::base::dff::activeparts::stm32f103hd::protocol::I2CEventProtocol::operator= ( const I2CEventProtocol other)

Assignment operator.

◆ operator==()

bool imt::base::dff::activeparts::stm32f103hd::protocol::I2CEventProtocol::operator== ( const I2CEventProtocol right) const

Equality operator.

◆ serialize()

virtual void imt::base::dff::activeparts::stm32f103hd::protocol::I2CEventProtocol::serialize ( imt::base::core::serialization::Serializer serializer) const
virtual
See also
SerializableIfc

Implements imt::base::core::serialization::SerializableIfc.

◆ setEvent()

void imt::base::dff::activeparts::stm32f103hd::protocol::I2CEventProtocol::setEvent ( const I2CEventIDEnum::Id  event)

Setter for I2CEventIDEnum.

◆ setModule()

void imt::base::dff::activeparts::stm32f103hd::protocol::I2CEventProtocol::setModule ( const uint8_t  module)

Setter for module.


The documentation for this class was generated from the following file: