COSMOS core
1.0.2 (beta)
Comprehensive Open-architecture Solution for Mission Operations Systems
|
Antenna information. More...
#include <jsondef.h>
Public Member Functions | |
json11::Json | to_json () const |
Convert class contents to JSON object. More... | |
void | from_json (const string &s) |
Set class contents from JSON string. More... | |
Public Attributes | |
quaternion | align |
Alignment. More... | |
float | azim = 0.f |
Azimuth;. More... | |
float | elev = 0.f |
Elevation. More... | |
float | minelev = 0.f |
Minimum elevation. More... | |
float | maxelev = 0.f |
Maximum elevation. More... | |
float | minazim = 0.f |
Minimum azimuth. More... | |
float | maxazim = 0.f |
Maximum azimuth. More... | |
float | threshelev = 0.f |
Elevation threshold. More... | |
Antenna information.
This structure holds the information concerning antennas.
|
inline |
|
inline |
Set class contents from JSON string.
Parses the provided JSON-formatted string and sets the class data. String should be formatted like the string returned from to_json()
s | JSON-formatted string to set class contents to |
quaternion antstruc::align |
Alignment.
float antstruc::azim = 0.f |
Azimuth;.
float antstruc::elev = 0.f |
Elevation.
float antstruc::minelev = 0.f |
Minimum elevation.
float antstruc::maxelev = 0.f |
Maximum elevation.
float antstruc::minazim = 0.f |
Minimum azimuth.
float antstruc::maxazim = 0.f |
Maximum azimuth.
float antstruc::threshelev = 0.f |
Elevation threshold.