Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
Online
Manage
Activity
Members
Labels
Plan
Issues
3
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LHCb
Online
Merge requests
!653
Start C++ DIM serving correctly
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Start C++ DIM serving correctly
satellite
into
master
Overview
0
Commits
2
Pipelines
0
Changes
11
Merged
Markus Frank
requested to merge
satellite
into
master
2 years ago
Overview
0
Commits
2
Pipelines
0
Changes
11
Expand
👍
0
👎
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
b2d5c888
2 commits,
2 years ago
11 files
+
894
−
411
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
11
Search (e.g. *.vue) (Ctrl+P)
Online/Dataflow/src/components/DataflowClass12.cpp
0 → 100644
+
100
−
0
Options
//==========================================================================
// LHCb Online software suite
//--------------------------------------------------------------------------
// Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
// All rights reserved.
//
// For the licensing terms see OnlineSys/LICENSE.
//
//--------------------------------------------------------------------------
// Receiver.cpp
//--------------------------------------------------------------------------
//
// Package : Dataflow
//
// Author : Markus Frank
//==========================================================================
/// Framework includes
#include
<Dataflow/DataflowTask.h>
/// Online namespace declaration
namespace
Online
{
/// Functor to print properties of a component
/**
* \author M.Frank
* \version 1.0
* \ingroup DD4HEP_SIMULATION
*/
class
DataflowClass12
:
public
DataflowTask
{
public:
/// Initializing constructor
using
DataflowTask
::
DataflowTask
;
/// Configure the instance (create components)
virtual
int
configure
()
override
;
/// Initialize the dataflow task instance.
virtual
int
initialize
()
override
;
/// Start the dataflow task instance.
virtual
int
start
()
override
;
/// Stop the dataflow task instance.
virtual
int
stop
()
override
;
/// Finalize the dataflow task instance.
virtual
int
finalize
()
override
;
/// Terminate the dataflow task instance.
virtual
int
terminate
()
override
;
};
}
// end namespace Online
/// Configure the instance (create components)
int
Online
::
DataflowClass12
::
configure
()
{
int
ret
=
app_configure
();
if
(
ret
==
DF_SUCCESS
)
{
return
DataflowTask
::
configure
();
}
return
failed
();
}
/// Initialize the dataflow task instance.
int
Online
::
DataflowClass12
::
initialize
()
{
int
ret
=
app_initialize
();
if
(
ret
!=
DF_SUCCESS
)
{
return
failed
();
}
ret
=
app_start
();
if
(
ret
!=
DF_SUCCESS
)
{
return
failed
();
}
return
DataflowTask
::
initialize
();
}
/// Start the dataflow task instance.
int
Online
::
DataflowClass12
::
start
()
{
return
DataflowTask
::
start
();
}
/// Stop the dataflow task instance.
int
Online
::
DataflowClass12
::
stop
()
{
return
DataflowTask
::
stop
();
}
/// Finalize the dataflow task instance.
int
Online
::
DataflowClass12
::
finalize
()
{
int
ret
=
app_stop
();
if
(
ret
==
DF_SUCCESS
)
{
}
ret
=
app_finalize
();
if
(
ret
==
DF_SUCCESS
)
{
return
DataflowTask
::
finalize
();
}
return
failed
();
}
/// Terminate the dataflow task instance.
int
Online
::
DataflowClass12
::
terminate
()
{
app_terminate
();
return
DataflowTask
::
terminate
();
}
#include
"Dataflow/Plugins.h"
DECLARE_DATAFLOW_NAMED_COMPONENT_NS
(
Online
,
Dataflow_Class12
,
DataflowClass12
)
Loading