|
WSF
|
#include <WsfDisExchange.hpp>
Public Member Functions | |
| WsfDisExchange () | |
| ~WsfDisExchange () | |
| bool | Initialize (WsfDisInterface *aDisInterfacePtr) |
| void | ExchangeQueried (double aSimTime, const WsfExchange::Query &aQuery) |
Static Public Member Functions | |
| static bool | DebugEnabled () |
| static bool | ProcessInput (UtInput &aInput) |
A helper class for platform-to-platform suppling or receiving of a commodity or service across a DIS connection. This was previously placed in WsfDisInterface, but now has been broken out into a separate object to keep from further cluttering WsfDisInterface.
| WsfDisExchange::WsfDisExchange | ( | ) |
| WsfDisExchange::~WsfDisExchange | ( | ) |
|
inlinestatic |
| void WsfDisExchange::ExchangeQueried | ( | double | aSimTime, |
| const WsfExchange::Query & | aQuery ) |
References WsfExchange::Result::cCANCELLED_REJECTED, WsfExchange::Result::cPENDING, WsfExchange::Query::DesiredQuantity(), WsfExchange::Query::DesiredRate(), WsfExchange::Query::EventId(), WsfDisPlatform::GetQueryPtr(), WsfDisUtil::GetSimulation(), WsfExchange::Query::IsDone(), WsfExchange::Query::IsService(), WsfExchange::Query::ItemId(), WsfExchange::Query::OfferedQuantity(), ok, WsfExchange::Query::OwningIndex(), WsfExchange::Query::RequestId(), WsfExchange::Query::RequestingIndex(), WsfExchange::Query::RespondingIndex(), WsfDisPlatform::SetQueryPtr(), WsfExchange::Query::SetResult(), WsfExchange::sEVENT_ACCEPTED, WsfExchange::sEVENT_CANCELLED, WsfExchange::sEVENT_OFFERED, WsfExchange::sEVENT_OFFEROR_COMPLETED, WsfExchange::sEVENT_REQUESTED, WsfExchange::sEVENT_REQUESTOR_RESPONDED, WsfExchange::sEVENT_SUPPLIED, WsfDisExt::ToDis(), and WsfDisUtil::WsfToDisPlayers().
Referenced by Initialize().
| bool WsfDisExchange::Initialize | ( | WsfDisInterface * | aDisInterfacePtr | ) |
References ExchangeQueried(), and WsfObserver::ExchangeQueried().
|
static |
Referenced by WsfDisInput::ProcessBlockInput().