Skip to content
Snippets Groups Projects
Commit bc284a97 authored by Martin Christoph Hierholzer's avatar Martin Christoph Hierholzer
Browse files

changed formatting

parent 6decf3d3
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,10 @@ class TimerDummy : public ChimeraTK::DeviceBackendImpl {
template<typename UserType>
boost::shared_ptr<ChimeraTK::NDRegisterAccessor<UserType>> getRegisterAccessor_impl(
const ChimeraTK::RegisterPath& registerPathName, size_t, size_t, ChimeraTK::AccessModeFlags flags);
const ChimeraTK::RegisterPath& registerPathName,
size_t,
size_t,
ChimeraTK::AccessModeFlags flags);
DEFINE_VIRTUAL_FUNCTION_TEMPLATE_VTABLE_FILLER(TimerDummy, getRegisterAccessor_impl, 4);
void open() override {}
......@@ -95,7 +98,10 @@ void TimerDummyRegisterAccessor<std::string>::doPostRead() {}
template<typename UserType>
boost::shared_ptr<ChimeraTK::NDRegisterAccessor<UserType>> TimerDummy::getRegisterAccessor_impl(
const ChimeraTK::RegisterPath& registerPathName, size_t, size_t, ChimeraTK::AccessModeFlags flags) {
const ChimeraTK::RegisterPath& registerPathName,
size_t,
size_t,
ChimeraTK::AccessModeFlags flags) {
assert(registerPathName == "/macropulseNr");
assert(flags.has(ChimeraTK::AccessMode::wait_for_new_data));
flags.checkForUnknownFlags({ChimeraTK::AccessMode::wait_for_new_data});
......
......@@ -19,8 +19,9 @@ namespace ChimeraTK {
/*********************************************************************************************************************/
VariableNetworkNode ControlSystemModule::operator()(
const std::string& variableName, const std::type_info& valueType, size_t nElements) const {
VariableNetworkNode ControlSystemModule::operator()(const std::string& variableName,
const std::type_info& valueType,
size_t nElements) const {
assert(variableName.find_first_of("/") == std::string::npos);
if(variables.count(variableName) == 0) {
variables[variableName] = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment