COSMOS core  1.0.2 (beta)
Comprehensive Open-architecture Solution for Mission Operations Systems
jsonentry Struct Reference

JSON map offset entry. More...

#include <jsondef.h>

Collaboration diagram for jsonentry:

Public Attributes

bool enabled = true
 Enabled? More...
 
uint16_t type = 0
 JSON Data Type. More...
 
uint16_t group = 0
 JSON Data Group. More...
 
string name = ""
 Name of entry. More...
 
ptrdiff_t offset = 0
 offset to data storage More...
 
uint8_t * ptr = 0
 pointer to data storage More...
 
vector< uint8_t > data
 vector of actual data More...
 
uint16_t unit_index = 0
 Index to JSON Unit Type. More...
 
uint16_t alert_index = 0
 Index to alert condition in Data Dictionary. More...
 
uint16_t alarm_index = 0
 Index to alarm condition in Data Dictionary. More...
 
uint16_t maximum_index = 0
 Index to maximum condition in Data Dictionary. More...
 
uint16_t minimum_index = 0
 Index to minimum condition in Data Dictionary. More...
 
uint16_t subsystem = 0
 Index to subsystem. More...
 

Detailed Description

JSON map offset entry.

Single entry in a JSON offset map. Ties together a single JSON name and a offset to a single object, along with its data type.

  • index: Index of this entry in the cosmosstruc::jmap.
  • data: Offset to appropriate storage for this data type.

Member Data Documentation

bool jsonentry::enabled = true

Enabled?

uint16_t jsonentry::type = 0

JSON Data Type.

uint16_t jsonentry::group = 0

JSON Data Group.

string jsonentry::name = ""

Name of entry.

ptrdiff_t jsonentry::offset = 0

offset to data storage

uint8_t* jsonentry::ptr = 0

pointer to data storage

vector<uint8_t> jsonentry::data

vector of actual data

uint16_t jsonentry::unit_index = 0

Index to JSON Unit Type.

uint16_t jsonentry::alert_index = 0

Index to alert condition in Data Dictionary.

uint16_t jsonentry::alarm_index = 0

Index to alarm condition in Data Dictionary.

uint16_t jsonentry::maximum_index = 0

Index to maximum condition in Data Dictionary.

uint16_t jsonentry::minimum_index = 0

Index to minimum condition in Data Dictionary.

uint16_t jsonentry::subsystem = 0

Index to subsystem.


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