37 myagent =
new Agent();
106 for (
size_t i=0;
i<myagent->
cinfo->
tle.size(); ++
i)
113 printf(
"Total for pdata: %lu\n\n", total);
176 for (
size_t i=0;
i<myagent->
cinfo->
tle.size(); ++
i)
183 printf(
"Total for sdata: %lu\n\n", total);
189 for (
size_t j=0; j<myagent->
cinfo->
jmap[j].size(); ++j)
200 for (
size_t j=0; j<myagent->
cinfo->
emap[j].size(); ++j)
211 for (
size_t j=0; j<myagent->
cinfo->
unit[j].size(); ++j)
227 printf(
"Total for meta: %lu\n\n", total);
vector< portstruc > port
Vector of all ports known to node.
Definition: jsondef.h:4244
vector< tlestruc > tle
Array of Two Line Elements.
Definition: jsondef.h:4259
Device structure.
Definition: jsondef.h:3692
In units for the SGP4 propogator (not NORAD TLE itself).
Definition: convertdef.h:921
Target structure.
Definition: jsondef.h:1290
int32_t json_setup_node(jsonnode json, cosmosstruc *cinfo, bool create_flag)
Setup JSON Namespace using Node description JSON.
Definition: jsonlib.cpp:6869
#define COSMOS_SIZEOF(element)
Definition: configCosmos.h:139
int i
Definition: rw_test.cpp:37
int count
Definition: rw_test.cpp:36
Equation structure.
Definition: jsondef.h:1249
vector< vector< jsonequation > > emap
JSON Equation Map matrix.
Definition: jsondef.h:4211
Part structure: physical information for each piece of Node.
Definition: jsondef.h:1446
Definition: jsondef.h:1199
vector< vector< unitstruc > > unit
JSON Unit Map matrix: first level is for unit type, second level is for all variants (starting with p...
Definition: jsondef.h:4214
Physics Simulation Structure.
Definition: jsondef.h:3411
vector< devicestruc > device
Vector of all general (common) information for devices (components) in node.
Definition: jsondef.h:4238
vector< equationstruc > equation
Vector of Equations.
Definition: jsondef.h:4217
JSON map offset entry.
Definition: jsondef.h:4164
Definition: agentclass.h:139
vector< userstruc > user
Single entry vector for user information.
Definition: jsondef.h:4256
Port structure.
Definition: jsondef.h:1357
JSON equation entry.
Definition: jsondef.h:865
Agent control structure.
Definition: jsondef.h:1006
vector< agentstruc > agent
Single entry vector for agent information.
Definition: jsondef.h:4247
vector< piecestruc > pieces
Vector of all pieces in node.
Definition: jsondef.h:4232
cosmosstruc * cinfo
Definition: agentclass.h:346
int myagent()
Definition: agent_add_soh.cpp:96
Definition: jsondef.h:3553
Specific Device structure.
Definition: jsondef.h:3860
JSON unit type entry.
Definition: jsondef.h:672
vector< vector< jsonentry > > jmap
JSON Namespace Map matrix. first entry hash, second is items with that hash.
Definition: jsondef.h:4208
vector< targetstruc > target
Vector of all targets known to node.
Definition: jsondef.h:4253
static string node
Definition: agent_monitor.cpp:126