DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
SchemaCustomMethodImplementationModel.cpp
Go to the documentation of this file.
2
3using namespace dunedaq::oks;
4
6 QStringList Headers )
7 : CustomModelInterface ( Headers ),
8 SchemaMethod ( Method )
9{
10 setupModel();
11}
12
14{
15 Data.clear();
16 const std::list<OksMethodImplementation *> * ImplementationList =
17 SchemaMethod->implementations();
18
19 if ( ImplementationList )
20 {
21 for ( OksMethodImplementation * Implementation : *ImplementationList )
22 {
23 QStringList Row;
24 Row.append ( QString::fromStdString ( Implementation->get_language() ) );
25 Row.append ( QString::fromStdString ( Implementation->get_prototype() ) );
26 Data.append ( Row );
27 }
28 }
29}
30
CustomMethodImplementationModel(dunedaq::oks::OksMethod *Method, QStringList Headers)
OKS method implementation class.
Definition method.hpp:35
OKS method class.
Definition method.hpp:153