|
SST
15.1.0
StructuralSimulationToolkit
|
Base class for StandardMem commands. More...
#include <stdMem.h>
Public Types | |
| enum | Flag { F_NONCACHEABLE = 1 << 1, F_FAIL = 1 << 2, F_TRACE = 1 << 3, F_RESERVED = 1 << 16 } |
| Flags that modify requests. More... | |
| using | id_t = uint64_t |
| using | flags_t = uint32_t |
Public Member Functions | |
| Request (flags_t fl=0) | |
| Request (id_t rid, flags_t flags=0) | |
| id_t | getID () |
| virtual Request * | makeResponse ()=0 |
| virtual bool | needsResponse ()=0 |
| virtual SST::Event * | convert (RequestConverter *converter)=0 |
| virtual void | handle (RequestHandler *handler)=0 |
| virtual std::string | getString ()=0 |
| void | setNoncacheable () |
| void | unsetNoncacheable () |
| bool | getNoncacheable () |
| void | setSuccess () |
| void | unsetSuccess () |
| bool | getSuccess () |
| bool | getFail () |
| void | setFail () |
| void | unsetFail () |
| void | setTrace () |
| void | unsetTrace () |
| bool | getTrace () |
| void | setFlag (flags_t flag) |
| void | setFlag (Flag flag) |
| void | unsetFlag (flags_t flag) |
| void | unsetFlag (Flag flag) |
| bool | getFlag (flags_t flag) |
| bool | getFlag (Flag flag) |
| void | clearAllFlags () |
| flags_t | getAllFlags () |
| std::string | getFlagString () |
| ImplementVirtualSerializable (SST::Interfaces::StandardMem::Request) | |
| virtual void | serialize_order (SST::Core::Serialization::serializer &ser) override |
Public Member Functions inherited from SST::Core::Serialization::serializable_base | |
| virtual const char * | cls_name () const =0 |
| virtual uint32_t | cls_id () const =0 |
| virtual std::string | serialization_name () const =0 |
Protected Attributes | |
| id_t | id |
| flags_t | flags |
Additional Inherited Members | |
Static Public Attributes inherited from SST::Core::Serialization::serializable | |
| static constexpr uint32_t | NullClsId = std::numeric_limits<uint32_t>::max() |
Static Public Attributes inherited from SST::Core::Serialization::serializable_base | |
| static constexpr uint32_t | NullClsId = std::numeric_limits<uint32_t>::max() |
Protected Types inherited from SST::Core::Serialization::serializable_base | |
| enum | cxn_flag_t { ConstructorFlag } |
Static Protected Member Functions inherited from SST::Core::Serialization::serializable_base | |
| static void | serializable_abort (uint32_t line, const char *file, const char *func, const char *obj) |
Base class for StandardMem commands.
|
strong |
Flags that modify requests.
Each bit in a 32-bit field (flags_t) defines a seperate flag. Values less than F_RESERVED are reserved for futgure expansion. Users may define custom flags above F_RESERVED