CbmRoot
Loading...
Searching...
No Matches
cbm::services::histserv_tester::Application Class Reference

#include <Application.h>

Collaboration diagram for cbm::services::histserv_tester::Application:
[legend]

Public Member Functions

 Application (ProgramOptions const &opt)
 Standard constructor, initialises the application.
 
 Application (const Application &)=delete
 Copy constructor forbidden.
 
 Application (Application &&)=delete
 Move constructor forbidden.
 
Applicationoperator= (const Application &)=delete
 Copy assignment operator forbidden.
 
Applicationoperator= (Application &&)=delete
 Move assignment operator forbidden.
 
 ~Application ()=default
 Destructor.
 
void Exec ()
 Run the application.
 

Private Attributes

ProgramOptions const & fOpt
 Program options object.
 
std::shared_ptr< cbm::algo::HistogramSenderfpSender = nullptr
 Interface.
 

Detailed Description

Definition at line 16 of file services/histserv/tester/Application.h.

Constructor & Destructor Documentation

◆ Application() [1/3]

Application::Application ( ProgramOptions const & opt)
explicit

Standard constructor, initialises the application.

Parameters
opt

Read options from executable

FIXME: SOMETHING_To_Replace_FairMQ!!!!!!!!!!!!! FIXME: Initialize communication channels of SOMETHING_To_Replace_FairMQ FIXME: Link channel to method in order to process received messages

Definition at line 36 of file services/histserv/tester/Application.cxx.

References cbm::services::histserv_tester::ProgramOptions::ComChan(), fOpt, fpSender, and cbm::services::histserv_tester::ProgramOptions::Runtime().

◆ Application() [2/3]

cbm::services::histserv_tester::Application::Application ( const Application & )
delete

Copy constructor forbidden.

◆ Application() [3/3]

cbm::services::histserv_tester::Application::Application ( Application && )
delete

Move constructor forbidden.

◆ ~Application()

cbm::services::histserv_tester::Application::~Application ( )
default

Destructor.

Member Function Documentation

◆ Exec()

void cbm::services::histserv_tester::Application::Exec ( )

Run the application.

Initial emission, including generation and serialization of configs => Try to evaluate "time cost" of the histo transmission, including serialization

No general references as member/variable bec. simple example, use directly hardcoded vector "array access"

No general references as member/variable bec. simple example, use directly hardcoded vector "array access"

Try to evaluate "time cost" of the histo transmission, including serialization

=> Histograms serialization and emission

No general references as member/variable bec. simple example, use directly hardcoded vector "array access"

Final publications

=> Histograms serialization and emission

Definition at line 54 of file services/histserv/tester/Application.cxx.

References fOpt, fpSender, cbm::services::histserv_tester::ProgramOptions::PubInterval(), and cbm::services::histserv_tester::ProgramOptions::Runtime().

◆ operator=() [1/2]

Application & cbm::services::histserv_tester::Application::operator= ( Application && )
delete

Move assignment operator forbidden.

◆ operator=() [2/2]

Application & cbm::services::histserv_tester::Application::operator= ( const Application & )
delete

Copy assignment operator forbidden.

Member Data Documentation

◆ fOpt

ProgramOptions const& cbm::services::histserv_tester::Application::fOpt
private

Program options object.

Definition at line 42 of file services/histserv/tester/Application.h.

Referenced by Application(), and Exec().

◆ fpSender

std::shared_ptr<cbm::algo::HistogramSender> cbm::services::histserv_tester::Application::fpSender = nullptr
private

Interface.

Definition at line 45 of file services/histserv/tester/Application.h.

Referenced by Application(), and Exec().


The documentation for this class was generated from the following files: