ifw-ccf 5.0.2
|
Used to implement CCF Control client applications. More...
#include <dcsClient.hpp>
Public Member Functions | |
DcsClient () | |
DcsClient (const std::string &service_uri) | |
Instantiate the DCS Client, providing the reference to the associated CCF Control instance. | |
~DcsClient () | |
std::string | GenHelp (const std::string &application) |
Generate the help page as a string buffer. | |
std::string | GetInterfaceForRequest (const std::string &request) |
Return the interface, in which the given request is defined. | |
std::string | SendReq (const std::string &request, const ifw::core::utils::param::ParameterSet ¶meters) |
Send the request to the associated CCF Control instance. | |
virtual std::string | SendReqUser (const std::string &request, const ifw::core::utils::param::ParameterSet ¶meters) |
Method to actually send the request and receive the response. | |
std::string | SendReq (const std::string &request, const std::string ¶meters) |
Send parameters provided in serialised format in a buffer or in a file to which there is referenced. | |
std::string | ExecuteShellCmd (int argc, char **argv) |
Parse the command line options given and send the request/receive the response. | |
![]() | |
Base () | |
~Base () | |
const std::string & | GetClassName () const |
Return the allocated name of the class. | |
Static Public Member Functions | |
static std::string | RecStatusToString (const std::shared_ptr< recif::RecStatus > &rec_status) |
Convert Recording Status number to string representaiton. | |
static std::string | RecWaitStatusToString (const std::shared_ptr< recif::RecWaitStatus > &rec_wait_status) |
Convert Recording Status string to number representaiton. | |
![]() | |
static ifw::ccf::mptk::Manager & | Mptk () |
Return reference to internal MPTK instance (singleton). | |
Public Attributes | |
const std::map< std::string, std::vector< std::string > > | itf_to_req_map |
Additional Inherited Members | |
![]() | |
void | SetClassName (const std::string &class_name) |
Set the name of the class in question. | |
Used to implement CCF Control client applications.
ifw::ccf::common::DcsClient::DcsClient | ( | ) |
ifw::ccf::common::DcsClient::DcsClient | ( | const std::string & | service_uri | ) |
Instantiate the DCS Client, providing the reference to the associated CCF Control instance.
ifw::ccf::common::DcsClient::~DcsClient | ( | ) |
std::string ifw::ccf::common::DcsClient::ExecuteShellCmd | ( | int | argc, |
char ** | argv ) |
Parse the command line options given and send the request/receive the response.
std::string ifw::ccf::common::DcsClient::GenHelp | ( | const std::string & | application | ) |
Generate the help page as a string buffer.
std::string ifw::ccf::common::DcsClient::GetInterfaceForRequest | ( | const std::string & | request | ) |
Return the interface, in which the given request is defined.
|
static |
Convert Recording Status number to string representaiton.
|
static |
Convert Recording Status string to number representaiton.
std::string ifw::ccf::common::DcsClient::SendReq | ( | const std::string & | request, |
const ifw::core::utils::param::ParameterSet & | parameters ) |
Send the request to the associated CCF Control instance.
std::string ifw::ccf::common::DcsClient::SendReq | ( | const std::string & | request, |
const std::string & | parameters ) |
Send parameters provided in serialised format in a buffer or in a file to which there is referenced.
|
virtual |
Method to actually send the request and receive the response.
Reimplemented in ifw::ccf::common::test::DcsClientTest.
const std::map<std::string, std::vector<std::string> > ifw::ccf::common::DcsClient::itf_to_req_map |