DUNE: Uniform Navigational Environment  2019.02.0
DUNE::IMC Namespace Reference

Detailed Description

Implementation of the IMC API.

IMC messages.

Classes

class  AddressResolver
 
class  Blob
 
struct  BackLogEntry
 
class  Bus
 
class  EntityState
 
class  QueryEntityState
 
class  EntityInfo
 
class  QueryEntityInfo
 
class  EntityList
 
class  CpuUsage
 
class  TransportBindings
 
class  RestartSystem
 
class  DevCalibrationControl
 
class  DevCalibrationState
 
class  EntityActivationState
 
class  QueryEntityActivationState
 
class  VehicleOperationalLimits
 
class  MsgList
 
class  SimulatedState
 
class  LeakSimulation
 
class  UASimulation
 
class  DynamicsSimParam
 
class  StorageUsage
 
class  CacheControl
 
class  LoggingControl
 
class  LogBookEntry
 
class  LogBookControl
 
class  ReplayControl
 
class  ClockControl
 
class  HistoricCTD
 
class  HistoricTelemetry
 
class  HistoricSonarData
 
class  HistoricEvent
 
class  ProfileSample
 
class  VerticalProfile
 
class  Heartbeat
 
class  Announce
 
class  AnnounceService
 
class  RSSI
 
class  VSWR
 
class  LinkLevel
 
class  Sms
 
class  SmsTx
 
class  SmsRx
 
class  SmsState
 
class  TextMessage
 
class  IridiumMsgRx
 
class  IridiumMsgTx
 
class  IridiumTxStatus
 
class  GroupMembershipState
 
class  SystemGroup
 
class  LinkLatency
 
class  ExtendedRSSI
 
class  HistoricData
 
class  CompressedHistory
 
class  HistoricSample
 
class  HistoricDataQuery
 
class  RemoteCommand
 
class  CommSystemsQuery
 
class  TelemetryMsg
 
class  LblRange
 
class  LblBeacon
 
class  LblConfig
 
class  AcousticMessage
 
class  AcousticOperation
 
class  AcousticSystemsQuery
 
class  AcousticSystems
 
class  AcousticLink
 
class  Rpm
 
class  Voltage
 
class  Current
 
class  GpsFix
 
class  EulerAngles
 
class  EulerAnglesDelta
 
class  AngularVelocity
 
class  Acceleration
 
class  MagneticField
 
class  GroundVelocity
 
class  WaterVelocity
 
class  VelocityDelta
 
class  DeviceState
 
class  BeamConfig
 
class  Distance
 
class  Temperature
 
class  Pressure
 
class  Depth
 
class  DepthOffset
 
class  SoundSpeed
 
class  WaterDensity
 
class  Conductivity
 
class  Salinity
 
class  WindSpeed
 
class  RelativeHumidity
 
class  DevDataText
 
class  DevDataBinary
 
class  Force
 
class  SonarData
 
class  Pulse
 
class  PulseDetectionControl
 
class  FuelLevel
 
class  GpsNavData
 
class  ServoPosition
 
class  DataSanity
 
class  RhodamineDye
 
class  CrudeOil
 
class  FineOil
 
class  Turbidity
 
class  Chlorophyll
 
class  Fluorescein
 
class  Phycocyanin
 
class  Phycoerythrin
 
class  GpsFixRtk
 
class  EstimatedState
 
class  ExternalNavData
 
class  DissolvedOxygen
 
class  AirSaturation
 
class  Throttle
 
class  PH
 
class  Redox
 
class  CameraZoom
 
class  SetThrusterActuation
 
class  SetServoPosition
 
class  SetControlSurfaceDeflection
 
class  RemoteActionsRequest
 
class  RemoteActions
 
class  ButtonEvent
 
class  LcdControl
 
class  PowerOperation
 
class  PowerChannelControl
 
class  QueryPowerChannelState
 
class  PowerChannelState
 
class  LedBrightness
 
class  QueryLedBrightness
 
class  SetLedBrightness
 
class  SetPWM
 
class  PWM
 
class  EstimatedStreamVelocity
 
class  IndicatedSpeed
 
class  TrueSpeed
 
class  NavigationUncertainty
 
class  NavigationData
 
class  GpsFixRejection
 
class  LblRangeAcceptance
 
class  DvlRejection
 
class  LblEstimate
 
class  AlignmentState
 
class  GroupStreamVelocity
 
class  Airflow
 
class  DesiredHeading
 
class  DesiredZ
 
class  DesiredSpeed
 
class  DesiredRoll
 
class  DesiredPitch
 
class  DesiredVerticalRate
 
class  DesiredPath
 
class  DesiredControl
 
class  DesiredHeadingRate
 
class  DesiredVelocity
 
class  PathControlState
 
class  AllocatedControlTorques
 
class  ControlParcel
 
class  Brake
 
class  DesiredLinearState
 
class  DesiredThrottle
 
class  Goto
 
class  PopUp
 
class  Teleoperation
 
class  Loiter
 
class  IdleManeuver
 
class  LowLevelControl
 
class  Rows
 
class  PathPoint
 
class  FollowPath
 
class  YoYo
 
class  TeleoperationDone
 
class  StationKeeping
 
class  Elevator
 
class  TrajectoryPoint
 
class  FollowTrajectory
 
class  CustomManeuver
 
class  VehicleFormationParticipant
 
class  VehicleFormation
 
class  StopManeuver
 
class  RegisterManeuver
 
class  ManeuverControlState
 
class  FollowSystem
 
class  CommsRelay
 
class  PolygonVertex
 
class  CoverArea
 
class  CompassCalibration
 
class  FormationParameters
 
class  FormationPlanExecution
 
class  FollowReference
 
class  Reference
 
class  FollowRefState
 
class  RelativeState
 
class  FormationMonitor
 
class  Dislodge
 
class  Formation
 
class  Launch
 
class  Drop
 
class  ScheduledGoto
 
class  RowsCoverage
 
class  Sample
 
class  ImageTracking
 
class  Takeoff
 
class  Land
 
class  AutonomousSection
 
class  FollowPoint
 
class  Alignment
 
class  StationKeepingExtended
 
class  Magnetometer
 
class  VehicleState
 
class  VehicleCommand
 
class  MonitorEntityState
 
class  EntityMonitoringState
 
class  OperationalLimits
 
class  GetOperationalLimits
 
class  Calibration
 
class  ControlLoops
 
class  VehicleMedium
 
class  Collision
 
class  FormState
 
class  AutopilotMode
 
class  FormationState
 
class  ReportControl
 
class  StateReport
 
class  TransmissionRequest
 
class  TransmissionStatus
 
class  SmsRequest
 
class  SmsStatus
 
class  VtolState
 
class  ArmingState
 
class  Abort
 
class  PlanVariable
 
class  PlanManeuver
 
class  PlanTransition
 
class  PlanSpecification
 
class  EmergencyControl
 
class  EmergencyControlState
 
class  PlanDB
 
class  PlanDBInformation
 
class  PlanDBState
 
class  PlanControl
 
class  PlanControlState
 
class  PlanGeneration
 
class  LeaderState
 
class  PlanStatistics
 
class  ReportedState
 
class  RemoteSensorInfo
 
class  MapPoint
 
class  MapFeature
 
class  Map
 
class  CcuEvent
 
class  VehicleLinks
 
class  TrexObservation
 
class  TrexCommand
 
class  TrexAttribute
 
class  TrexToken
 
class  TrexOperation
 
class  TrexPlan
 
class  Event
 
class  CompressedImage
 
class  ImageTxSettings
 
class  RemoteState
 
class  Target
 
class  EntityParameter
 
class  EntityParameters
 
class  QueryEntityParameters
 
class  SetEntityParameters
 
class  SaveEntityParameters
 
class  CreateSession
 
class  CloseSession
 
class  SessionSubscription
 
class  SessionKeepAlive
 
class  SessionStatus
 
class  PushEntityParameters
 
class  PopEntityParameters
 
class  IoEvent
 
class  UamTxFrame
 
class  UamRxFrame
 
class  UamTxStatus
 
class  UamRxRange
 
class  FormCtrlParam
 
class  FormationEval
 
class  FormationControlParams
 
class  FormationEvaluation
 
class  SoiWaypoint
 
class  SoiPlan
 
class  SoiCommand
 
class  SoiState
 
class  MessagePart
 
class  NeptusBlob
 
class  Aborted
 
class  UsblAngles
 
class  UsblPosition
 
class  UsblFix
 
class  ParametersXml
 
class  GetParametersXml
 
class  SetImageCoords
 
class  GetImageCoords
 
class  GetWorldCoordinates
 
class  UsblAnglesExtended
 
class  UsblPositionExtended
 
class  UsblFixExtended
 
class  UsblModem
 
class  UsblConfig
 
class  DissolvedOrganicMatter
 
class  OpticalBackscatter
 
class  Tachograph
 
class  ApmStatus
 
class  SadcReadings
 
class  DmsDetection
 
class  TotalMagIntensity
 
class  InvalidSync
 
class  InvalidMessageId
 
class  InvalidMessageAbbrev
 
class  UnsupportedFormat
 
class  UnknownStandard
 
class  InvalidCrc
 
class  BufferTooShort
 
class  InternalBufferTooShort
 
class  InvalidFormat
 
class  InvalidMessageSize
 
class  Factory
 
struct  Header
 
class  InlineMessage
 
struct  DevicePosition
 
class  IridiumMessage
 
class  ImcIridiumMessage
 
class  DeviceUpdate
 
class  ExtendedDeviceUpdate
 
class  ActivateSpotSubscription
 
class  DeactivateSpotSubscription
 
class  IridiumCommand
 
class  Message
 
class  MessageList
 
class  Packet
 
class  Parser
 
class  Maneuver
 
class  ControlCommand
 
class  RemoteData
 

Typedefs

typedef Message *(* Creator )(void)
 

Enumerations

enum  CLoopsMask {
  CL_NONE, CL_PATH, CL_TELEOPERATION, CL_ALTITUDE,
  CL_DEPTH, CL_ROLL, CL_PITCH, CL_YAW,
  CL_SPEED, CL_YAW_RATE, CL_VERTICAL_RATE, CL_TORQUE,
  CL_FORCE, CL_VELOCITY, CL_THROTTLE, CL_EXTERNAL,
  CL_NO_OVERRIDE, CL_ALL
}
 
enum  OpLimitsMask {
  OPL_MAX_DEPTH, OPL_MIN_ALT, OPL_MAX_ALT, OPL_MIN_SPEED,
  OPL_MAX_SPEED, OPL_MAX_VRATE, OPL_AREA
}
 
enum  Boolean { BOOL_FALSE, BOOL_TRUE }
 
enum  ControlledMode { CTLMD_RELINQUISH_HANDOFF_CTL, CTLMD_REQUEST_CTL, CTLMD_OVERRIDE_CTL }
 
enum  SpeedUnits { SUNITS_METERS_PS, SUNITS_RPM, SUNITS_PERCENTAGE }
 
enum  SystemType {
  SYSTEMTYPE_CCU, SYSTEMTYPE_HUMANSENSOR, SYSTEMTYPE_UUV, SYSTEMTYPE_USV,
  SYSTEMTYPE_UAV, SYSTEMTYPE_UGV, SYSTEMTYPE_STATICSENSOR, SYSTEMTYPE_MOBILESENSOR,
  SYSTEMTYPE_WSN
}
 
enum  ZUnits { Z_NONE, Z_DEPTH, Z_ALTITUDE, Z_HEIGHT }
 
enum  RSSIUnits { RSSIUNITS_dB, RSSIUNITS_PERCENTAGE }
 
enum  UAVType { UAVTYPE_FIXEDWING, UAVTYPE_COPTER, UAVTYPE_VTOL }
 

Functions

 DUNE_DECLARE_STATIC_MAP (creators_by_id, int, Creator, creator_pairs_id)
 
 DUNE_DECLARE_STATIC_MAP (map_id_abbrev, uint32_t, std::string, pairs_id_abbrev)
 
 DUNE_DECLARE_STATIC_MAP (map_abbrev_id, std::string, uint32_t, pairs_abbrev_id)
 
const char * indentJSON (unsigned count)
 
template<typename Type >
void toJSON (std::ostream &os, const char *label, const Type &value, unsigned nindent, char prefix= ',')
 
template<>
void toJSON (std::ostream &os, const char *label, const int8_t &value, unsigned nindent, char prefix)
 
template<>
void toJSON (std::ostream &os, const char *label, const uint8_t &value, unsigned nindent, char prefix)
 
template<>
void toJSON (std::ostream &os, const char *label, const std::string &value, unsigned nindent, char prefix)
 
template<>
void toJSON (std::ostream &os, const char *label, const std::vector< char > &value, unsigned nindent, char prefix)
 
uint16_t serialize (const std::string &t, uint8_t *bfr)
 
uint16_t deserialize (std::string &t, const uint8_t *bfr, uint16_t &length)
 
uint16_t reverseDeserialize (std::string &t, const uint8_t *bfr, uint16_t &bfr_len)
 
uint16_t serialize (const std::vector< char > &t, uint8_t *bfr)
 
uint16_t deserialize (std::vector< char > &t, const uint8_t *bfr, uint16_t &length)
 
uint16_t reverseDeserialize (std::vector< char > &t, const uint8_t *bfr, uint16_t &bfr_len)
 
unsigned getSerializationSize (const std::string &variable)
 
unsigned getSerializationSize (const std::vector< char > &variable)
 
template<typename Type >
uint16_t serialize (const Type t, uint8_t *bfr)
 
uint16_t serialize (const fp64_t t, uint8_t *bfr)
 
template<typename Type >
uint16_t deserialize (Type &t, const uint8_t *bfr, uint16_t &length)
 
template<typename Type >
uint16_t reverseDeserialize (Type &t, const uint8_t *bfr, uint16_t &length)
 

Variables

class DUNE_DLL_SYM AddressResolver
 
class DUNE_DLL_SYM Bus
 
class DUNE_DLL_SYM Factory
 
class DUNE_DLL_SYM Message
 
class DUNE_DLL_SYM Packet
 
class DUNE_DLL_SYM Parser
 

Typedef Documentation

typedef Message*(* DUNE::IMC::Creator)(void)

Enumeration Type Documentation

Boolean Value.

Enumerator
BOOL_FALSE 

False.

BOOL_TRUE 

True.

Control Loops Mask.

Enumerator
CL_NONE 

None.

CL_PATH 

Path Control.

CL_TELEOPERATION 

Teleoperation Control.

CL_ALTITUDE 

Altitude Control.

CL_DEPTH 

Depth Control.

CL_ROLL 

Roll Control.

CL_PITCH 

Pitch Control.

CL_YAW 

Yaw Control.

CL_SPEED 

Speed Control.

CL_YAW_RATE 

Yaw Rate Control.

CL_VERTICAL_RATE 

Vertical Rate Control.

CL_TORQUE 

Torque Control.

CL_FORCE 

Force Control.

CL_VELOCITY 

Velocity Control.

CL_THROTTLE 

Throttle Control.

CL_EXTERNAL 

Unspecified External Control.

CL_NO_OVERRIDE 

Non-overridable control.

CL_ALL 

All.

Controlled Mode.

Enumerator
CTLMD_RELINQUISH_HANDOFF_CTL 

Relinquish / Handoff Control.

CTLMD_REQUEST_CTL 

Request Control.

CTLMD_OVERRIDE_CTL 

Override Control.

Operational Limits Mask.

Enumerator
OPL_MAX_DEPTH 

Maximum Depth.

OPL_MIN_ALT 

Minimum Altitude.

OPL_MAX_ALT 

Maximum Altitude.

OPL_MIN_SPEED 

Minimum Speed.

OPL_MAX_SPEED 

Maximum Speed.

OPL_MAX_VRATE 

Maximum Vertical Rate.

OPL_AREA 

Operation Area.

RSSI Units.

Enumerator
RSSIUNITS_dB 

Decibel.

RSSIUNITS_PERCENTAGE 

Percentage.

Speed Units.

Enumerator
SUNITS_METERS_PS 

Meters per second.

SUNITS_RPM 

RPM.

SUNITS_PERCENTAGE 

Percentage.

System Type.

Enumerator
SYSTEMTYPE_CCU 

CCU.

SYSTEMTYPE_HUMANSENSOR 

Human-portable Sensor.

SYSTEMTYPE_UUV 

UUV.

SYSTEMTYPE_USV 

USV.

SYSTEMTYPE_UAV 

UAV.

SYSTEMTYPE_UGV 

UGV.

SYSTEMTYPE_STATICSENSOR 

Static sensor.

SYSTEMTYPE_MOBILESENSOR 

Mobile sensor.

SYSTEMTYPE_WSN 

Wireless Sensor Network.

UAV Type.

Enumerator
UAVTYPE_FIXEDWING 

Fixed-Wing.

UAVTYPE_COPTER 

Copter.

UAVTYPE_VTOL 

Vtol.

Z Units.

Enumerator
Z_NONE 

None.

Z_DEPTH 

Depth.

Z_ALTITUDE 

Altitude.

Z_HEIGHT 

Height.

Function Documentation

uint16_t DUNE::IMC::deserialize ( std::string &  t,
const uint8_t *  bfr,
uint16_t &  length 
)

Deserializator for string objects.

Parameters
tstring object where to place the deserialized bytes.
bfrbuffer where to read the serialized bytes.
lengthamount of bytes available to deserialize.
Returns
number of deserialized bytes.
Exceptions
BufferTooShort

Referenced by DUNE::Utils::Codecs::CodedEstimatedState::decode(), DUNE::Navigation::UsblTools::Fix::decode(), DUNE::Navigation::UsblTools::Position::decode(), DUNE::Navigation::UsblTools::Angles::decode(), DUNE::IMC::ImcIridiumMessage::deserialize(), DUNE::IMC::DeviceUpdate::deserialize(), DUNE::IMC::ExtendedDeviceUpdate::deserialize(), DUNE::IMC::ActivateSpotSubscription::deserialize(), DUNE::IMC::DeactivateSpotSubscription::deserialize(), DUNE::IMC::IridiumCommand::deserialize(), DUNE::IMC::EntityState::deserializeFields(), DUNE::IMC::EntityInfo::deserializeFields(), DUNE::IMC::QueryEntityInfo::deserializeFields(), DUNE::IMC::EntityList::deserializeFields(), DUNE::IMC::CpuUsage::deserializeFields(), DUNE::IMC::TransportBindings::deserializeFields(), DUNE::IMC::RestartSystem::deserializeFields(), DUNE::IMC::DevCalibrationControl::deserializeFields(), DUNE::IMC::DevCalibrationState::deserializeFields(), DUNE::IMC::EntityActivationState::deserializeFields(), DUNE::IMC::VehicleOperationalLimits::deserializeFields(), DUNE::IMC::SimulatedState::deserializeFields(), DUNE::IMC::LeakSimulation::deserializeFields(), DUNE::IMC::UASimulation::deserializeFields(), DUNE::IMC::DynamicsSimParam::deserializeFields(), DUNE::IMC::StorageUsage::deserializeFields(), DUNE::IMC::CacheControl::deserializeFields(), DUNE::IMC::LoggingControl::deserializeFields(), DUNE::IMC::LogBookEntry::deserializeFields(), DUNE::IMC::LogBookControl::deserializeFields(), DUNE::IMC::ReplayControl::deserializeFields(), DUNE::IMC::ClockControl::deserializeFields(), DUNE::IMC::HistoricCTD::deserializeFields(), DUNE::IMC::HistoricTelemetry::deserializeFields(), DUNE::IMC::HistoricSonarData::deserializeFields(), DUNE::IMC::HistoricEvent::deserializeFields(), DUNE::IMC::ProfileSample::deserializeFields(), DUNE::IMC::VerticalProfile::deserializeFields(), DUNE::IMC::Announce::deserializeFields(), DUNE::IMC::AnnounceService::deserializeFields(), DUNE::IMC::RSSI::deserializeFields(), DUNE::IMC::VSWR::deserializeFields(), DUNE::IMC::LinkLevel::deserializeFields(), DUNE::IMC::Sms::deserializeFields(), DUNE::IMC::SmsTx::deserializeFields(), DUNE::IMC::SmsRx::deserializeFields(), DUNE::IMC::SmsState::deserializeFields(), DUNE::IMC::TextMessage::deserializeFields(), DUNE::IMC::IridiumMsgRx::deserializeFields(), DUNE::IMC::IridiumMsgTx::deserializeFields(), DUNE::IMC::IridiumTxStatus::deserializeFields(), DUNE::IMC::GroupMembershipState::deserializeFields(), DUNE::IMC::SystemGroup::deserializeFields(), DUNE::IMC::LinkLatency::deserializeFields(), DUNE::IMC::ExtendedRSSI::deserializeFields(), DUNE::IMC::HistoricData::deserializeFields(), DUNE::IMC::CompressedHistory::deserializeFields(), DUNE::IMC::HistoricSample::deserializeFields(), DUNE::IMC::HistoricDataQuery::deserializeFields(), DUNE::IMC::RemoteCommand::deserializeFields(), DUNE::IMC::CommSystemsQuery::deserializeFields(), DUNE::IMC::TelemetryMsg::deserializeFields(), DUNE::IMC::LblRange::deserializeFields(), DUNE::IMC::LblBeacon::deserializeFields(), DUNE::IMC::LblConfig::deserializeFields(), DUNE::IMC::AcousticOperation::deserializeFields(), DUNE::IMC::AcousticSystems::deserializeFields(), DUNE::IMC::AcousticLink::deserializeFields(), DUNE::IMC::Rpm::deserializeFields(), DUNE::IMC::Voltage::deserializeFields(), DUNE::IMC::Current::deserializeFields(), DUNE::IMC::GpsFix::deserializeFields(), DUNE::IMC::EulerAngles::deserializeFields(), DUNE::IMC::EulerAnglesDelta::deserializeFields(), DUNE::IMC::AngularVelocity::deserializeFields(), DUNE::IMC::Acceleration::deserializeFields(), DUNE::IMC::MagneticField::deserializeFields(), DUNE::IMC::GroundVelocity::deserializeFields(), DUNE::IMC::WaterVelocity::deserializeFields(), DUNE::IMC::VelocityDelta::deserializeFields(), DUNE::IMC::DeviceState::deserializeFields(), DUNE::IMC::BeamConfig::deserializeFields(), DUNE::IMC::Distance::deserializeFields(), DUNE::IMC::Temperature::deserializeFields(), DUNE::IMC::Pressure::deserializeFields(), DUNE::IMC::Depth::deserializeFields(), DUNE::IMC::DepthOffset::deserializeFields(), DUNE::IMC::SoundSpeed::deserializeFields(), DUNE::IMC::WaterDensity::deserializeFields(), DUNE::IMC::Conductivity::deserializeFields(), DUNE::IMC::Salinity::deserializeFields(), DUNE::IMC::WindSpeed::deserializeFields(), DUNE::IMC::RelativeHumidity::deserializeFields(), DUNE::IMC::DevDataText::deserializeFields(), DUNE::IMC::DevDataBinary::deserializeFields(), DUNE::IMC::Force::deserializeFields(), DUNE::IMC::SonarData::deserializeFields(), DUNE::IMC::PulseDetectionControl::deserializeFields(), DUNE::IMC::FuelLevel::deserializeFields(), DUNE::IMC::GpsNavData::deserializeFields(), DUNE::IMC::ServoPosition::deserializeFields(), DUNE::IMC::DataSanity::deserializeFields(), DUNE::IMC::RhodamineDye::deserializeFields(), DUNE::IMC::CrudeOil::deserializeFields(), DUNE::IMC::FineOil::deserializeFields(), DUNE::IMC::Turbidity::deserializeFields(), DUNE::IMC::Chlorophyll::deserializeFields(), DUNE::IMC::Fluorescein::deserializeFields(), DUNE::IMC::Phycocyanin::deserializeFields(), DUNE::IMC::Phycoerythrin::deserializeFields(), DUNE::IMC::GpsFixRtk::deserializeFields(), DUNE::IMC::EstimatedState::deserializeFields(), DUNE::IMC::ExternalNavData::deserializeFields(), DUNE::IMC::DissolvedOxygen::deserializeFields(), DUNE::IMC::AirSaturation::deserializeFields(), DUNE::IMC::Throttle::deserializeFields(), DUNE::IMC::PH::deserializeFields(), DUNE::IMC::Redox::deserializeFields(), DUNE::IMC::CameraZoom::deserializeFields(), DUNE::IMC::SetThrusterActuation::deserializeFields(), DUNE::IMC::SetServoPosition::deserializeFields(), DUNE::IMC::SetControlSurfaceDeflection::deserializeFields(), DUNE::IMC::RemoteActionsRequest::deserializeFields(), DUNE::IMC::RemoteActions::deserializeFields(), DUNE::IMC::ButtonEvent::deserializeFields(), DUNE::IMC::LcdControl::deserializeFields(), DUNE::IMC::PowerOperation::deserializeFields(), DUNE::IMC::PowerChannelControl::deserializeFields(), DUNE::IMC::PowerChannelState::deserializeFields(), DUNE::IMC::LedBrightness::deserializeFields(), DUNE::IMC::QueryLedBrightness::deserializeFields(), DUNE::IMC::SetLedBrightness::deserializeFields(), DUNE::IMC::SetPWM::deserializeFields(), DUNE::IMC::PWM::deserializeFields(), DUNE::IMC::EstimatedStreamVelocity::deserializeFields(), DUNE::IMC::IndicatedSpeed::deserializeFields(), DUNE::IMC::TrueSpeed::deserializeFields(), DUNE::IMC::NavigationUncertainty::deserializeFields(), DUNE::IMC::NavigationData::deserializeFields(), DUNE::IMC::GpsFixRejection::deserializeFields(), DUNE::IMC::LblRangeAcceptance::deserializeFields(), DUNE::IMC::DvlRejection::deserializeFields(), DUNE::IMC::LblEstimate::deserializeFields(), DUNE::IMC::AlignmentState::deserializeFields(), DUNE::IMC::GroupStreamVelocity::deserializeFields(), DUNE::IMC::Airflow::deserializeFields(), DUNE::IMC::DesiredHeading::deserializeFields(), DUNE::IMC::DesiredZ::deserializeFields(), DUNE::IMC::DesiredSpeed::deserializeFields(), DUNE::IMC::DesiredRoll::deserializeFields(), DUNE::IMC::DesiredPitch::deserializeFields(), DUNE::IMC::DesiredVerticalRate::deserializeFields(), DUNE::IMC::DesiredPath::deserializeFields(), DUNE::IMC::DesiredControl::deserializeFields(), DUNE::IMC::DesiredHeadingRate::deserializeFields(), DUNE::IMC::DesiredVelocity::deserializeFields(), DUNE::IMC::PathControlState::deserializeFields(), DUNE::IMC::AllocatedControlTorques::deserializeFields(), DUNE::IMC::ControlParcel::deserializeFields(), DUNE::IMC::Brake::deserializeFields(), DUNE::IMC::DesiredLinearState::deserializeFields(), DUNE::IMC::DesiredThrottle::deserializeFields(), DUNE::IMC::Goto::deserializeFields(), DUNE::IMC::PopUp::deserializeFields(), DUNE::IMC::Teleoperation::deserializeFields(), DUNE::IMC::Loiter::deserializeFields(), DUNE::IMC::IdleManeuver::deserializeFields(), DUNE::IMC::LowLevelControl::deserializeFields(), DUNE::IMC::Rows::deserializeFields(), DUNE::IMC::PathPoint::deserializeFields(), DUNE::IMC::FollowPath::deserializeFields(), DUNE::IMC::YoYo::deserializeFields(), DUNE::IMC::StationKeeping::deserializeFields(), DUNE::IMC::Elevator::deserializeFields(), DUNE::IMC::TrajectoryPoint::deserializeFields(), DUNE::IMC::FollowTrajectory::deserializeFields(), DUNE::IMC::CustomManeuver::deserializeFields(), DUNE::IMC::VehicleFormationParticipant::deserializeFields(), DUNE::IMC::VehicleFormation::deserializeFields(), DUNE::IMC::RegisterManeuver::deserializeFields(), DUNE::IMC::ManeuverControlState::deserializeFields(), DUNE::IMC::FollowSystem::deserializeFields(), DUNE::IMC::CommsRelay::deserializeFields(), DUNE::IMC::PolygonVertex::deserializeFields(), DUNE::IMC::CoverArea::deserializeFields(), DUNE::IMC::CompassCalibration::deserializeFields(), DUNE::IMC::FormationParameters::deserializeFields(), DUNE::IMC::FormationPlanExecution::deserializeFields(), DUNE::IMC::FollowReference::deserializeFields(), DUNE::IMC::Reference::deserializeFields(), DUNE::IMC::FollowRefState::deserializeFields(), DUNE::IMC::RelativeState::deserializeFields(), DUNE::IMC::FormationMonitor::deserializeFields(), DUNE::IMC::Dislodge::deserializeFields(), DUNE::IMC::Formation::deserializeFields(), DUNE::IMC::Launch::deserializeFields(), DUNE::IMC::Drop::deserializeFields(), DUNE::IMC::ScheduledGoto::deserializeFields(), DUNE::IMC::RowsCoverage::deserializeFields(), DUNE::IMC::Sample::deserializeFields(), DUNE::IMC::Takeoff::deserializeFields(), DUNE::IMC::Land::deserializeFields(), DUNE::IMC::AutonomousSection::deserializeFields(), DUNE::IMC::FollowPoint::deserializeFields(), DUNE::IMC::Alignment::deserializeFields(), DUNE::IMC::StationKeepingExtended::deserializeFields(), DUNE::IMC::Magnetometer::deserializeFields(), DUNE::IMC::VehicleState::deserializeFields(), DUNE::IMC::VehicleCommand::deserializeFields(), DUNE::IMC::MonitorEntityState::deserializeFields(), DUNE::IMC::EntityMonitoringState::deserializeFields(), DUNE::IMC::OperationalLimits::deserializeFields(), DUNE::IMC::Calibration::deserializeFields(), DUNE::IMC::ControlLoops::deserializeFields(), DUNE::IMC::VehicleMedium::deserializeFields(), DUNE::IMC::Collision::deserializeFields(), DUNE::IMC::FormState::deserializeFields(), DUNE::IMC::AutopilotMode::deserializeFields(), DUNE::IMC::FormationState::deserializeFields(), DUNE::IMC::ReportControl::deserializeFields(), DUNE::IMC::StateReport::deserializeFields(), DUNE::IMC::TransmissionRequest::deserializeFields(), DUNE::IMC::TransmissionStatus::deserializeFields(), DUNE::IMC::SmsRequest::deserializeFields(), DUNE::IMC::SmsStatus::deserializeFields(), DUNE::IMC::VtolState::deserializeFields(), DUNE::IMC::ArmingState::deserializeFields(), DUNE::IMC::PlanVariable::deserializeFields(), DUNE::IMC::PlanManeuver::deserializeFields(), DUNE::IMC::PlanTransition::deserializeFields(), DUNE::IMC::PlanSpecification::deserializeFields(), DUNE::IMC::EmergencyControl::deserializeFields(), DUNE::IMC::EmergencyControlState::deserializeFields(), DUNE::IMC::PlanDB::deserializeFields(), DUNE::IMC::PlanDBInformation::deserializeFields(), DUNE::IMC::PlanDBState::deserializeFields(), DUNE::IMC::PlanControl::deserializeFields(), DUNE::IMC::PlanControlState::deserializeFields(), DUNE::IMC::PlanGeneration::deserializeFields(), DUNE::IMC::LeaderState::deserializeFields(), DUNE::IMC::PlanStatistics::deserializeFields(), DUNE::IMC::ReportedState::deserializeFields(), DUNE::IMC::RemoteSensorInfo::deserializeFields(), DUNE::IMC::MapPoint::deserializeFields(), DUNE::IMC::MapFeature::deserializeFields(), DUNE::IMC::Map::deserializeFields(), DUNE::IMC::CcuEvent::deserializeFields(), DUNE::IMC::VehicleLinks::deserializeFields(), DUNE::IMC::TrexObservation::deserializeFields(), DUNE::IMC::TrexCommand::deserializeFields(), DUNE::IMC::TrexAttribute::deserializeFields(), DUNE::IMC::TrexToken::deserializeFields(), DUNE::IMC::TrexOperation::deserializeFields(), DUNE::IMC::TrexPlan::deserializeFields(), DUNE::IMC::Event::deserializeFields(), DUNE::IMC::CompressedImage::deserializeFields(), DUNE::IMC::ImageTxSettings::deserializeFields(), DUNE::IMC::RemoteState::deserializeFields(), DUNE::IMC::Target::deserializeFields(), DUNE::IMC::EntityParameter::deserializeFields(), DUNE::IMC::EntityParameters::deserializeFields(), DUNE::IMC::QueryEntityParameters::deserializeFields(), DUNE::IMC::SetEntityParameters::deserializeFields(), DUNE::IMC::SaveEntityParameters::deserializeFields(), DUNE::IMC::CreateSession::deserializeFields(), DUNE::IMC::CloseSession::deserializeFields(), DUNE::IMC::SessionSubscription::deserializeFields(), DUNE::IMC::SessionKeepAlive::deserializeFields(), DUNE::IMC::SessionStatus::deserializeFields(), DUNE::IMC::PushEntityParameters::deserializeFields(), DUNE::IMC::PopEntityParameters::deserializeFields(), DUNE::IMC::IoEvent::deserializeFields(), DUNE::IMC::UamTxFrame::deserializeFields(), DUNE::IMC::UamRxFrame::deserializeFields(), DUNE::IMC::UamTxStatus::deserializeFields(), DUNE::IMC::UamRxRange::deserializeFields(), DUNE::IMC::FormCtrlParam::deserializeFields(), DUNE::IMC::FormationEval::deserializeFields(), DUNE::IMC::FormationControlParams::deserializeFields(), DUNE::IMC::FormationEvaluation::deserializeFields(), DUNE::IMC::SoiWaypoint::deserializeFields(), DUNE::IMC::SoiPlan::deserializeFields(), DUNE::IMC::SoiCommand::deserializeFields(), DUNE::IMC::SoiState::deserializeFields(), DUNE::IMC::MessagePart::deserializeFields(), DUNE::IMC::NeptusBlob::deserializeFields(), DUNE::IMC::UsblAngles::deserializeFields(), DUNE::IMC::UsblPosition::deserializeFields(), DUNE::IMC::UsblFix::deserializeFields(), DUNE::IMC::ParametersXml::deserializeFields(), DUNE::IMC::SetImageCoords::deserializeFields(), DUNE::IMC::GetImageCoords::deserializeFields(), DUNE::IMC::GetWorldCoordinates::deserializeFields(), DUNE::IMC::UsblAnglesExtended::deserializeFields(), DUNE::IMC::UsblPositionExtended::deserializeFields(), DUNE::IMC::UsblFixExtended::deserializeFields(), DUNE::IMC::UsblModem::deserializeFields(), DUNE::IMC::UsblConfig::deserializeFields(), DUNE::IMC::DissolvedOrganicMatter::deserializeFields(), DUNE::IMC::OpticalBackscatter::deserializeFields(), DUNE::IMC::Tachograph::deserializeFields(), DUNE::IMC::ApmStatus::deserializeFields(), DUNE::IMC::SadcReadings::deserializeFields(), DUNE::IMC::DmsDetection::deserializeFields(), DUNE::IMC::TotalMagIntensity::deserializeFields(), DUNE::IMC::EntityState::reverseDeserializeFields(), DUNE::IMC::EntityInfo::reverseDeserializeFields(), DUNE::IMC::QueryEntityInfo::reverseDeserializeFields(), DUNE::IMC::EntityList::reverseDeserializeFields(), DUNE::IMC::CpuUsage::reverseDeserializeFields(), DUNE::IMC::RestartSystem::reverseDeserializeFields(), DUNE::IMC::DevCalibrationControl::reverseDeserializeFields(), DUNE::IMC::DevCalibrationState::reverseDeserializeFields(), DUNE::IMC::EntityActivationState::reverseDeserializeFields(), DUNE::IMC::VehicleOperationalLimits::reverseDeserializeFields(), DUNE::IMC::LeakSimulation::reverseDeserializeFields(), DUNE::IMC::UASimulation::reverseDeserializeFields(), DUNE::IMC::DynamicsSimParam::reverseDeserializeFields(), DUNE::IMC::StorageUsage::reverseDeserializeFields(), DUNE::IMC::CacheControl::reverseDeserializeFields(), DUNE::IMC::LoggingControl::reverseDeserializeFields(), DUNE::IMC::LogBookEntry::reverseDeserializeFields(), DUNE::IMC::LogBookControl::reverseDeserializeFields(), DUNE::IMC::ReplayControl::reverseDeserializeFields(), DUNE::IMC::ClockControl::reverseDeserializeFields(), DUNE::IMC::HistoricSonarData::reverseDeserializeFields(), DUNE::IMC::HistoricEvent::reverseDeserializeFields(), DUNE::IMC::VerticalProfile::reverseDeserializeFields(), DUNE::IMC::Announce::reverseDeserializeFields(), DUNE::IMC::AnnounceService::reverseDeserializeFields(), DUNE::IMC::SmsState::reverseDeserializeFields(), DUNE::IMC::IridiumTxStatus::reverseDeserializeFields(), DUNE::IMC::SystemGroup::reverseDeserializeFields(), DUNE::IMC::ExtendedRSSI::reverseDeserializeFields(), DUNE::IMC::HistoricSample::reverseDeserializeFields(), DUNE::IMC::HistoricDataQuery::reverseDeserializeFields(), DUNE::IMC::CommSystemsQuery::reverseDeserializeFields(), DUNE::IMC::TelemetryMsg::reverseDeserializeFields(), DUNE::IMC::LblRange::reverseDeserializeFields(), DUNE::IMC::LblBeacon::reverseDeserializeFields(), DUNE::IMC::LblConfig::reverseDeserializeFields(), DUNE::IMC::AcousticOperation::reverseDeserializeFields(), DUNE::IMC::GpsFix::reverseDeserializeFields(), DUNE::IMC::GroundVelocity::reverseDeserializeFields(), DUNE::IMC::WaterVelocity::reverseDeserializeFields(), DUNE::IMC::Distance::reverseDeserializeFields(), DUNE::IMC::SonarData::reverseDeserializeFields(), DUNE::IMC::PulseDetectionControl::reverseDeserializeFields(), DUNE::IMC::ServoPosition::reverseDeserializeFields(), DUNE::IMC::DataSanity::reverseDeserializeFields(), DUNE::IMC::GpsFixRtk::reverseDeserializeFields(), DUNE::IMC::ExternalNavData::reverseDeserializeFields(), DUNE::IMC::CameraZoom::reverseDeserializeFields(), DUNE::IMC::SetThrusterActuation::reverseDeserializeFields(), DUNE::IMC::SetServoPosition::reverseDeserializeFields(), DUNE::IMC::SetControlSurfaceDeflection::reverseDeserializeFields(), DUNE::IMC::RemoteActionsRequest::reverseDeserializeFields(), DUNE::IMC::ButtonEvent::reverseDeserializeFields(), DUNE::IMC::LcdControl::reverseDeserializeFields(), DUNE::IMC::PowerOperation::reverseDeserializeFields(), DUNE::IMC::PowerChannelControl::reverseDeserializeFields(), DUNE::IMC::PowerChannelState::reverseDeserializeFields(), DUNE::IMC::LedBrightness::reverseDeserializeFields(), DUNE::IMC::SetLedBrightness::reverseDeserializeFields(), DUNE::IMC::SetPWM::reverseDeserializeFields(), DUNE::IMC::PWM::reverseDeserializeFields(), DUNE::IMC::GpsFixRejection::reverseDeserializeFields(), DUNE::IMC::LblRangeAcceptance::reverseDeserializeFields(), DUNE::IMC::DvlRejection::reverseDeserializeFields(), DUNE::IMC::AlignmentState::reverseDeserializeFields(), DUNE::IMC::DesiredZ::reverseDeserializeFields(), DUNE::IMC::DesiredSpeed::reverseDeserializeFields(), DUNE::IMC::DesiredPath::reverseDeserializeFields(), DUNE::IMC::DesiredControl::reverseDeserializeFields(), DUNE::IMC::DesiredVelocity::reverseDeserializeFields(), DUNE::IMC::PathControlState::reverseDeserializeFields(), DUNE::IMC::Brake::reverseDeserializeFields(), DUNE::IMC::Goto::reverseDeserializeFields(), DUNE::IMC::PopUp::reverseDeserializeFields(), DUNE::IMC::Loiter::reverseDeserializeFields(), DUNE::IMC::Rows::reverseDeserializeFields(), DUNE::IMC::FollowPath::reverseDeserializeFields(), DUNE::IMC::YoYo::reverseDeserializeFields(), DUNE::IMC::StationKeeping::reverseDeserializeFields(), DUNE::IMC::Elevator::reverseDeserializeFields(), DUNE::IMC::FollowTrajectory::reverseDeserializeFields(), DUNE::IMC::VehicleFormation::reverseDeserializeFields(), DUNE::IMC::ManeuverControlState::reverseDeserializeFields(), DUNE::IMC::FollowSystem::reverseDeserializeFields(), DUNE::IMC::CommsRelay::reverseDeserializeFields(), DUNE::IMC::CoverArea::reverseDeserializeFields(), DUNE::IMC::CompassCalibration::reverseDeserializeFields(), DUNE::IMC::FormationParameters::reverseDeserializeFields(), DUNE::IMC::FollowReference::reverseDeserializeFields(), DUNE::IMC::Reference::reverseDeserializeFields(), DUNE::IMC::FollowRefState::reverseDeserializeFields(), DUNE::IMC::Dislodge::reverseDeserializeFields(), DUNE::IMC::Formation::reverseDeserializeFields(), DUNE::IMC::Launch::reverseDeserializeFields(), DUNE::IMC::Drop::reverseDeserializeFields(), DUNE::IMC::ScheduledGoto::reverseDeserializeFields(), DUNE::IMC::RowsCoverage::reverseDeserializeFields(), DUNE::IMC::Sample::reverseDeserializeFields(), DUNE::IMC::Takeoff::reverseDeserializeFields(), DUNE::IMC::Land::reverseDeserializeFields(), DUNE::IMC::AutonomousSection::reverseDeserializeFields(), DUNE::IMC::FollowPoint::reverseDeserializeFields(), DUNE::IMC::Alignment::reverseDeserializeFields(), DUNE::IMC::StationKeepingExtended::reverseDeserializeFields(), DUNE::IMC::Magnetometer::reverseDeserializeFields(), DUNE::IMC::VehicleState::reverseDeserializeFields(), DUNE::IMC::VehicleCommand::reverseDeserializeFields(), DUNE::IMC::MonitorEntityState::reverseDeserializeFields(), DUNE::IMC::EntityMonitoringState::reverseDeserializeFields(), DUNE::IMC::OperationalLimits::reverseDeserializeFields(), DUNE::IMC::ControlLoops::reverseDeserializeFields(), DUNE::IMC::VehicleMedium::reverseDeserializeFields(), DUNE::IMC::Collision::reverseDeserializeFields(), DUNE::IMC::FormState::reverseDeserializeFields(), DUNE::IMC::AutopilotMode::reverseDeserializeFields(), DUNE::IMC::FormationState::reverseDeserializeFields(), DUNE::IMC::ReportControl::reverseDeserializeFields(), DUNE::IMC::StateReport::reverseDeserializeFields(), DUNE::IMC::TransmissionRequest::reverseDeserializeFields(), DUNE::IMC::TransmissionStatus::reverseDeserializeFields(), DUNE::IMC::SmsStatus::reverseDeserializeFields(), DUNE::IMC::VtolState::reverseDeserializeFields(), DUNE::IMC::ArmingState::reverseDeserializeFields(), DUNE::IMC::PlanVariable::reverseDeserializeFields(), DUNE::IMC::EmergencyControl::reverseDeserializeFields(), DUNE::IMC::EmergencyControlState::reverseDeserializeFields(), DUNE::IMC::PlanDB::reverseDeserializeFields(), DUNE::IMC::PlanControl::reverseDeserializeFields(), DUNE::IMC::PlanControlState::reverseDeserializeFields(), DUNE::IMC::PlanGeneration::reverseDeserializeFields(), DUNE::IMC::LeaderState::reverseDeserializeFields(), DUNE::IMC::PlanStatistics::reverseDeserializeFields(), DUNE::IMC::ReportedState::reverseDeserializeFields(), DUNE::IMC::MapFeature::reverseDeserializeFields(), DUNE::IMC::CcuEvent::reverseDeserializeFields(), DUNE::IMC::TrexCommand::reverseDeserializeFields(), DUNE::IMC::TrexAttribute::reverseDeserializeFields(), DUNE::IMC::TrexOperation::reverseDeserializeFields(), DUNE::IMC::CompressedImage::reverseDeserializeFields(), DUNE::IMC::ImageTxSettings::reverseDeserializeFields(), DUNE::IMC::RemoteState::reverseDeserializeFields(), DUNE::IMC::Target::reverseDeserializeFields(), DUNE::IMC::SessionStatus::reverseDeserializeFields(), DUNE::IMC::IoEvent::reverseDeserializeFields(), DUNE::IMC::UamTxFrame::reverseDeserializeFields(), DUNE::IMC::UamRxFrame::reverseDeserializeFields(), DUNE::IMC::UamTxStatus::reverseDeserializeFields(), DUNE::IMC::FormCtrlParam::reverseDeserializeFields(), DUNE::IMC::FormationControlParams::reverseDeserializeFields(), DUNE::IMC::FormationEvaluation::reverseDeserializeFields(), DUNE::IMC::SoiCommand::reverseDeserializeFields(), DUNE::IMC::SoiState::reverseDeserializeFields(), DUNE::IMC::MessagePart::reverseDeserializeFields(), DUNE::IMC::UsblFix::reverseDeserializeFields(), DUNE::IMC::SetImageCoords::reverseDeserializeFields(), DUNE::IMC::GetImageCoords::reverseDeserializeFields(), DUNE::IMC::GetWorldCoordinates::reverseDeserializeFields(), DUNE::IMC::UsblFixExtended::reverseDeserializeFields(), DUNE::IMC::UsblModem::reverseDeserializeFields(), DUNE::IMC::UsblConfig::reverseDeserializeFields(), DUNE::IMC::DissolvedOrganicMatter::reverseDeserializeFields(), DUNE::IMC::ApmStatus::reverseDeserializeFields(), and DUNE::IMC::SadcReadings::reverseDeserializeFields().

uint16_t DUNE::IMC::deserialize ( std::vector< char > &  t,
const uint8_t *  bfr,
uint16_t &  length 
)

Deserializator for string objects.

Parameters
tstring object where to place the deserialized bytes.
bfrbuffer where to read the serialized bytes.
lengthamount of bytes available to deserialize.
Returns
number of deserialized bytes.
Exceptions
BufferTooShort
template<typename Type >
uint16_t DUNE::IMC::deserialize ( Type &  t,
const uint8_t *  bfr,
uint16_t &  length 
)
inline

Deserializator for scalar types.

Parameters
tscalar where to place the unserialized bytes.
bfrbuffer where to read the serialized bytes.
lengthamount of bytes available to unserialize.
Returns
number of serialized bytes.
Exceptions
BufferTooShort
DUNE::IMC::DUNE_DECLARE_STATIC_MAP ( creators_by_id  ,
int  ,
Creator  ,
creator_pairs_id   
)
DUNE::IMC::DUNE_DECLARE_STATIC_MAP ( map_id_abbrev  ,
uint32_t  ,
std::string  ,
pairs_id_abbrev   
)
DUNE::IMC::DUNE_DECLARE_STATIC_MAP ( map_abbrev_id  ,
std::string  ,
uint32_t  ,
pairs_abbrev_id   
)
unsigned DUNE::IMC::getSerializationSize ( const std::string &  variable)
inline

Retrieve the number of bytes required to serialize a variable of type 'plaintext'.

Parameters
[in]variablevariable.
Returns
number of bytes required to serialize variable.

Referenced by DUNE::IMC::EntityState::getVariableSerializationSize(), DUNE::IMC::EntityInfo::getVariableSerializationSize(), DUNE::IMC::EntityList::getVariableSerializationSize(), DUNE::IMC::TransportBindings::getVariableSerializationSize(), DUNE::IMC::DevCalibrationState::getVariableSerializationSize(), DUNE::IMC::EntityActivationState::getVariableSerializationSize(), DUNE::IMC::LeakSimulation::getVariableSerializationSize(), DUNE::IMC::UASimulation::getVariableSerializationSize(), DUNE::IMC::CacheControl::getVariableSerializationSize(), DUNE::IMC::LoggingControl::getVariableSerializationSize(), DUNE::IMC::LogBookEntry::getVariableSerializationSize(), DUNE::IMC::ReplayControl::getVariableSerializationSize(), DUNE::IMC::HistoricSonarData::getVariableSerializationSize(), DUNE::IMC::HistoricEvent::getVariableSerializationSize(), DUNE::IMC::Announce::getVariableSerializationSize(), DUNE::IMC::AnnounceService::getVariableSerializationSize(), DUNE::IMC::Sms::getVariableSerializationSize(), DUNE::IMC::SmsTx::getVariableSerializationSize(), DUNE::IMC::SmsRx::getVariableSerializationSize(), DUNE::IMC::SmsState::getVariableSerializationSize(), DUNE::IMC::TextMessage::getVariableSerializationSize(), DUNE::IMC::IridiumMsgRx::getVariableSerializationSize(), DUNE::IMC::IridiumMsgTx::getVariableSerializationSize(), DUNE::IMC::IridiumTxStatus::getVariableSerializationSize(), DUNE::IMC::GroupMembershipState::getVariableSerializationSize(), DUNE::IMC::SystemGroup::getVariableSerializationSize(), DUNE::IMC::CompressedHistory::getVariableSerializationSize(), DUNE::IMC::CommSystemsQuery::getVariableSerializationSize(), DUNE::IMC::TelemetryMsg::getVariableSerializationSize(), DUNE::IMC::LblBeacon::getVariableSerializationSize(), DUNE::IMC::AcousticOperation::getVariableSerializationSize(), DUNE::IMC::AcousticSystems::getVariableSerializationSize(), DUNE::IMC::AcousticLink::getVariableSerializationSize(), DUNE::IMC::DevDataText::getVariableSerializationSize(), DUNE::IMC::DevDataBinary::getVariableSerializationSize(), DUNE::IMC::SonarData::getVariableSerializationSize(), DUNE::IMC::FuelLevel::getVariableSerializationSize(), DUNE::IMC::RemoteActionsRequest::getVariableSerializationSize(), DUNE::IMC::RemoteActions::getVariableSerializationSize(), DUNE::IMC::LcdControl::getVariableSerializationSize(), DUNE::IMC::PowerChannelControl::getVariableSerializationSize(), DUNE::IMC::PowerChannelState::getVariableSerializationSize(), DUNE::IMC::LedBrightness::getVariableSerializationSize(), DUNE::IMC::QueryLedBrightness::getVariableSerializationSize(), DUNE::IMC::SetLedBrightness::getVariableSerializationSize(), DUNE::IMC::Goto::getVariableSerializationSize(), DUNE::IMC::PopUp::getVariableSerializationSize(), DUNE::IMC::Teleoperation::getVariableSerializationSize(), DUNE::IMC::Loiter::getVariableSerializationSize(), DUNE::IMC::IdleManeuver::getVariableSerializationSize(), DUNE::IMC::LowLevelControl::getVariableSerializationSize(), DUNE::IMC::Rows::getVariableSerializationSize(), DUNE::IMC::FollowPath::getVariableSerializationSize(), DUNE::IMC::YoYo::getVariableSerializationSize(), DUNE::IMC::StationKeeping::getVariableSerializationSize(), DUNE::IMC::Elevator::getVariableSerializationSize(), DUNE::IMC::FollowTrajectory::getVariableSerializationSize(), DUNE::IMC::CustomManeuver::getVariableSerializationSize(), DUNE::IMC::VehicleFormation::getVariableSerializationSize(), DUNE::IMC::ManeuverControlState::getVariableSerializationSize(), DUNE::IMC::CoverArea::getVariableSerializationSize(), DUNE::IMC::CompassCalibration::getVariableSerializationSize(), DUNE::IMC::FormationParameters::getVariableSerializationSize(), DUNE::IMC::FormationPlanExecution::getVariableSerializationSize(), DUNE::IMC::RelativeState::getVariableSerializationSize(), DUNE::IMC::Dislodge::getVariableSerializationSize(), DUNE::IMC::Formation::getVariableSerializationSize(), DUNE::IMC::Launch::getVariableSerializationSize(), DUNE::IMC::Drop::getVariableSerializationSize(), DUNE::IMC::RowsCoverage::getVariableSerializationSize(), DUNE::IMC::Sample::getVariableSerializationSize(), DUNE::IMC::Takeoff::getVariableSerializationSize(), DUNE::IMC::Land::getVariableSerializationSize(), DUNE::IMC::AutonomousSection::getVariableSerializationSize(), DUNE::IMC::FollowPoint::getVariableSerializationSize(), DUNE::IMC::Alignment::getVariableSerializationSize(), DUNE::IMC::StationKeepingExtended::getVariableSerializationSize(), DUNE::IMC::Magnetometer::getVariableSerializationSize(), DUNE::IMC::VehicleState::getVariableSerializationSize(), DUNE::IMC::VehicleCommand::getVariableSerializationSize(), DUNE::IMC::MonitorEntityState::getVariableSerializationSize(), DUNE::IMC::EntityMonitoringState::getVariableSerializationSize(), DUNE::IMC::AutopilotMode::getVariableSerializationSize(), DUNE::IMC::ReportControl::getVariableSerializationSize(), DUNE::IMC::TransmissionRequest::getVariableSerializationSize(), DUNE::IMC::TransmissionStatus::getVariableSerializationSize(), DUNE::IMC::SmsRequest::getVariableSerializationSize(), DUNE::IMC::SmsStatus::getVariableSerializationSize(), DUNE::IMC::PlanVariable::getVariableSerializationSize(), DUNE::IMC::PlanManeuver::getVariableSerializationSize(), DUNE::IMC::PlanTransition::getVariableSerializationSize(), DUNE::IMC::PlanSpecification::getVariableSerializationSize(), DUNE::IMC::EmergencyControlState::getVariableSerializationSize(), DUNE::IMC::PlanDB::getVariableSerializationSize(), DUNE::IMC::PlanDBInformation::getVariableSerializationSize(), DUNE::IMC::PlanDBState::getVariableSerializationSize(), DUNE::IMC::PlanControl::getVariableSerializationSize(), DUNE::IMC::PlanControlState::getVariableSerializationSize(), DUNE::IMC::PlanGeneration::getVariableSerializationSize(), DUNE::IMC::LeaderState::getVariableSerializationSize(), DUNE::IMC::PlanStatistics::getVariableSerializationSize(), DUNE::IMC::ReportedState::getVariableSerializationSize(), DUNE::IMC::RemoteSensorInfo::getVariableSerializationSize(), DUNE::IMC::MapFeature::getVariableSerializationSize(), DUNE::IMC::Map::getVariableSerializationSize(), DUNE::IMC::CcuEvent::getVariableSerializationSize(), DUNE::IMC::VehicleLinks::getVariableSerializationSize(), DUNE::IMC::TrexObservation::getVariableSerializationSize(), DUNE::IMC::TrexCommand::getVariableSerializationSize(), DUNE::IMC::TrexAttribute::getVariableSerializationSize(), DUNE::IMC::TrexToken::getVariableSerializationSize(), DUNE::IMC::TrexOperation::getVariableSerializationSize(), DUNE::IMC::TrexPlan::getVariableSerializationSize(), DUNE::IMC::Event::getVariableSerializationSize(), DUNE::IMC::CompressedImage::getVariableSerializationSize(), DUNE::IMC::Target::getVariableSerializationSize(), DUNE::IMC::EntityParameter::getVariableSerializationSize(), DUNE::IMC::EntityParameters::getVariableSerializationSize(), DUNE::IMC::QueryEntityParameters::getVariableSerializationSize(), DUNE::IMC::SetEntityParameters::getVariableSerializationSize(), DUNE::IMC::SaveEntityParameters::getVariableSerializationSize(), DUNE::IMC::SessionSubscription::getVariableSerializationSize(), DUNE::IMC::PushEntityParameters::getVariableSerializationSize(), DUNE::IMC::PopEntityParameters::getVariableSerializationSize(), DUNE::IMC::IoEvent::getVariableSerializationSize(), DUNE::IMC::UamTxFrame::getVariableSerializationSize(), DUNE::IMC::UamRxFrame::getVariableSerializationSize(), DUNE::IMC::UamTxStatus::getVariableSerializationSize(), DUNE::IMC::UamRxRange::getVariableSerializationSize(), DUNE::IMC::SoiCommand::getVariableSerializationSize(), DUNE::IMC::MessagePart::getVariableSerializationSize(), DUNE::IMC::NeptusBlob::getVariableSerializationSize(), DUNE::IMC::ParametersXml::getVariableSerializationSize(), DUNE::IMC::UsblAnglesExtended::getVariableSerializationSize(), DUNE::IMC::UsblPositionExtended::getVariableSerializationSize(), DUNE::IMC::UsblFixExtended::getVariableSerializationSize(), DUNE::IMC::UsblModem::getVariableSerializationSize(), and DUNE::IMC::ApmStatus::getVariableSerializationSize().

unsigned DUNE::IMC::getSerializationSize ( const std::vector< char > &  variable)
inline

Retrieve the number of bytes required to serialize a variable of type 'rawdata'.

Parameters
[in]variablevariable.
Returns
number of bytes required to serialize variable.
const char * DUNE::IMC::indentJSON ( unsigned  count)

Return a string with a given number of white spaces.

Parameters
[in]countnumber of white spaces.
Returns
string with 'count' white spaces.

Referenced by toJSON(), DUNE::IMC::InlineMessage< DUNE::IMC::HistoricData >::toJSON(), and DUNE::IMC::MessageList< DUNE::IMC::VehicleFormationParticipant >::toJSON().

uint16_t DUNE::IMC::reverseDeserialize ( std::string &  t,
const uint8_t *  bfr,
uint16_t &  bfr_len 
)

References DUNE::Utils::reverseCopy().

Referenced by DUNE::IMC::EntityState::reverseDeserializeFields(), DUNE::IMC::EntityInfo::reverseDeserializeFields(), DUNE::IMC::EntityList::reverseDeserializeFields(), DUNE::IMC::TransportBindings::reverseDeserializeFields(), DUNE::IMC::DevCalibrationState::reverseDeserializeFields(), DUNE::IMC::EntityActivationState::reverseDeserializeFields(), DUNE::IMC::VehicleOperationalLimits::reverseDeserializeFields(), DUNE::IMC::SimulatedState::reverseDeserializeFields(), DUNE::IMC::LeakSimulation::reverseDeserializeFields(), DUNE::IMC::UASimulation::reverseDeserializeFields(), DUNE::IMC::DynamicsSimParam::reverseDeserializeFields(), DUNE::IMC::StorageUsage::reverseDeserializeFields(), DUNE::IMC::CacheControl::reverseDeserializeFields(), DUNE::IMC::LoggingControl::reverseDeserializeFields(), DUNE::IMC::LogBookEntry::reverseDeserializeFields(), DUNE::IMC::LogBookControl::reverseDeserializeFields(), DUNE::IMC::ReplayControl::reverseDeserializeFields(), DUNE::IMC::ClockControl::reverseDeserializeFields(), DUNE::IMC::HistoricCTD::reverseDeserializeFields(), DUNE::IMC::HistoricTelemetry::reverseDeserializeFields(), DUNE::IMC::HistoricSonarData::reverseDeserializeFields(), DUNE::IMC::HistoricEvent::reverseDeserializeFields(), DUNE::IMC::ProfileSample::reverseDeserializeFields(), DUNE::IMC::VerticalProfile::reverseDeserializeFields(), DUNE::IMC::Announce::reverseDeserializeFields(), DUNE::IMC::AnnounceService::reverseDeserializeFields(), DUNE::IMC::RSSI::reverseDeserializeFields(), DUNE::IMC::VSWR::reverseDeserializeFields(), DUNE::IMC::LinkLevel::reverseDeserializeFields(), DUNE::IMC::Sms::reverseDeserializeFields(), DUNE::IMC::SmsTx::reverseDeserializeFields(), DUNE::IMC::SmsRx::reverseDeserializeFields(), DUNE::IMC::SmsState::reverseDeserializeFields(), DUNE::IMC::TextMessage::reverseDeserializeFields(), DUNE::IMC::IridiumMsgRx::reverseDeserializeFields(), DUNE::IMC::IridiumMsgTx::reverseDeserializeFields(), DUNE::IMC::IridiumTxStatus::reverseDeserializeFields(), DUNE::IMC::GroupMembershipState::reverseDeserializeFields(), DUNE::IMC::SystemGroup::reverseDeserializeFields(), DUNE::IMC::LinkLatency::reverseDeserializeFields(), DUNE::IMC::ExtendedRSSI::reverseDeserializeFields(), DUNE::IMC::HistoricData::reverseDeserializeFields(), DUNE::IMC::CompressedHistory::reverseDeserializeFields(), DUNE::IMC::HistoricSample::reverseDeserializeFields(), DUNE::IMC::HistoricDataQuery::reverseDeserializeFields(), DUNE::IMC::RemoteCommand::reverseDeserializeFields(), DUNE::IMC::CommSystemsQuery::reverseDeserializeFields(), DUNE::IMC::TelemetryMsg::reverseDeserializeFields(), DUNE::IMC::LblRange::reverseDeserializeFields(), DUNE::IMC::LblBeacon::reverseDeserializeFields(), DUNE::IMC::AcousticOperation::reverseDeserializeFields(), DUNE::IMC::AcousticSystems::reverseDeserializeFields(), DUNE::IMC::AcousticLink::reverseDeserializeFields(), DUNE::IMC::Rpm::reverseDeserializeFields(), DUNE::IMC::Voltage::reverseDeserializeFields(), DUNE::IMC::Current::reverseDeserializeFields(), DUNE::IMC::GpsFix::reverseDeserializeFields(), DUNE::IMC::EulerAngles::reverseDeserializeFields(), DUNE::IMC::EulerAnglesDelta::reverseDeserializeFields(), DUNE::IMC::AngularVelocity::reverseDeserializeFields(), DUNE::IMC::Acceleration::reverseDeserializeFields(), DUNE::IMC::MagneticField::reverseDeserializeFields(), DUNE::IMC::GroundVelocity::reverseDeserializeFields(), DUNE::IMC::WaterVelocity::reverseDeserializeFields(), DUNE::IMC::VelocityDelta::reverseDeserializeFields(), DUNE::IMC::DeviceState::reverseDeserializeFields(), DUNE::IMC::BeamConfig::reverseDeserializeFields(), DUNE::IMC::Distance::reverseDeserializeFields(), DUNE::IMC::Temperature::reverseDeserializeFields(), DUNE::IMC::Pressure::reverseDeserializeFields(), DUNE::IMC::Depth::reverseDeserializeFields(), DUNE::IMC::DepthOffset::reverseDeserializeFields(), DUNE::IMC::SoundSpeed::reverseDeserializeFields(), DUNE::IMC::WaterDensity::reverseDeserializeFields(), DUNE::IMC::Conductivity::reverseDeserializeFields(), DUNE::IMC::Salinity::reverseDeserializeFields(), DUNE::IMC::WindSpeed::reverseDeserializeFields(), DUNE::IMC::RelativeHumidity::reverseDeserializeFields(), DUNE::IMC::DevDataText::reverseDeserializeFields(), DUNE::IMC::DevDataBinary::reverseDeserializeFields(), DUNE::IMC::Force::reverseDeserializeFields(), DUNE::IMC::SonarData::reverseDeserializeFields(), DUNE::IMC::FuelLevel::reverseDeserializeFields(), DUNE::IMC::GpsNavData::reverseDeserializeFields(), DUNE::IMC::ServoPosition::reverseDeserializeFields(), DUNE::IMC::RhodamineDye::reverseDeserializeFields(), DUNE::IMC::CrudeOil::reverseDeserializeFields(), DUNE::IMC::FineOil::reverseDeserializeFields(), DUNE::IMC::Turbidity::reverseDeserializeFields(), DUNE::IMC::Chlorophyll::reverseDeserializeFields(), DUNE::IMC::Fluorescein::reverseDeserializeFields(), DUNE::IMC::Phycocyanin::reverseDeserializeFields(), DUNE::IMC::Phycoerythrin::reverseDeserializeFields(), DUNE::IMC::GpsFixRtk::reverseDeserializeFields(), DUNE::IMC::EstimatedState::reverseDeserializeFields(), DUNE::IMC::DissolvedOxygen::reverseDeserializeFields(), DUNE::IMC::AirSaturation::reverseDeserializeFields(), DUNE::IMC::Throttle::reverseDeserializeFields(), DUNE::IMC::PH::reverseDeserializeFields(), DUNE::IMC::Redox::reverseDeserializeFields(), DUNE::IMC::SetThrusterActuation::reverseDeserializeFields(), DUNE::IMC::SetServoPosition::reverseDeserializeFields(), DUNE::IMC::SetControlSurfaceDeflection::reverseDeserializeFields(), DUNE::IMC::RemoteActionsRequest::reverseDeserializeFields(), DUNE::IMC::RemoteActions::reverseDeserializeFields(), DUNE::IMC::LcdControl::reverseDeserializeFields(), DUNE::IMC::PowerOperation::reverseDeserializeFields(), DUNE::IMC::PowerChannelControl::reverseDeserializeFields(), DUNE::IMC::PowerChannelState::reverseDeserializeFields(), DUNE::IMC::LedBrightness::reverseDeserializeFields(), DUNE::IMC::QueryLedBrightness::reverseDeserializeFields(), DUNE::IMC::SetLedBrightness::reverseDeserializeFields(), DUNE::IMC::SetPWM::reverseDeserializeFields(), DUNE::IMC::PWM::reverseDeserializeFields(), DUNE::IMC::EstimatedStreamVelocity::reverseDeserializeFields(), DUNE::IMC::IndicatedSpeed::reverseDeserializeFields(), DUNE::IMC::TrueSpeed::reverseDeserializeFields(), DUNE::IMC::NavigationUncertainty::reverseDeserializeFields(), DUNE::IMC::NavigationData::reverseDeserializeFields(), DUNE::IMC::GpsFixRejection::reverseDeserializeFields(), DUNE::IMC::LblRangeAcceptance::reverseDeserializeFields(), DUNE::IMC::DvlRejection::reverseDeserializeFields(), DUNE::IMC::LblEstimate::reverseDeserializeFields(), DUNE::IMC::GroupStreamVelocity::reverseDeserializeFields(), DUNE::IMC::Airflow::reverseDeserializeFields(), DUNE::IMC::DesiredHeading::reverseDeserializeFields(), DUNE::IMC::DesiredZ::reverseDeserializeFields(), DUNE::IMC::DesiredSpeed::reverseDeserializeFields(), DUNE::IMC::DesiredRoll::reverseDeserializeFields(), DUNE::IMC::DesiredPitch::reverseDeserializeFields(), DUNE::IMC::DesiredVerticalRate::reverseDeserializeFields(), DUNE::IMC::DesiredPath::reverseDeserializeFields(), DUNE::IMC::DesiredControl::reverseDeserializeFields(), DUNE::IMC::DesiredHeadingRate::reverseDeserializeFields(), DUNE::IMC::DesiredVelocity::reverseDeserializeFields(), DUNE::IMC::PathControlState::reverseDeserializeFields(), DUNE::IMC::AllocatedControlTorques::reverseDeserializeFields(), DUNE::IMC::ControlParcel::reverseDeserializeFields(), DUNE::IMC::DesiredLinearState::reverseDeserializeFields(), DUNE::IMC::DesiredThrottle::reverseDeserializeFields(), DUNE::IMC::Goto::reverseDeserializeFields(), DUNE::IMC::PopUp::reverseDeserializeFields(), DUNE::IMC::Teleoperation::reverseDeserializeFields(), DUNE::IMC::Loiter::reverseDeserializeFields(), DUNE::IMC::IdleManeuver::reverseDeserializeFields(), DUNE::IMC::LowLevelControl::reverseDeserializeFields(), DUNE::IMC::Rows::reverseDeserializeFields(), DUNE::IMC::PathPoint::reverseDeserializeFields(), DUNE::IMC::FollowPath::reverseDeserializeFields(), DUNE::IMC::YoYo::reverseDeserializeFields(), DUNE::IMC::StationKeeping::reverseDeserializeFields(), DUNE::IMC::Elevator::reverseDeserializeFields(), DUNE::IMC::TrajectoryPoint::reverseDeserializeFields(), DUNE::IMC::FollowTrajectory::reverseDeserializeFields(), DUNE::IMC::CustomManeuver::reverseDeserializeFields(), DUNE::IMC::VehicleFormationParticipant::reverseDeserializeFields(), DUNE::IMC::VehicleFormation::reverseDeserializeFields(), DUNE::IMC::RegisterManeuver::reverseDeserializeFields(), DUNE::IMC::ManeuverControlState::reverseDeserializeFields(), DUNE::IMC::FollowSystem::reverseDeserializeFields(), DUNE::IMC::CommsRelay::reverseDeserializeFields(), DUNE::IMC::PolygonVertex::reverseDeserializeFields(), DUNE::IMC::CoverArea::reverseDeserializeFields(), DUNE::IMC::CompassCalibration::reverseDeserializeFields(), DUNE::IMC::FormationParameters::reverseDeserializeFields(), DUNE::IMC::FormationPlanExecution::reverseDeserializeFields(), DUNE::IMC::FollowReference::reverseDeserializeFields(), DUNE::IMC::Reference::reverseDeserializeFields(), DUNE::IMC::FollowRefState::reverseDeserializeFields(), DUNE::IMC::RelativeState::reverseDeserializeFields(), DUNE::IMC::FormationMonitor::reverseDeserializeFields(), DUNE::IMC::Dislodge::reverseDeserializeFields(), DUNE::IMC::Formation::reverseDeserializeFields(), DUNE::IMC::Launch::reverseDeserializeFields(), DUNE::IMC::Drop::reverseDeserializeFields(), DUNE::IMC::ScheduledGoto::reverseDeserializeFields(), DUNE::IMC::RowsCoverage::reverseDeserializeFields(), DUNE::IMC::Sample::reverseDeserializeFields(), DUNE::IMC::Takeoff::reverseDeserializeFields(), DUNE::IMC::Land::reverseDeserializeFields(), DUNE::IMC::AutonomousSection::reverseDeserializeFields(), DUNE::IMC::FollowPoint::reverseDeserializeFields(), DUNE::IMC::Alignment::reverseDeserializeFields(), DUNE::IMC::StationKeepingExtended::reverseDeserializeFields(), DUNE::IMC::Magnetometer::reverseDeserializeFields(), DUNE::IMC::VehicleState::reverseDeserializeFields(), DUNE::IMC::VehicleCommand::reverseDeserializeFields(), DUNE::IMC::MonitorEntityState::reverseDeserializeFields(), DUNE::IMC::EntityMonitoringState::reverseDeserializeFields(), DUNE::IMC::OperationalLimits::reverseDeserializeFields(), DUNE::IMC::Calibration::reverseDeserializeFields(), DUNE::IMC::ControlLoops::reverseDeserializeFields(), DUNE::IMC::Collision::reverseDeserializeFields(), DUNE::IMC::FormState::reverseDeserializeFields(), DUNE::IMC::AutopilotMode::reverseDeserializeFields(), DUNE::IMC::FormationState::reverseDeserializeFields(), DUNE::IMC::ReportControl::reverseDeserializeFields(), DUNE::IMC::StateReport::reverseDeserializeFields(), DUNE::IMC::TransmissionRequest::reverseDeserializeFields(), DUNE::IMC::TransmissionStatus::reverseDeserializeFields(), DUNE::IMC::SmsRequest::reverseDeserializeFields(), DUNE::IMC::SmsStatus::reverseDeserializeFields(), DUNE::IMC::PlanVariable::reverseDeserializeFields(), DUNE::IMC::PlanManeuver::reverseDeserializeFields(), DUNE::IMC::PlanTransition::reverseDeserializeFields(), DUNE::IMC::PlanSpecification::reverseDeserializeFields(), DUNE::IMC::EmergencyControlState::reverseDeserializeFields(), DUNE::IMC::PlanDB::reverseDeserializeFields(), DUNE::IMC::PlanDBInformation::reverseDeserializeFields(), DUNE::IMC::PlanDBState::reverseDeserializeFields(), DUNE::IMC::PlanControl::reverseDeserializeFields(), DUNE::IMC::PlanControlState::reverseDeserializeFields(), DUNE::IMC::PlanGeneration::reverseDeserializeFields(), DUNE::IMC::LeaderState::reverseDeserializeFields(), DUNE::IMC::PlanStatistics::reverseDeserializeFields(), DUNE::IMC::ReportedState::reverseDeserializeFields(), DUNE::IMC::RemoteSensorInfo::reverseDeserializeFields(), DUNE::IMC::MapPoint::reverseDeserializeFields(), DUNE::IMC::MapFeature::reverseDeserializeFields(), DUNE::IMC::Map::reverseDeserializeFields(), DUNE::IMC::CcuEvent::reverseDeserializeFields(), DUNE::IMC::VehicleLinks::reverseDeserializeFields(), DUNE::IMC::TrexObservation::reverseDeserializeFields(), DUNE::IMC::TrexCommand::reverseDeserializeFields(), DUNE::IMC::TrexAttribute::reverseDeserializeFields(), DUNE::IMC::TrexToken::reverseDeserializeFields(), DUNE::IMC::TrexOperation::reverseDeserializeFields(), DUNE::IMC::TrexPlan::reverseDeserializeFields(), DUNE::IMC::Event::reverseDeserializeFields(), DUNE::IMC::CompressedImage::reverseDeserializeFields(), DUNE::IMC::RemoteState::reverseDeserializeFields(), DUNE::IMC::Target::reverseDeserializeFields(), DUNE::IMC::EntityParameter::reverseDeserializeFields(), DUNE::IMC::EntityParameters::reverseDeserializeFields(), DUNE::IMC::QueryEntityParameters::reverseDeserializeFields(), DUNE::IMC::SetEntityParameters::reverseDeserializeFields(), DUNE::IMC::SaveEntityParameters::reverseDeserializeFields(), DUNE::IMC::CreateSession::reverseDeserializeFields(), DUNE::IMC::CloseSession::reverseDeserializeFields(), DUNE::IMC::SessionSubscription::reverseDeserializeFields(), DUNE::IMC::SessionKeepAlive::reverseDeserializeFields(), DUNE::IMC::SessionStatus::reverseDeserializeFields(), DUNE::IMC::PushEntityParameters::reverseDeserializeFields(), DUNE::IMC::PopEntityParameters::reverseDeserializeFields(), DUNE::IMC::IoEvent::reverseDeserializeFields(), DUNE::IMC::UamTxFrame::reverseDeserializeFields(), DUNE::IMC::UamRxFrame::reverseDeserializeFields(), DUNE::IMC::UamTxStatus::reverseDeserializeFields(), DUNE::IMC::UamRxRange::reverseDeserializeFields(), DUNE::IMC::FormCtrlParam::reverseDeserializeFields(), DUNE::IMC::FormationEval::reverseDeserializeFields(), DUNE::IMC::FormationControlParams::reverseDeserializeFields(), DUNE::IMC::FormationEvaluation::reverseDeserializeFields(), DUNE::IMC::SoiWaypoint::reverseDeserializeFields(), DUNE::IMC::SoiPlan::reverseDeserializeFields(), DUNE::IMC::SoiCommand::reverseDeserializeFields(), DUNE::IMC::SoiState::reverseDeserializeFields(), DUNE::IMC::MessagePart::reverseDeserializeFields(), DUNE::IMC::NeptusBlob::reverseDeserializeFields(), DUNE::IMC::UsblAngles::reverseDeserializeFields(), DUNE::IMC::UsblPosition::reverseDeserializeFields(), DUNE::IMC::UsblFix::reverseDeserializeFields(), DUNE::IMC::ParametersXml::reverseDeserializeFields(), DUNE::IMC::SetImageCoords::reverseDeserializeFields(), DUNE::IMC::GetImageCoords::reverseDeserializeFields(), DUNE::IMC::GetWorldCoordinates::reverseDeserializeFields(), DUNE::IMC::UsblAnglesExtended::reverseDeserializeFields(), DUNE::IMC::UsblPositionExtended::reverseDeserializeFields(), DUNE::IMC::UsblFixExtended::reverseDeserializeFields(), DUNE::IMC::UsblModem::reverseDeserializeFields(), DUNE::IMC::DissolvedOrganicMatter::reverseDeserializeFields(), DUNE::IMC::OpticalBackscatter::reverseDeserializeFields(), DUNE::IMC::Tachograph::reverseDeserializeFields(), DUNE::IMC::ApmStatus::reverseDeserializeFields(), DUNE::IMC::SadcReadings::reverseDeserializeFields(), DUNE::IMC::DmsDetection::reverseDeserializeFields(), and DUNE::IMC::TotalMagIntensity::reverseDeserializeFields().

uint16_t DUNE::IMC::reverseDeserialize ( std::vector< char > &  t,
const uint8_t *  bfr,
uint16_t &  bfr_len 
)
template<typename Type >
uint16_t DUNE::IMC::reverseDeserialize ( Type &  t,
const uint8_t *  bfr,
uint16_t &  length 
)
inline

Deserialize a numeric field with a different byte.

Parameters
tvariable where to place the unserialized result.
bfrbuffer where to read the serialized bytes.
lengthamount of bytes available to unserialize.
Returns
number of serialized bytes.
Exceptions
BufferTooShort

References DUNE::Utils::reverseCopy().

uint16_t DUNE::IMC::serialize ( const std::string &  t,
uint8_t *  bfr 
)

Referenced by DUNE::Utils::Codecs::CodedEstimatedState::encode(), DUNE::Navigation::UsblTools::Fix::encode(), DUNE::Navigation::UsblTools::Position::encode(), DUNE::Navigation::UsblTools::Angles::encode(), DUNE::IMC::Packet::serialize(), DUNE::IMC::ImcIridiumMessage::serialize(), DUNE::IMC::DeviceUpdate::serialize(), DUNE::IMC::ExtendedDeviceUpdate::serialize(), DUNE::IMC::ActivateSpotSubscription::serialize(), DUNE::IMC::DeactivateSpotSubscription::serialize(), DUNE::IMC::IridiumCommand::serialize(), DUNE::IMC::InlineMessage< DUNE::IMC::HistoricData >::serialize(), DUNE::IMC::MessageList< DUNE::IMC::VehicleFormationParticipant >::serialize(), DUNE::IMC::EntityState::serializeFields(), DUNE::IMC::EntityInfo::serializeFields(), DUNE::IMC::QueryEntityInfo::serializeFields(), DUNE::IMC::EntityList::serializeFields(), DUNE::IMC::CpuUsage::serializeFields(), DUNE::IMC::TransportBindings::serializeFields(), DUNE::IMC::RestartSystem::serializeFields(), DUNE::IMC::DevCalibrationControl::serializeFields(), DUNE::IMC::DevCalibrationState::serializeFields(), DUNE::IMC::EntityActivationState::serializeFields(), DUNE::IMC::VehicleOperationalLimits::serializeFields(), DUNE::IMC::SimulatedState::serializeFields(), DUNE::IMC::LeakSimulation::serializeFields(), DUNE::IMC::UASimulation::serializeFields(), DUNE::IMC::DynamicsSimParam::serializeFields(), DUNE::IMC::StorageUsage::serializeFields(), DUNE::IMC::CacheControl::serializeFields(), DUNE::IMC::LoggingControl::serializeFields(), DUNE::IMC::LogBookEntry::serializeFields(), DUNE::IMC::LogBookControl::serializeFields(), DUNE::IMC::ReplayControl::serializeFields(), DUNE::IMC::ClockControl::serializeFields(), DUNE::IMC::HistoricCTD::serializeFields(), DUNE::IMC::HistoricTelemetry::serializeFields(), DUNE::IMC::HistoricSonarData::serializeFields(), DUNE::IMC::HistoricEvent::serializeFields(), DUNE::IMC::ProfileSample::serializeFields(), DUNE::IMC::VerticalProfile::serializeFields(), DUNE::IMC::Announce::serializeFields(), DUNE::IMC::AnnounceService::serializeFields(), DUNE::IMC::RSSI::serializeFields(), DUNE::IMC::VSWR::serializeFields(), DUNE::IMC::LinkLevel::serializeFields(), DUNE::IMC::Sms::serializeFields(), DUNE::IMC::SmsTx::serializeFields(), DUNE::IMC::SmsRx::serializeFields(), DUNE::IMC::SmsState::serializeFields(), DUNE::IMC::TextMessage::serializeFields(), DUNE::IMC::IridiumMsgRx::serializeFields(), DUNE::IMC::IridiumMsgTx::serializeFields(), DUNE::IMC::IridiumTxStatus::serializeFields(), DUNE::IMC::GroupMembershipState::serializeFields(), DUNE::IMC::SystemGroup::serializeFields(), DUNE::IMC::LinkLatency::serializeFields(), DUNE::IMC::ExtendedRSSI::serializeFields(), DUNE::IMC::HistoricData::serializeFields(), DUNE::IMC::CompressedHistory::serializeFields(), DUNE::IMC::HistoricSample::serializeFields(), DUNE::IMC::HistoricDataQuery::serializeFields(), DUNE::IMC::RemoteCommand::serializeFields(), DUNE::IMC::CommSystemsQuery::serializeFields(), DUNE::IMC::TelemetryMsg::serializeFields(), DUNE::IMC::LblRange::serializeFields(), DUNE::IMC::LblBeacon::serializeFields(), DUNE::IMC::LblConfig::serializeFields(), DUNE::IMC::AcousticOperation::serializeFields(), DUNE::IMC::AcousticSystems::serializeFields(), DUNE::IMC::AcousticLink::serializeFields(), DUNE::IMC::Rpm::serializeFields(), DUNE::IMC::Voltage::serializeFields(), DUNE::IMC::Current::serializeFields(), DUNE::IMC::GpsFix::serializeFields(), DUNE::IMC::EulerAngles::serializeFields(), DUNE::IMC::EulerAnglesDelta::serializeFields(), DUNE::IMC::AngularVelocity::serializeFields(), DUNE::IMC::Acceleration::serializeFields(), DUNE::IMC::MagneticField::serializeFields(), DUNE::IMC::GroundVelocity::serializeFields(), DUNE::IMC::WaterVelocity::serializeFields(), DUNE::IMC::VelocityDelta::serializeFields(), DUNE::IMC::DeviceState::serializeFields(), DUNE::IMC::BeamConfig::serializeFields(), DUNE::IMC::Distance::serializeFields(), DUNE::IMC::Temperature::serializeFields(), DUNE::IMC::Pressure::serializeFields(), DUNE::IMC::Depth::serializeFields(), DUNE::IMC::DepthOffset::serializeFields(), DUNE::IMC::SoundSpeed::serializeFields(), DUNE::IMC::WaterDensity::serializeFields(), DUNE::IMC::Conductivity::serializeFields(), DUNE::IMC::Salinity::serializeFields(), DUNE::IMC::WindSpeed::serializeFields(), DUNE::IMC::RelativeHumidity::serializeFields(), DUNE::IMC::DevDataText::serializeFields(), DUNE::IMC::DevDataBinary::serializeFields(), DUNE::IMC::Force::serializeFields(), DUNE::IMC::SonarData::serializeFields(), DUNE::IMC::PulseDetectionControl::serializeFields(), DUNE::IMC::FuelLevel::serializeFields(), DUNE::IMC::GpsNavData::serializeFields(), DUNE::IMC::ServoPosition::serializeFields(), DUNE::IMC::DataSanity::serializeFields(), DUNE::IMC::RhodamineDye::serializeFields(), DUNE::IMC::CrudeOil::serializeFields(), DUNE::IMC::FineOil::serializeFields(), DUNE::IMC::Turbidity::serializeFields(), DUNE::IMC::Chlorophyll::serializeFields(), DUNE::IMC::Fluorescein::serializeFields(), DUNE::IMC::Phycocyanin::serializeFields(), DUNE::IMC::Phycoerythrin::serializeFields(), DUNE::IMC::GpsFixRtk::serializeFields(), DUNE::IMC::EstimatedState::serializeFields(), DUNE::IMC::ExternalNavData::serializeFields(), DUNE::IMC::DissolvedOxygen::serializeFields(), DUNE::IMC::AirSaturation::serializeFields(), DUNE::IMC::Throttle::serializeFields(), DUNE::IMC::PH::serializeFields(), DUNE::IMC::Redox::serializeFields(), DUNE::IMC::CameraZoom::serializeFields(), DUNE::IMC::SetThrusterActuation::serializeFields(), DUNE::IMC::SetServoPosition::serializeFields(), DUNE::IMC::SetControlSurfaceDeflection::serializeFields(), DUNE::IMC::RemoteActionsRequest::serializeFields(), DUNE::IMC::RemoteActions::serializeFields(), DUNE::IMC::ButtonEvent::serializeFields(), DUNE::IMC::LcdControl::serializeFields(), DUNE::IMC::PowerOperation::serializeFields(), DUNE::IMC::PowerChannelControl::serializeFields(), DUNE::IMC::PowerChannelState::serializeFields(), DUNE::IMC::LedBrightness::serializeFields(), DUNE::IMC::QueryLedBrightness::serializeFields(), DUNE::IMC::SetLedBrightness::serializeFields(), DUNE::IMC::SetPWM::serializeFields(), DUNE::IMC::PWM::serializeFields(), DUNE::IMC::EstimatedStreamVelocity::serializeFields(), DUNE::IMC::IndicatedSpeed::serializeFields(), DUNE::IMC::TrueSpeed::serializeFields(), DUNE::IMC::NavigationUncertainty::serializeFields(), DUNE::IMC::NavigationData::serializeFields(), DUNE::IMC::GpsFixRejection::serializeFields(), DUNE::IMC::LblRangeAcceptance::serializeFields(), DUNE::IMC::DvlRejection::serializeFields(), DUNE::IMC::LblEstimate::serializeFields(), DUNE::IMC::AlignmentState::serializeFields(), DUNE::IMC::GroupStreamVelocity::serializeFields(), DUNE::IMC::Airflow::serializeFields(), DUNE::IMC::DesiredHeading::serializeFields(), DUNE::IMC::DesiredZ::serializeFields(), DUNE::IMC::DesiredSpeed::serializeFields(), DUNE::IMC::DesiredRoll::serializeFields(), DUNE::IMC::DesiredPitch::serializeFields(), DUNE::IMC::DesiredVerticalRate::serializeFields(), DUNE::IMC::DesiredPath::serializeFields(), DUNE::IMC::DesiredControl::serializeFields(), DUNE::IMC::DesiredHeadingRate::serializeFields(), DUNE::IMC::DesiredVelocity::serializeFields(), DUNE::IMC::PathControlState::serializeFields(), DUNE::IMC::AllocatedControlTorques::serializeFields(), DUNE::IMC::ControlParcel::serializeFields(), DUNE::IMC::Brake::serializeFields(), DUNE::IMC::DesiredLinearState::serializeFields(), DUNE::IMC::DesiredThrottle::serializeFields(), DUNE::IMC::Goto::serializeFields(), DUNE::IMC::PopUp::serializeFields(), DUNE::IMC::Teleoperation::serializeFields(), DUNE::IMC::Loiter::serializeFields(), DUNE::IMC::IdleManeuver::serializeFields(), DUNE::IMC::LowLevelControl::serializeFields(), DUNE::IMC::Rows::serializeFields(), DUNE::IMC::PathPoint::serializeFields(), DUNE::IMC::FollowPath::serializeFields(), DUNE::IMC::YoYo::serializeFields(), DUNE::IMC::StationKeeping::serializeFields(), DUNE::IMC::Elevator::serializeFields(), DUNE::IMC::TrajectoryPoint::serializeFields(), DUNE::IMC::FollowTrajectory::serializeFields(), DUNE::IMC::CustomManeuver::serializeFields(), DUNE::IMC::VehicleFormationParticipant::serializeFields(), DUNE::IMC::VehicleFormation::serializeFields(), DUNE::IMC::RegisterManeuver::serializeFields(), DUNE::IMC::ManeuverControlState::serializeFields(), DUNE::IMC::FollowSystem::serializeFields(), DUNE::IMC::CommsRelay::serializeFields(), DUNE::IMC::PolygonVertex::serializeFields(), DUNE::IMC::CoverArea::serializeFields(), DUNE::IMC::CompassCalibration::serializeFields(), DUNE::IMC::FormationParameters::serializeFields(), DUNE::IMC::FormationPlanExecution::serializeFields(), DUNE::IMC::FollowReference::serializeFields(), DUNE::IMC::Reference::serializeFields(), DUNE::IMC::FollowRefState::serializeFields(), DUNE::IMC::RelativeState::serializeFields(), DUNE::IMC::FormationMonitor::serializeFields(), DUNE::IMC::Dislodge::serializeFields(), DUNE::IMC::Formation::serializeFields(), DUNE::IMC::Launch::serializeFields(), DUNE::IMC::Drop::serializeFields(), DUNE::IMC::ScheduledGoto::serializeFields(), DUNE::IMC::RowsCoverage::serializeFields(), DUNE::IMC::Sample::serializeFields(), DUNE::IMC::Takeoff::serializeFields(), DUNE::IMC::Land::serializeFields(), DUNE::IMC::AutonomousSection::serializeFields(), DUNE::IMC::FollowPoint::serializeFields(), DUNE::IMC::Alignment::serializeFields(), DUNE::IMC::StationKeepingExtended::serializeFields(), DUNE::IMC::Magnetometer::serializeFields(), DUNE::IMC::VehicleState::serializeFields(), DUNE::IMC::VehicleCommand::serializeFields(), DUNE::IMC::MonitorEntityState::serializeFields(), DUNE::IMC::EntityMonitoringState::serializeFields(), DUNE::IMC::OperationalLimits::serializeFields(), DUNE::IMC::Calibration::serializeFields(), DUNE::IMC::ControlLoops::serializeFields(), DUNE::IMC::VehicleMedium::serializeFields(), DUNE::IMC::Collision::serializeFields(), DUNE::IMC::FormState::serializeFields(), DUNE::IMC::AutopilotMode::serializeFields(), DUNE::IMC::FormationState::serializeFields(), DUNE::IMC::ReportControl::serializeFields(), DUNE::IMC::StateReport::serializeFields(), DUNE::IMC::TransmissionRequest::serializeFields(), DUNE::IMC::TransmissionStatus::serializeFields(), DUNE::IMC::SmsRequest::serializeFields(), DUNE::IMC::SmsStatus::serializeFields(), DUNE::IMC::VtolState::serializeFields(), DUNE::IMC::ArmingState::serializeFields(), DUNE::IMC::PlanVariable::serializeFields(), DUNE::IMC::PlanManeuver::serializeFields(), DUNE::IMC::PlanTransition::serializeFields(), DUNE::IMC::PlanSpecification::serializeFields(), DUNE::IMC::EmergencyControl::serializeFields(), DUNE::IMC::EmergencyControlState::serializeFields(), DUNE::IMC::PlanDB::serializeFields(), DUNE::IMC::PlanDBInformation::serializeFields(), DUNE::IMC::PlanDBState::serializeFields(), DUNE::IMC::PlanControl::serializeFields(), DUNE::IMC::PlanControlState::serializeFields(), DUNE::IMC::PlanGeneration::serializeFields(), DUNE::IMC::LeaderState::serializeFields(), DUNE::IMC::PlanStatistics::serializeFields(), DUNE::IMC::ReportedState::serializeFields(), DUNE::IMC::RemoteSensorInfo::serializeFields(), DUNE::IMC::MapPoint::serializeFields(), DUNE::IMC::MapFeature::serializeFields(), DUNE::IMC::Map::serializeFields(), DUNE::IMC::CcuEvent::serializeFields(), DUNE::IMC::VehicleLinks::serializeFields(), DUNE::IMC::TrexObservation::serializeFields(), DUNE::IMC::TrexCommand::serializeFields(), DUNE::IMC::TrexAttribute::serializeFields(), DUNE::IMC::TrexToken::serializeFields(), DUNE::IMC::TrexOperation::serializeFields(), DUNE::IMC::TrexPlan::serializeFields(), DUNE::IMC::Event::serializeFields(), DUNE::IMC::CompressedImage::serializeFields(), DUNE::IMC::ImageTxSettings::serializeFields(), DUNE::IMC::RemoteState::serializeFields(), DUNE::IMC::Target::serializeFields(), DUNE::IMC::EntityParameter::serializeFields(), DUNE::IMC::EntityParameters::serializeFields(), DUNE::IMC::QueryEntityParameters::serializeFields(), DUNE::IMC::SetEntityParameters::serializeFields(), DUNE::IMC::SaveEntityParameters::serializeFields(), DUNE::IMC::CreateSession::serializeFields(), DUNE::IMC::CloseSession::serializeFields(), DUNE::IMC::SessionSubscription::serializeFields(), DUNE::IMC::SessionKeepAlive::serializeFields(), DUNE::IMC::SessionStatus::serializeFields(), DUNE::IMC::PushEntityParameters::serializeFields(), DUNE::IMC::PopEntityParameters::serializeFields(), DUNE::IMC::IoEvent::serializeFields(), DUNE::IMC::UamTxFrame::serializeFields(), DUNE::IMC::UamRxFrame::serializeFields(), DUNE::IMC::UamTxStatus::serializeFields(), DUNE::IMC::UamRxRange::serializeFields(), DUNE::IMC::FormCtrlParam::serializeFields(), DUNE::IMC::FormationEval::serializeFields(), DUNE::IMC::FormationControlParams::serializeFields(), DUNE::IMC::FormationEvaluation::serializeFields(), DUNE::IMC::SoiWaypoint::serializeFields(), DUNE::IMC::SoiPlan::serializeFields(), DUNE::IMC::SoiCommand::serializeFields(), DUNE::IMC::SoiState::serializeFields(), DUNE::IMC::MessagePart::serializeFields(), DUNE::IMC::NeptusBlob::serializeFields(), DUNE::IMC::UsblAngles::serializeFields(), DUNE::IMC::UsblPosition::serializeFields(), DUNE::IMC::UsblFix::serializeFields(), DUNE::IMC::ParametersXml::serializeFields(), DUNE::IMC::SetImageCoords::serializeFields(), DUNE::IMC::GetImageCoords::serializeFields(), DUNE::IMC::GetWorldCoordinates::serializeFields(), DUNE::IMC::UsblAnglesExtended::serializeFields(), DUNE::IMC::UsblPositionExtended::serializeFields(), DUNE::IMC::UsblFixExtended::serializeFields(), DUNE::IMC::UsblModem::serializeFields(), DUNE::IMC::UsblConfig::serializeFields(), DUNE::IMC::DissolvedOrganicMatter::serializeFields(), DUNE::IMC::OpticalBackscatter::serializeFields(), DUNE::IMC::Tachograph::serializeFields(), DUNE::IMC::ApmStatus::serializeFields(), DUNE::IMC::SadcReadings::serializeFields(), DUNE::IMC::DmsDetection::serializeFields(), DUNE::IMC::TotalMagIntensity::serializeFields(), and DUNE::IMC::Packet::serializeHeader().

template<typename Type >
uint16_t DUNE::IMC::serialize ( const Type  t,
uint8_t *  bfr 
)
inline

Serializator for scalar types.

Parameters
tscalar to serialize.
bfrbuffer where to place the serialized bytes.
Returns
number of serialized bytes.
uint16_t DUNE::IMC::serialize ( const fp64_t  t,
uint8_t *  bfr 
)
inline

Serializator for floating point (double precision).

Parameters
tfloating point value to serialize.
bfrbuffer where to place the serialized bytes.
Returns
number of serialized bytes.
uint16_t DUNE::IMC::serialize ( const std::vector< char > &  t,
uint8_t *  bfr 
)
template<typename Type >
void DUNE::IMC::toJSON ( std::ostream &  os,
const char *  label,
const Type &  value,
unsigned  nindent,
char  prefix = ',' 
)
inline

Convert a generic type to a JSON string.

Parameters
[in]osoutput stream.
[in]labellabel.
[in]valuevalue.
[in]nindentnumber of indentation spaces.
[in]prefixprefix character.

References indentJSON().

Referenced by DUNE::IMC::EntityState::fieldsToJSON(), DUNE::IMC::EntityInfo::fieldsToJSON(), DUNE::IMC::QueryEntityInfo::fieldsToJSON(), DUNE::IMC::EntityList::fieldsToJSON(), DUNE::IMC::CpuUsage::fieldsToJSON(), DUNE::IMC::TransportBindings::fieldsToJSON(), DUNE::IMC::RestartSystem::fieldsToJSON(), DUNE::IMC::DevCalibrationControl::fieldsToJSON(), DUNE::IMC::DevCalibrationState::fieldsToJSON(), DUNE::IMC::EntityActivationState::fieldsToJSON(), DUNE::IMC::VehicleOperationalLimits::fieldsToJSON(), DUNE::IMC::SimulatedState::fieldsToJSON(), DUNE::IMC::LeakSimulation::fieldsToJSON(), DUNE::IMC::UASimulation::fieldsToJSON(), DUNE::IMC::DynamicsSimParam::fieldsToJSON(), DUNE::IMC::StorageUsage::fieldsToJSON(), DUNE::IMC::CacheControl::fieldsToJSON(), DUNE::IMC::LoggingControl::fieldsToJSON(), DUNE::IMC::LogBookEntry::fieldsToJSON(), DUNE::IMC::LogBookControl::fieldsToJSON(), DUNE::IMC::ReplayControl::fieldsToJSON(), DUNE::IMC::ClockControl::fieldsToJSON(), DUNE::IMC::HistoricCTD::fieldsToJSON(), DUNE::IMC::HistoricTelemetry::fieldsToJSON(), DUNE::IMC::HistoricSonarData::fieldsToJSON(), DUNE::IMC::HistoricEvent::fieldsToJSON(), DUNE::IMC::ProfileSample::fieldsToJSON(), DUNE::IMC::VerticalProfile::fieldsToJSON(), DUNE::IMC::Announce::fieldsToJSON(), DUNE::IMC::AnnounceService::fieldsToJSON(), DUNE::IMC::RSSI::fieldsToJSON(), DUNE::IMC::VSWR::fieldsToJSON(), DUNE::IMC::LinkLevel::fieldsToJSON(), DUNE::IMC::Sms::fieldsToJSON(), DUNE::IMC::SmsTx::fieldsToJSON(), DUNE::IMC::SmsRx::fieldsToJSON(), DUNE::IMC::SmsState::fieldsToJSON(), DUNE::IMC::TextMessage::fieldsToJSON(), DUNE::IMC::IridiumMsgRx::fieldsToJSON(), DUNE::IMC::IridiumMsgTx::fieldsToJSON(), DUNE::IMC::IridiumTxStatus::fieldsToJSON(), DUNE::IMC::GroupMembershipState::fieldsToJSON(), DUNE::IMC::SystemGroup::fieldsToJSON(), DUNE::IMC::LinkLatency::fieldsToJSON(), DUNE::IMC::ExtendedRSSI::fieldsToJSON(), DUNE::IMC::HistoricData::fieldsToJSON(), DUNE::IMC::CompressedHistory::fieldsToJSON(), DUNE::IMC::HistoricSample::fieldsToJSON(), DUNE::IMC::HistoricDataQuery::fieldsToJSON(), DUNE::IMC::RemoteCommand::fieldsToJSON(), DUNE::IMC::CommSystemsQuery::fieldsToJSON(), DUNE::IMC::TelemetryMsg::fieldsToJSON(), DUNE::IMC::LblRange::fieldsToJSON(), DUNE::IMC::LblBeacon::fieldsToJSON(), DUNE::IMC::LblConfig::fieldsToJSON(), DUNE::IMC::AcousticOperation::fieldsToJSON(), DUNE::IMC::AcousticSystems::fieldsToJSON(), DUNE::IMC::AcousticLink::fieldsToJSON(), DUNE::IMC::Rpm::fieldsToJSON(), DUNE::IMC::Voltage::fieldsToJSON(), DUNE::IMC::Current::fieldsToJSON(), DUNE::IMC::GpsFix::fieldsToJSON(), DUNE::IMC::EulerAngles::fieldsToJSON(), DUNE::IMC::EulerAnglesDelta::fieldsToJSON(), DUNE::IMC::AngularVelocity::fieldsToJSON(), DUNE::IMC::Acceleration::fieldsToJSON(), DUNE::IMC::MagneticField::fieldsToJSON(), DUNE::IMC::GroundVelocity::fieldsToJSON(), DUNE::IMC::WaterVelocity::fieldsToJSON(), DUNE::IMC::VelocityDelta::fieldsToJSON(), DUNE::IMC::DeviceState::fieldsToJSON(), DUNE::IMC::BeamConfig::fieldsToJSON(), DUNE::IMC::Distance::fieldsToJSON(), DUNE::IMC::Temperature::fieldsToJSON(), DUNE::IMC::Pressure::fieldsToJSON(), DUNE::IMC::Depth::fieldsToJSON(), DUNE::IMC::DepthOffset::fieldsToJSON(), DUNE::IMC::SoundSpeed::fieldsToJSON(), DUNE::IMC::WaterDensity::fieldsToJSON(), DUNE::IMC::Conductivity::fieldsToJSON(), DUNE::IMC::Salinity::fieldsToJSON(), DUNE::IMC::WindSpeed::fieldsToJSON(), DUNE::IMC::RelativeHumidity::fieldsToJSON(), DUNE::IMC::DevDataText::fieldsToJSON(), DUNE::IMC::DevDataBinary::fieldsToJSON(), DUNE::IMC::Force::fieldsToJSON(), DUNE::IMC::SonarData::fieldsToJSON(), DUNE::IMC::PulseDetectionControl::fieldsToJSON(), DUNE::IMC::FuelLevel::fieldsToJSON(), DUNE::IMC::GpsNavData::fieldsToJSON(), DUNE::IMC::ServoPosition::fieldsToJSON(), DUNE::IMC::DataSanity::fieldsToJSON(), DUNE::IMC::RhodamineDye::fieldsToJSON(), DUNE::IMC::CrudeOil::fieldsToJSON(), DUNE::IMC::FineOil::fieldsToJSON(), DUNE::IMC::Turbidity::fieldsToJSON(), DUNE::IMC::Chlorophyll::fieldsToJSON(), DUNE::IMC::Fluorescein::fieldsToJSON(), DUNE::IMC::Phycocyanin::fieldsToJSON(), DUNE::IMC::Phycoerythrin::fieldsToJSON(), DUNE::IMC::GpsFixRtk::fieldsToJSON(), DUNE::IMC::EstimatedState::fieldsToJSON(), DUNE::IMC::ExternalNavData::fieldsToJSON(), DUNE::IMC::DissolvedOxygen::fieldsToJSON(), DUNE::IMC::AirSaturation::fieldsToJSON(), DUNE::IMC::Throttle::fieldsToJSON(), DUNE::IMC::PH::fieldsToJSON(), DUNE::IMC::Redox::fieldsToJSON(), DUNE::IMC::CameraZoom::fieldsToJSON(), DUNE::IMC::SetThrusterActuation::fieldsToJSON(), DUNE::IMC::SetServoPosition::fieldsToJSON(), DUNE::IMC::SetControlSurfaceDeflection::fieldsToJSON(), DUNE::IMC::RemoteActionsRequest::fieldsToJSON(), DUNE::IMC::RemoteActions::fieldsToJSON(), DUNE::IMC::ButtonEvent::fieldsToJSON(), DUNE::IMC::LcdControl::fieldsToJSON(), DUNE::IMC::PowerOperation::fieldsToJSON(), DUNE::IMC::PowerChannelControl::fieldsToJSON(), DUNE::IMC::PowerChannelState::fieldsToJSON(), DUNE::IMC::LedBrightness::fieldsToJSON(), DUNE::IMC::QueryLedBrightness::fieldsToJSON(), DUNE::IMC::SetLedBrightness::fieldsToJSON(), DUNE::IMC::SetPWM::fieldsToJSON(), DUNE::IMC::PWM::fieldsToJSON(), DUNE::IMC::EstimatedStreamVelocity::fieldsToJSON(), DUNE::IMC::IndicatedSpeed::fieldsToJSON(), DUNE::IMC::TrueSpeed::fieldsToJSON(), DUNE::IMC::NavigationUncertainty::fieldsToJSON(), DUNE::IMC::NavigationData::fieldsToJSON(), DUNE::IMC::GpsFixRejection::fieldsToJSON(), DUNE::IMC::LblRangeAcceptance::fieldsToJSON(), DUNE::IMC::DvlRejection::fieldsToJSON(), DUNE::IMC::LblEstimate::fieldsToJSON(), DUNE::IMC::AlignmentState::fieldsToJSON(), DUNE::IMC::GroupStreamVelocity::fieldsToJSON(), DUNE::IMC::Airflow::fieldsToJSON(), DUNE::IMC::DesiredHeading::fieldsToJSON(), DUNE::IMC::DesiredZ::fieldsToJSON(), DUNE::IMC::DesiredSpeed::fieldsToJSON(), DUNE::IMC::DesiredRoll::fieldsToJSON(), DUNE::IMC::DesiredPitch::fieldsToJSON(), DUNE::IMC::DesiredVerticalRate::fieldsToJSON(), DUNE::IMC::DesiredPath::fieldsToJSON(), DUNE::IMC::DesiredControl::fieldsToJSON(), DUNE::IMC::DesiredHeadingRate::fieldsToJSON(), DUNE::IMC::DesiredVelocity::fieldsToJSON(), DUNE::IMC::PathControlState::fieldsToJSON(), DUNE::IMC::AllocatedControlTorques::fieldsToJSON(), DUNE::IMC::ControlParcel::fieldsToJSON(), DUNE::IMC::Brake::fieldsToJSON(), DUNE::IMC::DesiredLinearState::fieldsToJSON(), DUNE::IMC::DesiredThrottle::fieldsToJSON(), DUNE::IMC::Goto::fieldsToJSON(), DUNE::IMC::PopUp::fieldsToJSON(), DUNE::IMC::Teleoperation::fieldsToJSON(), DUNE::IMC::Loiter::fieldsToJSON(), DUNE::IMC::IdleManeuver::fieldsToJSON(), DUNE::IMC::LowLevelControl::fieldsToJSON(), DUNE::IMC::Rows::fieldsToJSON(), DUNE::IMC::PathPoint::fieldsToJSON(), DUNE::IMC::FollowPath::fieldsToJSON(), DUNE::IMC::YoYo::fieldsToJSON(), DUNE::IMC::StationKeeping::fieldsToJSON(), DUNE::IMC::Elevator::fieldsToJSON(), DUNE::IMC::TrajectoryPoint::fieldsToJSON(), DUNE::IMC::FollowTrajectory::fieldsToJSON(), DUNE::IMC::CustomManeuver::fieldsToJSON(), DUNE::IMC::VehicleFormationParticipant::fieldsToJSON(), DUNE::IMC::VehicleFormation::fieldsToJSON(), DUNE::IMC::RegisterManeuver::fieldsToJSON(), DUNE::IMC::ManeuverControlState::fieldsToJSON(), DUNE::IMC::FollowSystem::fieldsToJSON(), DUNE::IMC::CommsRelay::fieldsToJSON(), DUNE::IMC::PolygonVertex::fieldsToJSON(), DUNE::IMC::CoverArea::fieldsToJSON(), DUNE::IMC::CompassCalibration::fieldsToJSON(), DUNE::IMC::FormationParameters::fieldsToJSON(), DUNE::IMC::FormationPlanExecution::fieldsToJSON(), DUNE::IMC::FollowReference::fieldsToJSON(), DUNE::IMC::Reference::fieldsToJSON(), DUNE::IMC::FollowRefState::fieldsToJSON(), DUNE::IMC::RelativeState::fieldsToJSON(), DUNE::IMC::FormationMonitor::fieldsToJSON(), DUNE::IMC::Dislodge::fieldsToJSON(), DUNE::IMC::Formation::fieldsToJSON(), DUNE::IMC::Launch::fieldsToJSON(), DUNE::IMC::Drop::fieldsToJSON(), DUNE::IMC::ScheduledGoto::fieldsToJSON(), DUNE::IMC::RowsCoverage::fieldsToJSON(), DUNE::IMC::Sample::fieldsToJSON(), DUNE::IMC::Takeoff::fieldsToJSON(), DUNE::IMC::Land::fieldsToJSON(), DUNE::IMC::AutonomousSection::fieldsToJSON(), DUNE::IMC::FollowPoint::fieldsToJSON(), DUNE::IMC::Alignment::fieldsToJSON(), DUNE::IMC::StationKeepingExtended::fieldsToJSON(), DUNE::IMC::Magnetometer::fieldsToJSON(), DUNE::IMC::VehicleState::fieldsToJSON(), DUNE::IMC::VehicleCommand::fieldsToJSON(), DUNE::IMC::MonitorEntityState::fieldsToJSON(), DUNE::IMC::EntityMonitoringState::fieldsToJSON(), DUNE::IMC::OperationalLimits::fieldsToJSON(), DUNE::IMC::Calibration::fieldsToJSON(), DUNE::IMC::ControlLoops::fieldsToJSON(), DUNE::IMC::VehicleMedium::fieldsToJSON(), DUNE::IMC::Collision::fieldsToJSON(), DUNE::IMC::FormState::fieldsToJSON(), DUNE::IMC::AutopilotMode::fieldsToJSON(), DUNE::IMC::FormationState::fieldsToJSON(), DUNE::IMC::ReportControl::fieldsToJSON(), DUNE::IMC::StateReport::fieldsToJSON(), DUNE::IMC::TransmissionRequest::fieldsToJSON(), DUNE::IMC::TransmissionStatus::fieldsToJSON(), DUNE::IMC::SmsRequest::fieldsToJSON(), DUNE::IMC::SmsStatus::fieldsToJSON(), DUNE::IMC::VtolState::fieldsToJSON(), DUNE::IMC::ArmingState::fieldsToJSON(), DUNE::IMC::PlanVariable::fieldsToJSON(), DUNE::IMC::PlanManeuver::fieldsToJSON(), DUNE::IMC::PlanTransition::fieldsToJSON(), DUNE::IMC::PlanSpecification::fieldsToJSON(), DUNE::IMC::EmergencyControl::fieldsToJSON(), DUNE::IMC::EmergencyControlState::fieldsToJSON(), DUNE::IMC::PlanDB::fieldsToJSON(), DUNE::IMC::PlanDBInformation::fieldsToJSON(), DUNE::IMC::PlanDBState::fieldsToJSON(), DUNE::IMC::PlanControl::fieldsToJSON(), DUNE::IMC::PlanControlState::fieldsToJSON(), DUNE::IMC::PlanGeneration::fieldsToJSON(), DUNE::IMC::LeaderState::fieldsToJSON(), DUNE::IMC::PlanStatistics::fieldsToJSON(), DUNE::IMC::ReportedState::fieldsToJSON(), DUNE::IMC::RemoteSensorInfo::fieldsToJSON(), DUNE::IMC::MapPoint::fieldsToJSON(), DUNE::IMC::MapFeature::fieldsToJSON(), DUNE::IMC::Map::fieldsToJSON(), DUNE::IMC::CcuEvent::fieldsToJSON(), DUNE::IMC::VehicleLinks::fieldsToJSON(), DUNE::IMC::TrexObservation::fieldsToJSON(), DUNE::IMC::TrexCommand::fieldsToJSON(), DUNE::IMC::TrexAttribute::fieldsToJSON(), DUNE::IMC::TrexToken::fieldsToJSON(), DUNE::IMC::TrexOperation::fieldsToJSON(), DUNE::IMC::TrexPlan::fieldsToJSON(), DUNE::IMC::Event::fieldsToJSON(), DUNE::IMC::CompressedImage::fieldsToJSON(), DUNE::IMC::ImageTxSettings::fieldsToJSON(), DUNE::IMC::RemoteState::fieldsToJSON(), DUNE::IMC::Target::fieldsToJSON(), DUNE::IMC::EntityParameter::fieldsToJSON(), DUNE::IMC::EntityParameters::fieldsToJSON(), DUNE::IMC::QueryEntityParameters::fieldsToJSON(), DUNE::IMC::SetEntityParameters::fieldsToJSON(), DUNE::IMC::SaveEntityParameters::fieldsToJSON(), DUNE::IMC::CreateSession::fieldsToJSON(), DUNE::IMC::CloseSession::fieldsToJSON(), DUNE::IMC::SessionSubscription::fieldsToJSON(), DUNE::IMC::SessionKeepAlive::fieldsToJSON(), DUNE::IMC::SessionStatus::fieldsToJSON(), DUNE::IMC::PushEntityParameters::fieldsToJSON(), DUNE::IMC::PopEntityParameters::fieldsToJSON(), DUNE::IMC::IoEvent::fieldsToJSON(), DUNE::IMC::UamTxFrame::fieldsToJSON(), DUNE::IMC::UamRxFrame::fieldsToJSON(), DUNE::IMC::UamTxStatus::fieldsToJSON(), DUNE::IMC::UamRxRange::fieldsToJSON(), DUNE::IMC::FormCtrlParam::fieldsToJSON(), DUNE::IMC::FormationEval::fieldsToJSON(), DUNE::IMC::FormationControlParams::fieldsToJSON(), DUNE::IMC::FormationEvaluation::fieldsToJSON(), DUNE::IMC::SoiWaypoint::fieldsToJSON(), DUNE::IMC::SoiPlan::fieldsToJSON(), DUNE::IMC::SoiCommand::fieldsToJSON(), DUNE::IMC::SoiState::fieldsToJSON(), DUNE::IMC::MessagePart::fieldsToJSON(), DUNE::IMC::NeptusBlob::fieldsToJSON(), DUNE::IMC::UsblAngles::fieldsToJSON(), DUNE::IMC::UsblPosition::fieldsToJSON(), DUNE::IMC::UsblFix::fieldsToJSON(), DUNE::IMC::ParametersXml::fieldsToJSON(), DUNE::IMC::SetImageCoords::fieldsToJSON(), DUNE::IMC::GetImageCoords::fieldsToJSON(), DUNE::IMC::GetWorldCoordinates::fieldsToJSON(), DUNE::IMC::UsblAnglesExtended::fieldsToJSON(), DUNE::IMC::UsblPositionExtended::fieldsToJSON(), DUNE::IMC::UsblFixExtended::fieldsToJSON(), DUNE::IMC::UsblModem::fieldsToJSON(), DUNE::IMC::UsblConfig::fieldsToJSON(), DUNE::IMC::DissolvedOrganicMatter::fieldsToJSON(), DUNE::IMC::OpticalBackscatter::fieldsToJSON(), DUNE::IMC::Tachograph::fieldsToJSON(), DUNE::IMC::ApmStatus::fieldsToJSON(), DUNE::IMC::SadcReadings::fieldsToJSON(), DUNE::IMC::DmsDetection::fieldsToJSON(), DUNE::IMC::TotalMagIntensity::fieldsToJSON(), and DUNE::IMC::Message::toJSON().

template<>
void DUNE::IMC::toJSON ( std::ostream &  os,
const char *  label,
const int8_t &  value,
unsigned  nindent,
char  prefix 
)
inline

Convert an 8 bit signed integer type to a JSON string.

Parameters
[in]osoutput stream.
[in]labellabel.
[in]valuevalue.
[in]nindentnumber of indentation spaces.
[in]prefixprefix character.

References indentJSON().

template<>
void DUNE::IMC::toJSON ( std::ostream &  os,
const char *  label,
const uint8_t &  value,
unsigned  nindent,
char  prefix 
)
inline

Convert an 8 bit unsigned integer type to a JSON string.

Parameters
[in]osoutput stream.
[in]labellabel.
[in]valuevalue.
[in]nindentnumber of indentation spaces.
[in]prefixprefix character.

References indentJSON().

template<>
void DUNE::IMC::toJSON ( std::ostream &  os,
const char *  label,
const std::string &  value,
unsigned  nindent,
char  prefix 
)
inline

Convert a string to a JSON string.

Parameters
[in]osoutput stream.
[in]labellabel.
[in]valuevalue.
[in]nindentnumber of indentation spaces.
[in]prefixprefix character.

References DUNE::Utils::String::escape(), indentJSON(), and DUNE::Utils::String::replace().

template<>
void DUNE::IMC::toJSON ( std::ostream &  os,
const char *  label,
const std::vector< char > &  value,
unsigned  nindent,
char  prefix 
)
inline

Convert a character vector type to a JSON string.

Parameters
[in]osoutput stream.
[in]labellabel.
[in]valuevalue.
[in]nindentnumber of indentation spaces.
[in]prefixprefix character.

References indentJSON(), and DUNE::Utils::String::toHex().

Variable Documentation

class DUNE_DLL_SYM DUNE::IMC::AddressResolver
class DUNE_DLL_SYM DUNE::IMC::Bus
class DUNE_DLL_SYM DUNE::IMC::Factory
class DUNE_DLL_SYM DUNE::IMC::Message
class DUNE_DLL_SYM DUNE::IMC::Packet
class DUNE_DLL_SYM DUNE::IMC::Parser