5#ifndef CCF_CONTROL_REC_WAIT_REQ_HPP_
6#define CCF_CONTROL_REC_WAIT_REQ_HPP_
8#include <rad/mal/request.hpp>
24 rad::cii::Request<std::shared_ptr<recif::RecWaitStatus>,
25 std::shared_ptr<recif::RecWaitSpec>>* rec_req);
30 rad::cii::Request<std::shared_ptr<recif::RecWaitStatus>, std::shared_ptr<recif::RecWaitSpec>>&
GetReq();
50 rad::cii::Request<std::shared_ptr<recif::RecWaitStatus>, std::shared_ptr<recif::RecWaitSpec>>* m_rec_req;
52 double m_respone_time;
Record Wait Request class, allocated when a client submits a RecWait Request.
Definition recWaitRequest.hpp:19
void SetResponseSent()
Set flag indicating that a response to the associated RecWait Request has been sent.
Definition recWaitRequest.cpp:46
bool GetResponseSent() const
Return true if a response to the associated RecWait Request has been sent.
Definition recWaitRequest.cpp:52
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 ...
Definition recWaitRequest.cpp:11
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.
Definition recWaitRequest.cpp:31
virtual ~RecWaitRequest()
Definition recWaitRequest.cpp:23
double GetResponseSentTime() const
Get the time for sending the response.
Definition recWaitRequest.cpp:57
std::string GetRecId() const
Return the Recording ID of the associated Recording Session.
Definition recWaitRequest.cpp:41
double GetReqTime() const
Get the time for when the RecWait Request was received. Used to handle the timeout specified for the ...
Definition recWaitRequest.cpp:36
Definition acqThread.cpp:10