CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
Loading...
Searching...
No Matches
cmlabs::TagMapEntry Struct Reference

Tag-map entry: one registered tag name/id. More...

#include <DataMapsMemory.h>

Public Member Functions

std::string toXML ()
bool writeToMsg (uint32 n, DataMessage *msg)
bool writeIDToMsg (const char *arrayname, uint32 n, DataMessage *msg)

Static Public Member Functions

static std::string GetOuterXMLName ()

Public Attributes

uint32 id
uint8 status
uint64 time
char name [MAXKEYNAMELEN+1]

Detailed Description

Tag-map entry: one registered tag name/id.

Warning
Shared-memory layout; see MemoryManager.h for the ABI/rebuild warning.

Definition at line 120 of file DataMapsMemory.h.

Member Function Documentation

◆ GetOuterXMLName()

std::string cmlabs::TagMapEntry::GetOuterXMLName ( )
inlinestatic

Definition at line 128 of file DataMapsMemory.h.

◆ toXML()

std::string cmlabs::TagMapEntry::toXML ( )
inline

Definition at line 125 of file DataMapsMemory.h.

References name, status, cmlabs::utils::StringFormat(), and time.

◆ writeIDToMsg()

bool cmlabs::TagMapEntry::writeIDToMsg ( const char * arrayname,
uint32 n,
DataMessage * msg )
inline

Definition at line 137 of file DataMapsMemory.h.

References name, and cmlabs::DataMessage::setString().

◆ writeToMsg()

bool cmlabs::TagMapEntry::writeToMsg ( uint32 n,
DataMessage * msg )
inline

Member Data Documentation

◆ id

uint32 cmlabs::TagMapEntry::id

Definition at line 121 of file DataMapsMemory.h.

◆ name

char cmlabs::TagMapEntry::name[MAXKEYNAMELEN+1]

Definition at line 124 of file DataMapsMemory.h.

Referenced by toXML(), writeIDToMsg(), and writeToMsg().

◆ status

uint8 cmlabs::TagMapEntry::status

Definition at line 122 of file DataMapsMemory.h.

Referenced by toXML(), and writeToMsg().

◆ time

uint64 cmlabs::TagMapEntry::time

Definition at line 123 of file DataMapsMemory.h.

Referenced by cmlabs::DataMapsMemory::createNewTag(), toXML(), and writeToMsg().


The documentation for this struct was generated from the following file: