|
WSF
|
This class is a stub for handling J9.X messages. More...
#include <WeaponsCoordinationPart.hpp>


Public Member Functions | |
| WeaponsCoordinationPart (WsfScenario &aScenario) | |
| WeaponsCoordinationPart (const WeaponsCoordinationPart &aSrc) | |
| ComputerPart * | Clone () const override |
| bool | ProcessInput (UtInput &aInput) override |
| bool | Initialize (double aSimTime, ComputerProcessor &aComputer) override |
| void | HandleReceive (double aSimTime, const Messages::InitialBase &aMessage) override |
| Handle an incoming message. | |
| void | HandleSend (double aSimTime) override |
| This method is called when the a slot is open. | |
| Public Member Functions inherited from WsfL16::ComputerPart | |
| ComputerPart (WsfScenario &aScenario, const std::string &aClassName="WsfProcessor") | |
| ComputerPart (const ComputerPart &aSrc) | |
| ~ComputerPart () override | |
| void | SendJMessage (double aSimTime, Messages::InitialBase *aMessage) |
| virtual bool | IsNetworkEnabled () |
| void | SetDebug (bool aDebugOn) |
| bool | Debug () |
| void | SetPlatform (WsfPlatform *aPlatformPtr) |
| WsfCommandChain * | GetCommandChain () const |
| ComputerProcessor * | GetComputer () |
| WsfPlatform * | GetPlatform () |
| WsfSimulation * | GetSimulation () |
| const SlotParameters & | GetSlotParameters () const |
| int | DebugMore () |
| void | SetSendInterval (double aValue) |
| Public Member Functions inherited from WsfObject | |
| WsfObject () | |
| This is the constructor for the WsfObject class. | |
| ~WsfObject () override | |
| This is the destructor for the WsfObject class. | |
| const char * | GetScriptClassName () const override |
| const std::string & | GetType () const |
| WsfStringId | GetTypeId () const |
| Get the string ID of the 'type' of the object. | |
| void | SetType (WsfStringId aType) |
| const std::string & | GetBaseType () const |
| WsfStringId | GetBaseTypeId () const |
| const TypeList & | GetTypeList () const |
| bool | IsA_TypeOf (WsfStringId aType) const |
| WsfObject & | operator= (const WsfObject &aRhs) |
| Assignment operator. | |
| template<typename T> | |
| void | Serialize (T &aBuff) |
| For XIO (de)serialization. | |
| const std::string & | GetName () const |
| WsfStringId | GetNameId () const |
| void | SetName (WsfStringId aName) |
Additional Inherited Members | |
| Public Types inherited from WsfObject | |
| typedef std::vector< WsfStringId > | TypeList |
| The list of types returned by GetTypeList. | |
| Protected Types inherited from WsfL16::ComputerPart | |
| typedef std::map< int, ScriptData > | ScriptMap |
| Protected Member Functions inherited from WsfL16::ComputerPart | |
| double | ProcessSendInterval (UtInput &aInput) const |
| double | GetSendInterval () |
| WsfObject (const WsfObject &aSrc) | |
| Copy constructor (for Clone()). | |
| Protected Attributes inherited from WsfL16::ComputerPart | |
| IntervalUpdater | mSendInterval |
| int | mDebugMore |
| UtCallbackHolder | mCallbacks |
| SlotParameters | mSlotParameters |
| WsfScriptContext * | mContextPtr |
| ScriptMap | mSendScripts |
This class is a stub for handling J9.X messages.
| WsfL16::WeaponsCoordinationPart::WeaponsCoordinationPart | ( | WsfScenario & | aScenario | ) |
References WsfL16::ComputerPart::ComputerPart(), and WsfL16::ComputerPart::mSendInterval.
Referenced by Clone(), and WeaponsCoordinationPart().
| WsfL16::WeaponsCoordinationPart::WeaponsCoordinationPart | ( | const WeaponsCoordinationPart & | aSrc | ) |
References WsfL16::ComputerPart::ComputerPart(), and WeaponsCoordinationPart().
|
overridevirtual |
Return a copy of this object. Must be implemented by all derived types. If cloning is impossible, a WsfUncloneableException should be thrown.
Implements WsfL16::ComputerPart.
References WsfL16::ComputerPart::ComputerPart(), and WeaponsCoordinationPart().
|
overridevirtual |
Handle an incoming message.
Implements WsfL16::ComputerPart.
References WsfL16::ComputerPart::GetComputer().
|
overridevirtual |
This method is called when the a slot is open.
Reimplemented from WsfL16::ComputerPart.
|
overridevirtual |
Reimplemented from WsfL16::ComputerPart.
References WsfL16::ComputerPart::Initialize(), and ok.
|
overridevirtual |
Process input from a generic source.
Examine the current input command. If it is NOT one of the commands recognized by this class then it simply returns 'false'. If it is one of the commands recognized by this class then it processes the command and returns 'true'.
| aInput | a reference to a UtInput object. |
| UtInput::ExceptionBase | (or an object derived from it) if the command was recognized but contains some sort of error. |
Reimplemented from WsfL16::ComputerPart.
References WsfL16::ComputerPart::ProcessInput().