Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
77bdb090
Commit
77bdb090
authored
Sep 05, 2019
by
Simon Spannagel
Browse files
Clipboard: update doxygen docu
parent
9c28e473
Pipeline
#1077985
passed with stages
in 15 minutes and 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/core/clipboard/Clipboard.hpp
View file @
77bdb090
...
...
@@ -46,18 +46,15 @@ namespace corryvreckan {
virtual
~
Clipboard
()
{}
/**
* @brief Add object to the clipboard
* @param name Name of the collection to be stored
* @param type Type of the object collection to be stored
* @param Objects vector of Objects to store
* @brief Method to add a vector of objects to the clipboard
* @param objects Shared pointer to vector of objects to be stored
* @param key Identifying key for this set of objects. Defaults to empty key
*/
template
<
typename
T
>
void
put
(
std
::
shared_ptr
<
std
::
vector
<
T
*>>
objects
,
const
std
::
string
&
key
=
""
);
/**
* @brief Retrieve objects from the clipboard
* @param name Name of the object collection to fetch
* @param type Type of objects to be retrieved
* @return Vector of Object pointers
* @brief Method to retrieve objects from the clipboard
* @param key Identifying key of objects to be fetched. Defaults to empty key
*/
template
<
typename
T
>
std
::
shared_ptr
<
std
::
vector
<
T
*>>
get
(
const
std
::
string
&
key
=
""
)
const
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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