|
ifw-ccf 5.0.2
|
Record Wait Request class, allocated when a client submits a RecWait Request. More...
#include <recWaitRequest.hpp>
Public Member Functions | |
| RecWaitRequest (const std::string &rec_id, rad::cii::Request< std::shared_ptr< recif::RecWaitStatus >, std::shared_ptr< recif::RecWaitSpec > > *rec_req) | |
| Constructor registering the Record ID and reference to the RecWait Request handle to be able to send the response. | |
| virtual | ~RecWaitRequest () |
| rad::cii::Request< std::shared_ptr< recif::RecWaitStatus >, std::shared_ptr< recif::RecWaitSpec > > & | GetReq () |
| Return reference to the RecWait Request handle used to send the response. | |
| double | GetReqTime () const |
| Get the time for when the RecWait Request was received. Used to handle the timeout specified for the request. | |
| std::string | GetRecId () const |
| Return the Recording ID of the associated Recording Session. | |
| void | SetResponseSent () |
| Set flag indicating that a response to the associated RecWait Request has been sent. | |
| bool | GetResponseSent () const |
| Return true if a response to the associated RecWait Request has been sent. | |
| double | GetResponseSentTime () const |
| Get the time for sending the response. | |
Record Wait Request class, allocated when a client submits a RecWait Request.
The class is used to handle RecWait Requests submitted during a Recording Session.
| ifw::ccf::control::RecWaitRequest::RecWaitRequest | ( | const std::string & | rec_id, |
| rad::cii::Request< std::shared_ptr< recif::RecWaitStatus >, std::shared_ptr< recif::RecWaitSpec > > * | rec_req ) |
Constructor registering the Record ID and reference to the RecWait Request handle to be able to send the response.
|
virtual |
| std::string ifw::ccf::control::RecWaitRequest::GetRecId | ( | ) | const |
Return the Recording ID of the associated Recording Session.
| rad::cii::Request< std::shared_ptr< recif::RecWaitStatus >, std::shared_ptr< recif::RecWaitSpec > > & ifw::ccf::control::RecWaitRequest::GetReq | ( | ) |
Return reference to the RecWait Request handle used to send the response.
| double ifw::ccf::control::RecWaitRequest::GetReqTime | ( | ) | const |
Get the time for when the RecWait Request was received. Used to handle the timeout specified for the request.
| bool ifw::ccf::control::RecWaitRequest::GetResponseSent | ( | ) | const |
Return true if a response to the associated RecWait Request has been sent.
| double ifw::ccf::control::RecWaitRequest::GetResponseSentTime | ( | ) | const |
Get the time for sending the response.
| void ifw::ccf::control::RecWaitRequest::SetResponseSent | ( | ) |
Set flag indicating that a response to the associated RecWait Request has been sent.