|
CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
|
Legacy static facade over the page-based shared maps (types, contexts, topics, cranks). More...
#include <MemoryMaps.h>
Static Public Member Functions | |
| static bool | CreateNewTypeLevel (uint16 id, const char *name, uint64 time=0) |
| static bool | GetTypeLevelName (uint16 id, char *name, uint32 maxSize) |
| static bool | GetTypeLevelID (const char *name, uint16 &id) |
| static bool | DeleteTypeLevel (const char *name) |
| static bool | DeleteTypeLevel (uint16 id) |
| static uint64 | GetTypeLevelCreateTime (uint16 id) |
| static bool | CreateNewContextLevel (uint16 id, const char *name, uint64 time=0) |
| static bool | GetContextLevelName (uint16 id, char *name, uint32 maxSize) |
| static bool | GetContextLevelID (const char *name, uint16 &id) |
| static bool | DeleteContextLevel (const char *name) |
| static bool | DeleteContextLevel (uint16 id) |
| static uint64 | GetContextLevelCreateTime (uint16 id) |
| static bool | CreateNewTopic (uint8 id, const char *name) |
| static bool | GetTopicName (uint32 id, char *name, uint32 maxSize) |
| static bool | GetTopicID (const char *name, uint32 &id) |
| static bool | DeleteTopic (const char *name) |
| static bool | DeleteTopic (uint32 id) |
| static uint64 | GetTopicCreateTime (uint32 id) |
| static bool | CreateNewCrank (uint16 id, const char *name, const char *function, const char *libraryFilename, uint64 time=0) |
| static bool | GetCrankName (uint16 id, char *name, uint32 maxSize) |
| static bool | GetCrankFunction (uint16 id, char *function, uint32 maxSize) |
| static bool | GetCrankLibraryFilename (uint16 id, char *libraryFilename, uint32 maxSize) |
| static bool | GetCrankID (const char *name, uint16 &id) |
| static bool | GetCrankScript (uint16 id, char *script, uint32 maxSize) |
| static bool | SetCrankScript (uint16 id, const char *script) |
| static bool | DeleteCrank (uint16 id) |
| static bool | DeleteCrank (const char *name) |
| static uint64 | GetCrankCreateTime (uint16 id) |
Legacy static facade over the page-based shared maps (types, contexts, topics, cranks).
Operates on the reserved system pages via MemoryManagerX locking. Most sections are commented out; the remaining APIs are kept for compatibility with older tools. All calls copy names into caller buffers; ids are returned via out-parameters.
Definition at line 256 of file MemoryMaps.h.
|
static |
Definition at line 58 of file MemoryMaps.cpp.
References cmlabs::ContextMapEntry::time.
|
static |
Definition at line 200 of file MemoryMaps.cpp.
References cmlabs::CrankMapEntry::function, cmlabs::CrankMapEntry::libraryFilename, MAXKEYNAMELEN, cmlabs::utils::strcpyavail(), and cmlabs::CrankMapEntry::time.
|
static |
Definition at line 101 of file MemoryMaps.cpp.
|
static |
Definition at line 15 of file MemoryMaps.cpp.
References cmlabs::TypeMapEntry::time.
Referenced by cmlabs::ComponentData::UnitTest().
|
static |
Definition at line 77 of file MemoryMaps.cpp.
References cmlabs::GenericMemoryMap< T, ID >::DeleteEntry(), and cmlabs::GenericMemoryMap< T, ID >::GetEntryID().
|
static |
Definition at line 85 of file MemoryMaps.cpp.
References cmlabs::GenericMemoryMap< T, ID >::DeleteEntry().
|
static |
Definition at line 277 of file MemoryMaps.cpp.
References cmlabs::GenericMemoryMap< T, ID >::DeleteEntry(), and cmlabs::GenericMemoryMap< T, ID >::GetEntryID().
|
static |
Definition at line 285 of file MemoryMaps.cpp.
References cmlabs::GenericMemoryMap< T, ID >::DeleteEntry().
|
static |
Definition at line 118 of file MemoryMaps.cpp.
References cmlabs::GenericMemoryMap< T, ID >::DeleteEntry(), and cmlabs::GenericMemoryMap< T, ID >::GetEntryID().
|
static |
Definition at line 126 of file MemoryMaps.cpp.
References cmlabs::GenericMemoryMap< T, ID >::DeleteEntry().
|
static |
Definition at line 34 of file MemoryMaps.cpp.
References cmlabs::GenericMemoryMap< T, ID >::DeleteEntry(), and cmlabs::GenericMemoryMap< T, ID >::GetEntryID().
|
static |
Definition at line 42 of file MemoryMaps.cpp.
References cmlabs::GenericMemoryMap< T, ID >::DeleteEntry().
|
static |
Definition at line 90 of file MemoryMaps.cpp.
|
static |
Definition at line 72 of file MemoryMaps.cpp.
References cmlabs::GenericMemoryMap< T, ID >::GetEntryID().
|
static |
Definition at line 67 of file MemoryMaps.cpp.
References cmlabs::GenericMemoryMap< T, ID >::GetEntryName().
|
static |
Definition at line 290 of file MemoryMaps.cpp.
|
static |
Definition at line 216 of file MemoryMaps.cpp.
References cmlabs::CrankMapEntry::function, and cmlabs::utils::strcpyavail().
|
static |
Definition at line 244 of file MemoryMaps.cpp.
References cmlabs::GenericMemoryMap< T, ID >::GetEntryID().
|
static |
Definition at line 230 of file MemoryMaps.cpp.
References cmlabs::CrankMapEntry::libraryFilename, and cmlabs::utils::strcpyavail().
|
static |
Definition at line 211 of file MemoryMaps.cpp.
References cmlabs::GenericMemoryMap< T, ID >::GetEntryName().
|
static |
Definition at line 249 of file MemoryMaps.cpp.
References cmlabs::CrankMapEntry::script, and cmlabs::utils::strcpyavail().
|
static |
Definition at line 131 of file MemoryMaps.cpp.
|
static |
Definition at line 113 of file MemoryMaps.cpp.
References cmlabs::GenericMemoryMap< T, ID >::GetEntryID().
|
static |
Definition at line 108 of file MemoryMaps.cpp.
References cmlabs::GenericMemoryMap< T, ID >::GetEntryName().
|
static |
Definition at line 47 of file MemoryMaps.cpp.
|
static |
Definition at line 29 of file MemoryMaps.cpp.
References cmlabs::GenericMemoryMap< T, ID >::GetEntryID().
Referenced by cmlabs::ComponentData::UnitTest().
|
static |
Definition at line 24 of file MemoryMaps.cpp.
References cmlabs::GenericMemoryMap< T, ID >::GetEntryName().
Referenced by cmlabs::ComponentData::UnitTest().
|
static |
Definition at line 263 of file MemoryMaps.cpp.
References MAXSCRIPTLEN, cmlabs::CrankMapEntry::script, and cmlabs::utils::strcpyavail().