|
WSF
|
#include <WsfTimeDelayQueue.hpp>

Public Member Functions | |
| Request (double aTimeRequired) | |
| virtual | ~Request ()=default |
| virtual bool | CompleteRequest (double aSimTime)=0 |
| double | TimeRequired () const |
| Get the amount of time needed to complete the request. | |
| void | SetTimeRequired (double aTimeRequired) |
| Set the amount of time needed to complete the request. | |
An abstract base class that represents a request to be performed. The caller must derive from this class and provide an implementation for CompleteRequest() to perform the actual work.
|
inline |
Construct a request.
| aTimeRequired | The time required to complete the request. |
Referenced by WsfMessageProcessor::DelayRequest::DelayRequest(), and WsfTrackStateController_EvaluateRequest::WsfTrackStateController_EvaluateRequest().
|
virtualdefault |
|
pure virtual |
Perform the actual processing associated with the request.
| aSimTime | The current simulation time. |
Implemented in WsfMessageProcessor::DelayRequest, and WsfTrackStateController_EvaluateRequest.
Referenced by WsfTimeDelayQueue::CompleteRequest().
|
inline |
Set the amount of time needed to complete the request.
Referenced by WsfTrackStateController_EvaluateRequest::CompleteRequest().
|
inline |
Get the amount of time needed to complete the request.
Referenced by WsfTimeDelayQueue::SubmitRequest().