CAT

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const CATIdentifier = "$CAT"

Variables

View Source
var EnumNamesdataStatusCode = map[dataStatusCode]string{
	// contains filtered or unexported fields
}
View Source
var EnumNamesmassType = map[massType]string{
	// contains filtered or unexported fields
}
View Source
var EnumNamesobjectType = map[objectType]string{
	// contains filtered or unexported fields
}
View Source
var EnumNamesopsStatusCode = map[opsStatusCode]string{
	// contains filtered or unexported fields
}
View Source
var EnumNamesorbitType = map[orbitType]string{
	// contains filtered or unexported fields
}
View Source
var EnumValuesdataStatusCode = map[string]dataStatusCode{
	"NO_CURRENT_ELEMENTS":   dataStatusCodeNO_CURRENT_ELEMENTS,
	"NO_INITIAL_ELEMENTS":   dataStatusCodeNO_INITIAL_ELEMENTS,
	"NO_ELEMENTS_AVAILABLE": dataStatusCodeNO_ELEMENTS_AVAILABLE,
	"OK":                    dataStatusCodeOK,
}
View Source
var EnumValuesmassType = map[string]massType{
	"DRY": massTypeDRY,
	"WET": massTypeWET,
}
View Source
var EnumValuesobjectType = map[string]objectType{
	"PAYLOAD":     objectTypePAYLOAD,
	"ROCKET_BODY": objectTypeROCKET_BODY,
	"DEBRIS":      objectTypeDEBRIS,
	"UNKNOWN":     objectTypeUNKNOWN,
}
View Source
var EnumValuesopsStatusCode = map[string]opsStatusCode{
	"OPERATIONAL":           opsStatusCodeOPERATIONAL,
	"NONOPERATIONAL":        opsStatusCodeNONOPERATIONAL,
	"PARTIALLY_OPERATIONAL": opsStatusCodePARTIALLY_OPERATIONAL,
	"BACKUP_STANDBY":        opsStatusCodeBACKUP_STANDBY,
	"SPARE":                 opsStatusCodeSPARE,
	"EXTENDED_MISSION":      opsStatusCodeEXTENDED_MISSION,
	"DECAYED":               opsStatusCodeDECAYED,
	"UNKNOWN":               opsStatusCodeUNKNOWN,
}
View Source
var EnumValuesorbitType = map[string]orbitType{
	"ORBIT":     orbitTypeORBIT,
	"LANDING":   orbitTypeLANDING,
	"IMPACT":    orbitTypeIMPACT,
	"DOCKED":    orbitTypeDOCKED,
	"ROUNDTRIP": orbitTypeROUNDTRIP,
}

Functions

func CATAddApogee

func CATAddApogee(builder *flatbuffers.Builder, apogee float64)

func CATAddDataStatusCode

func CATAddDataStatusCode(builder *flatbuffers.Builder, dataStatusCode dataStatusCode)

func CATAddDecayDate

func CATAddDecayDate(builder *flatbuffers.Builder, decayDate flatbuffers.UOffsetT)

func CATAddDeploymentDate

func CATAddDeploymentDate(builder *flatbuffers.Builder, deploymentDate flatbuffers.UOffsetT)

func CATAddInclination

func CATAddInclination(builder *flatbuffers.Builder, inclination float64)

func CATAddLaunchDate

func CATAddLaunchDate(builder *flatbuffers.Builder, launchDate flatbuffers.UOffsetT)

func CATAddLaunchSite

func CATAddLaunchSite(builder *flatbuffers.Builder, launchSite flatbuffers.UOffsetT)

func CATAddManeuverable

func CATAddManeuverable(builder *flatbuffers.Builder, maneuverable bool)

func CATAddMass

func CATAddMass(builder *flatbuffers.Builder, mass float64)

func CATAddMassType

func CATAddMassType(builder *flatbuffers.Builder, massType massType)

func CATAddNoradCatId

func CATAddNoradCatId(builder *flatbuffers.Builder, noradCatId uint32)

func CATAddObjectId

func CATAddObjectId(builder *flatbuffers.Builder, objectId flatbuffers.UOffsetT)

func CATAddObjectName

func CATAddObjectName(builder *flatbuffers.Builder, objectName flatbuffers.UOffsetT)

func CATAddObjectType

func CATAddObjectType(builder *flatbuffers.Builder, objectType objectType)

func CATAddOpsStatusCode

func CATAddOpsStatusCode(builder *flatbuffers.Builder, opsStatusCode opsStatusCode)

func CATAddOrbitCenter

func CATAddOrbitCenter(builder *flatbuffers.Builder, orbitCenter flatbuffers.UOffsetT)

func CATAddOrbitType

func CATAddOrbitType(builder *flatbuffers.Builder, orbitType orbitType)

func CATAddOwner

func CATAddOwner(builder *flatbuffers.Builder, owner LCC.LegacyCountryCode)

func CATAddPayloads

func CATAddPayloads(builder *flatbuffers.Builder, payloads flatbuffers.UOffsetT)

func CATAddPerigee

func CATAddPerigee(builder *flatbuffers.Builder, perigee float64)

func CATAddPeriod

func CATAddPeriod(builder *flatbuffers.Builder, period float64)

func CATAddRcs

func CATAddRcs(builder *flatbuffers.Builder, rcs float64)

func CATAddSize

func CATAddSize(builder *flatbuffers.Builder, size float64)

func CATBufferHasIdentifier

func CATBufferHasIdentifier(buf []byte) bool

func CATCOLLECTIONAddRecords

func CATCOLLECTIONAddRecords(builder *flatbuffers.Builder, records flatbuffers.UOffsetT)

func CATCOLLECTIONEnd

func CATCOLLECTIONEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func CATCOLLECTIONStart

func CATCOLLECTIONStart(builder *flatbuffers.Builder)

func CATCOLLECTIONStartRecordsVector

func CATCOLLECTIONStartRecordsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func CATEnd

func CATEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func CATStart

func CATStart(builder *flatbuffers.Builder)

/ Vector of PAYLOADS

func CATStartPayloadsVector

func CATStartPayloadsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func FinishCATBuffer

func FinishCATBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishCATCOLLECTIONBuffer

func FinishCATCOLLECTIONBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedCATBuffer

func FinishSizePrefixedCATBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedCATCOLLECTIONBuffer

func FinishSizePrefixedCATCOLLECTIONBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func SizePrefixedCATBufferHasIdentifier

func SizePrefixedCATBufferHasIdentifier(buf []byte) bool

Types

type CAT

type CAT struct {
	// contains filtered or unexported fields
}

/ Catalog Entity Message

func GetRootAsCAT

func GetRootAsCAT(buf []byte, offset flatbuffers.UOffsetT) *CAT

func GetSizePrefixedRootAsCAT

func GetSizePrefixedRootAsCAT(buf []byte, offset flatbuffers.UOffsetT) *CAT

func (*CAT) Apogee

func (rcv *CAT) Apogee() float64

/ Apogee Altitude [kilometers]

func (*CAT) DataStatusCode

func (rcv *CAT) DataStatusCode() dataStatusCode

/ Data status code; blank otherwise

func (*CAT) DecayDate

func (rcv *CAT) DecayDate() []byte

/ Launch Site / Decay Date, if applicable [year-month-day] (ISO 8601)

func (*CAT) DeploymentDate

func (rcv *CAT) DeploymentDate() []byte

/ Deployment Date [year-month-day] (ISO 8601)

func (*CAT) Inclination

func (rcv *CAT) Inclination() float64

/ Inclination [degrees]

func (*CAT) Init

func (rcv *CAT) Init(buf []byte, i flatbuffers.UOffsetT)

func (*CAT) LaunchDate

func (rcv *CAT) LaunchDate() []byte

/ Launch Date [year-month-day] (ISO 8601)

func (*CAT) LaunchSite

func (rcv *CAT) LaunchSite() []byte

/ Launch Date [year-month-day] (ISO 8601) / Launch Site

func (*CAT) Maneuverable

func (rcv *CAT) Maneuverable() bool

/ Deployment Date [year-month-day] (ISO 8601) / Indicates if the object is maneuverable

func (*CAT) Mass

func (rcv *CAT) Mass() float64

/ Mass [kilograms]; blank if no data available

func (*CAT) MassType

func (rcv *CAT) MassType() massType

/ Mass type (Dry, Wet)

func (*CAT) MutateApogee

func (rcv *CAT) MutateApogee(n float64) bool

/ Apogee Altitude [kilometers]

func (*CAT) MutateDataStatusCode

func (rcv *CAT) MutateDataStatusCode(n dataStatusCode) bool

/ Data status code; blank otherwise

func (*CAT) MutateInclination

func (rcv *CAT) MutateInclination(n float64) bool

/ Inclination [degrees]

func (*CAT) MutateManeuverable

func (rcv *CAT) MutateManeuverable(n bool) bool

/ Indicates if the object is maneuverable

func (*CAT) MutateMass

func (rcv *CAT) MutateMass(n float64) bool

/ Mass [kilograms]; blank if no data available

func (*CAT) MutateMassType

func (rcv *CAT) MutateMassType(n massType) bool

/ Mass type (Dry, Wet)

func (*CAT) MutateNoradCatId

func (rcv *CAT) MutateNoradCatId(n uint32) bool

/ NORAD Catalog Number

func (*CAT) MutateObjectType

func (rcv *CAT) MutateObjectType(n objectType) bool

/ Object type (Payload, Rocket body, Debris, Unknown)

func (*CAT) MutateOpsStatusCode

func (rcv *CAT) MutateOpsStatusCode(n opsStatusCode) bool

/ Operational Status Code

func (*CAT) MutateOrbitType

func (rcv *CAT) MutateOrbitType(n orbitType) bool

/ Orbit type (Orbit, Landing, Impact, Docked to RSO, roundtrip)

func (*CAT) MutateOwner

func (rcv *CAT) MutateOwner(n LCC.LegacyCountryCode) bool

/ Ownership, typically country or company

func (*CAT) MutatePerigee

func (rcv *CAT) MutatePerigee(n float64) bool

/ Perigee Altitude [kilometers]

func (*CAT) MutatePeriod

func (rcv *CAT) MutatePeriod(n float64) bool

/ Orbital period [minutes]

func (*CAT) MutateRcs

func (rcv *CAT) MutateRcs(n float64) bool

/ Radar Cross Section [meters2]; blank if no data available

func (*CAT) MutateSize

func (rcv *CAT) MutateSize(n float64) bool

/ Size [meters]; blank if no data available

func (*CAT) NoradCatId

func (rcv *CAT) NoradCatId() uint32

/ International Designator (YYYY-NNNAAA) / NORAD Catalog Number

func (*CAT) ObjectId

func (rcv *CAT) ObjectId() []byte

/ Satellite Name(s) / International Designator (YYYY-NNNAAA)

func (*CAT) ObjectName

func (rcv *CAT) ObjectName() []byte

/ Satellite Name(s)

func (*CAT) ObjectType

func (rcv *CAT) ObjectType() objectType

/ Object type (Payload, Rocket body, Debris, Unknown)

func (*CAT) OpsStatusCode

func (rcv *CAT) OpsStatusCode() opsStatusCode

/ Operational Status Code

func (*CAT) OrbitCenter

func (rcv *CAT) OrbitCenter() []byte

/ Orbit center

func (*CAT) OrbitType

func (rcv *CAT) OrbitType() orbitType

/ Orbit center / Orbit type (Orbit, Landing, Impact, Docked to RSO, roundtrip)

func (*CAT) Owner

func (rcv *CAT) Owner() LCC.LegacyCountryCode

/ Ownership, typically country or company

func (*CAT) Payloads

func (rcv *CAT) Payloads(obj *PLD.PLD, j int) bool

/ Vector of PAYLOADS

func (*CAT) PayloadsLength

func (rcv *CAT) PayloadsLength() int

func (*CAT) Perigee

func (rcv *CAT) Perigee() float64

/ Perigee Altitude [kilometers]

func (*CAT) Period

func (rcv *CAT) Period() float64

/ Decay Date, if applicable [year-month-day] (ISO 8601) / Orbital period [minutes]

func (*CAT) Rcs

func (rcv *CAT) Rcs() float64

/ Radar Cross Section [meters2]; blank if no data available

func (*CAT) Size

func (rcv *CAT) Size() float64

/ Size [meters]; blank if no data available

func (*CAT) Table

func (rcv *CAT) Table() flatbuffers.Table

type CATCOLLECTION

type CATCOLLECTION struct {
	// contains filtered or unexported fields
}

func GetRootAsCATCOLLECTION

func GetRootAsCATCOLLECTION(buf []byte, offset flatbuffers.UOffsetT) *CATCOLLECTION

func GetSizePrefixedRootAsCATCOLLECTION

func GetSizePrefixedRootAsCATCOLLECTION(buf []byte, offset flatbuffers.UOffsetT) *CATCOLLECTION

func (*CATCOLLECTION) Init

func (rcv *CATCOLLECTION) Init(buf []byte, i flatbuffers.UOffsetT)

func (*CATCOLLECTION) Records

func (rcv *CATCOLLECTION) Records(obj *CAT, j int) bool

func (*CATCOLLECTION) RecordsLength

func (rcv *CATCOLLECTION) RecordsLength() int

func (*CATCOLLECTION) Table

func (rcv *CATCOLLECTION) Table() flatbuffers.Table

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL