CustomResp
// Constructor
SST::Interfaces::StandardMem::CustomResp(id_t id, CustomData* data, flags_t flags = 0,
Addr iPtr = 0, uint32_t tid = 0);
SST::Interfaces::StandardMem::CustomResp(CustomReq* customReqEv);
Response Type None
Needs Response false
Corresponding request types StandardMem::CustomReq
The StandardMem::CustomResp request class defines a response to a custom request (CustomReq).
Member variables
Including those inherited from the StandardMem::Request base class, StandardMem::CustomResp includes the following member variables.
- id (id_t) A request or response identifier. This id matches that of the corresponding CustomReq request.
- flags (flags_t) A 32-bit vector indicating any special flags added to the request
- data (CustomData*) A custom data structure encapsulating any custom fields provided by this custom response
- iPtr (Addr) An instruction pointer. This is optional metadata.
- tid (uint32_t) An optional thread ID, can be used by memory systems if needed
Member functions
Defined in Request base class
getIdsetNoncacheableunsetNoncacheablegetNoncacheablesetSuccessunsetSuccessgetSuccesssetFailunsetFailgetFailsetTraceunsetTracegetTracesetFlagunsetFlaggetFlagclearAllFlagsgetAllFlagsgetFlagString
Virtual functions inherited from the Request base class
makeResponse
Request* makeResponse();
Returns nullptr.
needsResponse
bool needsResponse();
Returns false.
convert
SST::Event* convert(RequestConverter* converter);
Invokes convert() on the supplied converter visitor class to return an SST::Event in an implementation-specific format.
handle
virtual void handle(RequestHandler* handler) =0;
Invokes handle() on the supplied handler visitor class to handle the event according to type.