gem5  v21.1.0.2
Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
gem5::scmi::Protocol Class Referenceabstract

#include <scmi_protocols.hh>

Inheritance diagram for gem5::scmi::Protocol:
gem5::scmi::BaseProtocol

Public Member Functions

 Protocol (Platform &_platform)
 
virtual ~Protocol ()
 
virtual void handleMessage (Message &msg)=0
 
virtual void version (Message &msg)=0
 
virtual void attributes (Message &msg)=0
 
virtual void messageAttributes (Message &msg)=0
 
const std::string name () const
 

Static Public Attributes

static const uint32_t MAX_STRING_SIZE = 15
 

Protected Attributes

Platformplatform
 

Detailed Description

Definition at line 71 of file scmi_protocols.hh.

Constructor & Destructor Documentation

◆ Protocol()

gem5::scmi::Protocol::Protocol ( Platform _platform)
inline

Definition at line 79 of file scmi_protocols.hh.

◆ ~Protocol()

virtual gem5::scmi::Protocol::~Protocol ( )
inlinevirtual

Definition at line 83 of file scmi_protocols.hh.

Member Function Documentation

◆ attributes()

virtual void gem5::scmi::Protocol::attributes ( Message msg)
pure virtual

Implemented in gem5::scmi::BaseProtocol.

◆ handleMessage()

virtual void gem5::scmi::Protocol::handleMessage ( Message msg)
pure virtual

◆ messageAttributes()

virtual void gem5::scmi::Protocol::messageAttributes ( Message msg)
pure virtual

Implemented in gem5::scmi::BaseProtocol.

◆ name()

const std::string gem5::Protocol::name ( ) const

Definition at line 49 of file scmi_protocols.cc.

References gem5::Named::name(), and platform.

◆ version()

virtual void gem5::scmi::Protocol::version ( Message msg)
pure virtual

Implemented in gem5::scmi::BaseProtocol.

Member Data Documentation

◆ MAX_STRING_SIZE

const uint32_t gem5::scmi::Protocol::MAX_STRING_SIZE = 15
static

◆ platform

Platform& gem5::scmi::Protocol::platform
protected

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

Generated on Tue Sep 21 2021 12:32:17 for gem5 by doxygen 1.8.17