Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
1978e2d4
Commit
1978e2d4
authored
Aug 23, 2019
by
Simon Spannagel
Browse files
Rename function getAll -> get_all on Clipboard
parent
27911e46
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/core/clipboard/Clipboard.cpp
View file @
1978e2d4
...
...
@@ -61,7 +61,7 @@ void Clipboard::clear() {
m_event
.
reset
();
}
std
::
vector
<
std
::
string
>
Clipboard
::
list
C
ollections
()
const
{
std
::
vector
<
std
::
string
>
Clipboard
::
list
_c
ollections
()
const
{
std
::
vector
<
std
::
string
>
collections
;
for
(
const
auto
&
block
:
m_data
)
{
...
...
@@ -77,6 +77,6 @@ std::vector<std::string> Clipboard::listCollections() const {
return
collections
;
}
const
ClipboardData
&
Clipboard
::
get
A
ll
()
const
{
const
ClipboardData
&
Clipboard
::
get
_a
ll
()
const
{
return
m_data
;
}
src/core/clipboard/Clipboard.hpp
View file @
1978e2d4
...
...
@@ -112,13 +112,13 @@ namespace corryvreckan {
* @brief Get a list of currently held collections on the clipboard event storage
* @return Vector of collections names currently stored on the clipboard
*/
std
::
vector
<
std
::
string
>
list
C
ollections
()
const
;
std
::
vector
<
std
::
string
>
list
_c
ollections
()
const
;
/**
* @brief Retrieve all currently stored clipboard data
* @return All clipboard data
*/
const
ClipboardData
&
get
A
ll
()
const
;
const
ClipboardData
&
get
_a
ll
()
const
;
private:
// Container for data, list of all data held
...
...
src/modules/EventLoaderEUDAQ2/EventLoaderEUDAQ2.cpp
View file @
1978e2d4
...
...
@@ -364,7 +364,7 @@ std::shared_ptr<Pixels> EventLoaderEUDAQ2::get_pixel_data(std::shared_ptr<eudaq:
StatusCode
EventLoaderEUDAQ2
::
run
(
std
::
shared_ptr
<
Clipboard
>
clipboard
)
{
std
::
shared
_ptr
<
Pixels
>
pixels
;
auto
pixels
=
std
::
make_
shared
<
Pixels
>
()
;
EventPosition
current_position
=
EventPosition
::
UNKNOWN
;
while
(
1
)
{
...
...
src/modules/ROOTObjectWriter/ROOTObjectWriter.cpp
View file @
1978e2d4
...
...
@@ -58,7 +58,7 @@ void ROOTObjectWriter::initialise() {
StatusCode
ROOTObjectWriter
::
run
(
std
::
shared_ptr
<
Clipboard
>
clipboard
)
{
auto
data
=
clipboard
->
get
A
ll
();
auto
data
=
clipboard
->
get
_a
ll
();
LOG
(
DEBUG
)
<<
"Clipboard has "
<<
data
.
size
()
<<
" different object types."
;
for
(
auto
&
block
:
data
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment