WSF
WsfL16 Namespace Reference

This file should be included prior to defining a message. Currently there is a limit of 32 fields per message. More...

Namespaces

namespace  Messages
namespace  IntervalUpdaterPrivate
namespace  NumericConversion
namespace  Detail

Classes

class  ComputerPart
class  ComputerPartTypes
class  ComputerProcessor
 Sends and receives link16 messages. More...
struct  InterfaceSetup
class  Interface
class  Interface_J11_Setup
class  Interface_J11
 WsfL16::Interface_J11 is an interface to DisSignal PDUs conveying J11 messages. More...
class  IntervalUpdater
class  JMessage
class  NetworkEnabledWeaponPart
class  PPLI_MessageProxy
 Allows access to PPLI message in a generic format. More...
class  PPLI_Part
class  ScriptedPart
class  ScriptedPartClass
 Define script methods for WsfProcessor. More...
class  SlotParameters
class  SurveillancePart
 SurveillancePart is responsible for sending tracks. More...
class  SystemStatusPart
class  TrackId
class  TrackList
class  TrackMessageProxy
class  WeaponsCoordinationPart
 This class is a stub for handling J9.X messages. More...

Functions

template<typename FN>
void MessageSpecialized (WsfL16::Messages::InitialBase &aMsg, FN aFunctor)
 UT_DEFINE_SCRIPT_METHOD (Link16ComputerClass, ComputerProcessor, Part, 1, "WsfTadilJProcessor", "string")
 UT_DEFINE_SCRIPT_METHOD (Link16ComputerClass, ComputerProcessor, DecimalSourceTrackNumber, 0, "int", "")
 UT_DEFINE_SCRIPT_METHOD (Link16ComputerClass, ComputerProcessor, OctalSourceTrackNumber, 0, "string", "")
 UT_DEFINE_SCRIPT_METHOD (ScriptedPartClass, ScriptedPart, SendJMessage, 1, "void", "WsfTadilJMessageI")

Detailed Description

This file should be included prior to defining a message. Currently there is a limit of 32 fields per message.

functions for packing and unpacking variable-sized integers into/out of a buffer

This file contains the base code to define fields. All of the common fields are defined in this file. Some fields which are only on a single message type are defined along with those messages.

Each of these fields is parameterized for a specific Link16 representation, including a specific size in bits. When possible, the fields have operator=() and conversion operator defined to allow conversion to and from standard WSF units (meters, seconds, etc...)

The Fields of the J-Messages are made without virtual functions so they only take up the minimal number of bytes. The classes here provide a way to access fields generically. This requires a 'hack' where we store the offset of a field from the beginning of the message so we can access that field later.

The following classes ensure the message is the correct size at COMPILE time. You will get a compile error if the message isn't the right size. In a good compiler (vc++8), it will give you a total message size, correct message size, and all of the separate fields which make up the message.

Function Documentation

◆ MessageSpecialized()

template<typename FN>
void WsfL16::MessageSpecialized ( WsfL16::Messages::InitialBase & aMsg,
FN aFunctor )
inline

◆ UT_DEFINE_SCRIPT_METHOD() [1/4]

WsfL16::UT_DEFINE_SCRIPT_METHOD ( Link16ComputerClass ,
ComputerProcessor ,
DecimalSourceTrackNumber ,
0 ,
"int" ,
""  )

◆ UT_DEFINE_SCRIPT_METHOD() [2/4]

WsfL16::UT_DEFINE_SCRIPT_METHOD ( Link16ComputerClass ,
ComputerProcessor ,
OctalSourceTrackNumber ,
0 ,
"string" ,
""  )

◆ UT_DEFINE_SCRIPT_METHOD() [3/4]

WsfL16::UT_DEFINE_SCRIPT_METHOD ( Link16ComputerClass ,
ComputerProcessor ,
Part ,
1 ,
"WsfTadilJProcessor" ,
"string"  )

◆ UT_DEFINE_SCRIPT_METHOD() [4/4]

WsfL16::UT_DEFINE_SCRIPT_METHOD ( ScriptedPartClass ,
ScriptedPart ,
SendJMessage ,
1 ,
"void" ,
"WsfTadilJMessageI"  )

References TIME_NOW.

Copyrights Multiple, All Rights Reserved