DUNE: Uniform Navigational Environment  2.4.1
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  EntityControl
 
class  CpuUsage
 
class  TransportBindings
 
class  RestartSystem
 
class  Parameter
 
class  ParameterControl
 
class  DevCalibrationControl
 
class  DevCalibrationState
 
class  EntityActivationState
 
class  QueryEntityActivationState
 
class  VehicleOperationalLimits
 
class  SimulatedState
 
class  LeakSimulation
 
class  UASimulation
 
class  DynamicsSimParam
 
class  StorageUsage
 
class  CacheControl
 
class  LoggingControl
 
class  LogBookEntry
 
class  LogBookControl
 
class  ReplayControl
 
class  ClockControl
 
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  LblRange
 
class  LblDetection
 
class  LblBeacon
 
class  LblConfig
 
class  AcousticRange
 
class  AcousticRangeReply
 
class  AcousticMessage
 
class  AcousticDiagnostic
 
class  AcousticNoise
 
class  AcousticPing
 
class  AcousticPingReply
 
class  AcousticOperation
 
class  AcousticSystemsQuery
 
class  AcousticSystems
 
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  SonarConfig
 
class  SonarData
 
class  Pulse
 
class  PulseDetectionControl
 
class  FuelLevel
 
class  GpsNavData
 
class  ServoPosition
 
class  DataSanity
 
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  EstimatedState
 
class  EstimatedStreamVelocity
 
class  IndicatedSpeed
 
class  TrueSpeed
 
class  NavigationUncertainty
 
class  NavigationData
 
class  GpsFixRejection
 
class  LblRangeAcceptance
 
class  DvlRejection
 
class  NavigationReset
 
class  LblEstimate
 
class  AlignmentState
 
class  GroupStreamVelocity
 
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  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  VehicleState
 
class  VehicleCommand
 
class  MonitorEntityState
 
class  EntityMonitoringState
 
class  OperationalLimits
 
class  GetOperationalLimits
 
class  Calibration
 
class  ControlLoops
 
class  VehicleMedium
 
class  Collision
 
class  FormState
 
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  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  VideoData
 
class  RawImage
 
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  AbortAcked
 
class  FormCtrlParam
 
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  GenericIridiumMessage
 
class  DeviceUpdate
 
class  ActivateSpotSubscription
 
class  DeactivateSpotSubscription
 
class  IridiumCommand
 
class  Message
 
class  MessageList
 
class  Packet
 
class  Parser
 
class  Maneuver
 
class  ControlCommand
 
class  Payload
 

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_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 }
 

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_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.

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.

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::IMC::GenericIridiumMessage::deserialize(), DUNE::IMC::DeviceUpdate::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::EntityControl::deserializeFields(), DUNE::IMC::CpuUsage::deserializeFields(), DUNE::IMC::TransportBindings::deserializeFields(), DUNE::IMC::Parameter::deserializeFields(), DUNE::IMC::ParameterControl::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::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::LblRange::deserializeFields(), DUNE::IMC::LblDetection::deserializeFields(), DUNE::IMC::LblBeacon::deserializeFields(), DUNE::IMC::LblConfig::deserializeFields(), DUNE::IMC::AcousticRange::deserializeFields(), DUNE::IMC::AcousticRangeReply::deserializeFields(), DUNE::IMC::AcousticDiagnostic::deserializeFields(), DUNE::IMC::AcousticNoise::deserializeFields(), DUNE::IMC::AcousticOperation::deserializeFields(), DUNE::IMC::AcousticSystems::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::SonarConfig::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::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::EstimatedState::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::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::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::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::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::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::VideoData::deserializeFields(), DUNE::IMC::RawImage::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::EntityState::reverseDeserializeFields(), DUNE::IMC::EntityInfo::reverseDeserializeFields(), DUNE::IMC::QueryEntityInfo::reverseDeserializeFields(), DUNE::IMC::EntityList::reverseDeserializeFields(), DUNE::IMC::EntityControl::reverseDeserializeFields(), DUNE::IMC::CpuUsage::reverseDeserializeFields(), DUNE::IMC::ParameterControl::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::Announce::reverseDeserializeFields(), DUNE::IMC::AnnounceService::reverseDeserializeFields(), DUNE::IMC::SmsState::reverseDeserializeFields(), DUNE::IMC::IridiumTxStatus::reverseDeserializeFields(), DUNE::IMC::SystemGroup::reverseDeserializeFields(), DUNE::IMC::LblRange::reverseDeserializeFields(), DUNE::IMC::LblDetection::reverseDeserializeFields(), DUNE::IMC::LblBeacon::reverseDeserializeFields(), DUNE::IMC::LblConfig::reverseDeserializeFields(), DUNE::IMC::AcousticRange::reverseDeserializeFields(), DUNE::IMC::AcousticRangeReply::reverseDeserializeFields(), DUNE::IMC::AcousticDiagnostic::reverseDeserializeFields(), DUNE::IMC::AcousticNoise::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::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::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::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::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::ReportedState::reverseDeserializeFields(), DUNE::IMC::MapFeature::reverseDeserializeFields(), DUNE::IMC::CcuEvent::reverseDeserializeFields(), DUNE::IMC::TrexCommand::reverseDeserializeFields(), DUNE::IMC::TrexAttribute::reverseDeserializeFields(), DUNE::IMC::TrexOperation::reverseDeserializeFields(), DUNE::IMC::VideoData::reverseDeserializeFields(), DUNE::IMC::RawImage::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(), and DUNE::IMC::FormCtrlParam::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::Parameter::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::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::LblBeacon::getVariableSerializationSize(), DUNE::IMC::AcousticOperation::getVariableSerializationSize(), DUNE::IMC::AcousticSystems::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::VehicleState::getVariableSerializationSize(), DUNE::IMC::VehicleCommand::getVariableSerializationSize(), DUNE::IMC::MonitorEntityState::getVariableSerializationSize(), DUNE::IMC::EntityMonitoringState::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::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::VideoData::getVariableSerializationSize(), DUNE::IMC::RawImage::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(), and DUNE::IMC::UamRxRange::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::ControlCommand >::toJSON(), and DUNE::IMC::MessageList< DUNE::IMC::PathPoint >::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::Parameter::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::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::LblRange::reverseDeserializeFields(), DUNE::IMC::LblDetection::reverseDeserializeFields(), DUNE::IMC::LblBeacon::reverseDeserializeFields(), DUNE::IMC::AcousticRangeReply::reverseDeserializeFields(), DUNE::IMC::AcousticOperation::reverseDeserializeFields(), DUNE::IMC::AcousticSystems::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::SonarConfig::reverseDeserializeFields(), DUNE::IMC::SonarData::reverseDeserializeFields(), DUNE::IMC::FuelLevel::reverseDeserializeFields(), DUNE::IMC::GpsNavData::reverseDeserializeFields(), DUNE::IMC::ServoPosition::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::EstimatedState::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::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::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::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::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::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::VideoData::reverseDeserializeFields(), DUNE::IMC::RawImage::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(), and DUNE::IMC::FormCtrlParam::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::IMC::Packet::serialize(), DUNE::IMC::GenericIridiumMessage::serialize(), DUNE::IMC::DeviceUpdate::serialize(), DUNE::IMC::ActivateSpotSubscription::serialize(), DUNE::IMC::DeactivateSpotSubscription::serialize(), DUNE::IMC::IridiumCommand::serialize(), DUNE::IMC::InlineMessage< DUNE::IMC::ControlCommand >::serialize(), DUNE::IMC::MessageList< DUNE::IMC::PathPoint >::serialize(), DUNE::IMC::EntityState::serializeFields(), DUNE::IMC::EntityInfo::serializeFields(), DUNE::IMC::QueryEntityInfo::serializeFields(), DUNE::IMC::EntityList::serializeFields(), DUNE::IMC::EntityControl::serializeFields(), DUNE::IMC::CpuUsage::serializeFields(), DUNE::IMC::TransportBindings::serializeFields(), DUNE::IMC::Parameter::serializeFields(), DUNE::IMC::ParameterControl::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::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::LblRange::serializeFields(), DUNE::IMC::LblDetection::serializeFields(), DUNE::IMC::LblBeacon::serializeFields(), DUNE::IMC::LblConfig::serializeFields(), DUNE::IMC::AcousticRange::serializeFields(), DUNE::IMC::AcousticRangeReply::serializeFields(), DUNE::IMC::AcousticDiagnostic::serializeFields(), DUNE::IMC::AcousticNoise::serializeFields(), DUNE::IMC::AcousticOperation::serializeFields(), DUNE::IMC::AcousticSystems::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::SonarConfig::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::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::EstimatedState::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::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::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::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::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::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::VideoData::serializeFields(), DUNE::IMC::RawImage::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(), 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::EntityControl::fieldsToJSON(), DUNE::IMC::CpuUsage::fieldsToJSON(), DUNE::IMC::TransportBindings::fieldsToJSON(), DUNE::IMC::Parameter::fieldsToJSON(), DUNE::IMC::ParameterControl::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::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::LblRange::fieldsToJSON(), DUNE::IMC::LblDetection::fieldsToJSON(), DUNE::IMC::LblBeacon::fieldsToJSON(), DUNE::IMC::LblConfig::fieldsToJSON(), DUNE::IMC::AcousticRange::fieldsToJSON(), DUNE::IMC::AcousticRangeReply::fieldsToJSON(), DUNE::IMC::AcousticDiagnostic::fieldsToJSON(), DUNE::IMC::AcousticNoise::fieldsToJSON(), DUNE::IMC::AcousticOperation::fieldsToJSON(), DUNE::IMC::AcousticSystems::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::SonarConfig::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::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::EstimatedState::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::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::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::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::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::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::VideoData::fieldsToJSON(), DUNE::IMC::RawImage::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(), 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 indentJSON().

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