|
CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
|
Request-map entry tracking one cross-component request/reply transaction. More...
#include <DataMapsMemory.h>
Public Member Functions | |
| std::string | toXML () |
Static Public Member Functions | |
| static std::string | GetOuterXMLName () |
Public Attributes | |
| uint32 | id |
| Request id; corresponds to the index in the map. | |
| uint64 | time |
| Creation timestamp (µs). | |
| char | name [MAXKEYNAMELEN+1] |
| Internal use only, for named events. | |
| uint64 | lastUpdate |
| Timestamp of the last status change (µs); used to expire stale requests. | |
| uint8 | status |
| REQ_* lifecycle status. | |
| uint32 | from |
| Id of the component making the request. | |
| uint32 | to |
| Id of the component processing the request. | |
| uint32 | remoteID |
| Id of the request at the origin node, if forwarded cross-node. | |
| uint64 | dataMessageID |
| TemporalMemory id of the reply DataMessage (0 = none yet). | |
| uint64 | dataMessageEOL |
| End-of-life of the reply message; after this the payload is gone (REQ_*_DATA_EOL). | |
| uint32 | key |
Request-map entry tracking one cross-component request/reply transaction.
Legacy request-map entry tracking one request/reply transaction.
The reply payload itself is stored in TemporalMemory (dataMessageID/dataMessageEOL).
Definition at line 210 of file DataMapsMemory.h.
|
inlinestatic |
Definition at line 225 of file DataMapsMemory.h.
|
inline |
Definition at line 221 of file DataMapsMemory.h.
References dataMessageEOL, dataMessageID, from, lastUpdate, name, remoteID, status, cmlabs::utils::StringFormat(), time, and to.
| uint64 cmlabs::RequestMapEntry::dataMessageEOL |
End-of-life of the reply message; after this the payload is gone (REQ_*_DATA_EOL).
Definition at line 220 of file DataMapsMemory.h.
Referenced by toXML().
| uint64 cmlabs::RequestMapEntry::dataMessageID |
TemporalMemory id of the reply DataMessage (0 = none yet).
Definition at line 219 of file DataMapsMemory.h.
Referenced by toXML().
| uint32 cmlabs::RequestMapEntry::from |
Id of the component making the request.
Definition at line 216 of file DataMapsMemory.h.
Referenced by toXML().
| uint32 cmlabs::RequestMapEntry::id |
Request id; corresponds to the index in the map.
Definition at line 211 of file DataMapsMemory.h.
| uint32 cmlabs::RequestMapEntry::key |
Definition at line 199 of file MemoryMaps.h.
| uint64 cmlabs::RequestMapEntry::lastUpdate |
Timestamp of the last status change (µs); used to expire stale requests.
Definition at line 214 of file DataMapsMemory.h.
Referenced by toXML().
| char cmlabs::RequestMapEntry::name |
Internal use only, for named events.
Definition at line 213 of file DataMapsMemory.h.
Referenced by toXML().
| uint32 cmlabs::RequestMapEntry::remoteID |
Id of the request at the origin node, if forwarded cross-node.
Definition at line 218 of file DataMapsMemory.h.
Referenced by toXML().
| uint8 cmlabs::RequestMapEntry::status |
| uint64 cmlabs::RequestMapEntry::time |
| uint32 cmlabs::RequestMapEntry::to |
Id of the component processing the request.
Definition at line 217 of file DataMapsMemory.h.
Referenced by toXML().