Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Framework/Core/src/FairMQDeviceProxy.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ std::unique_ptr<fair::mq::Message> FairMQDeviceProxy::createForwardMessage(Route
void FairMQDeviceProxy::bind(std::vector<OutputRoute> const& outputs, std::vector<InputRoute> const& inputs,
std::vector<ForwardRoute> const& forwards,
std::function<fair::mq::Channel&(std::string const&)> bindChannelByName,
std::function<bool(void)> newStatePending)
std::function<bool()> newStatePending)
{
mOutputs.clear();
mOutputRoutes.clear();
Expand Down
2 changes: 1 addition & 1 deletion Framework/Core/src/LifetimeHelpers.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ ExpirationHandler::Creator LifetimeHelpers::enumDrivenCreation(size_t start, siz
};
}

ExpirationHandler::Creator LifetimeHelpers::timeDrivenCreation(std::vector<std::chrono::microseconds> periods, std::vector<std::chrono::seconds> intervals, std::function<bool(void)> hasTimerFired, std::function<void(uint64_t, uint64_t)> updateTimerPeriod)
ExpirationHandler::Creator LifetimeHelpers::timeDrivenCreation(std::vector<std::chrono::microseconds> periods, std::vector<std::chrono::seconds> intervals, std::function<bool()> hasTimerFired, std::function<void(uint64_t, uint64_t)> updateTimerPeriod)
{
std::shared_ptr<bool> stablePeriods = std::make_shared<bool>(false);
// FIXME: should create timeslices when period expires....
Expand Down
16 changes: 8 additions & 8 deletions Framework/GUISupport/src/FrameworkGUIDebugger.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1125,14 +1125,14 @@ void displayDriverInfo(DriverInfo const& driverInfo, DriverControl& driverContro
// FIXME: return empty function in case we were not built
// with GLFW support.
///
std::function<void(void)> getGUIDebugger(std::vector<DeviceInfo> const& infos,
std::vector<DeviceSpec> const& devices,
std::vector<DataProcessingStates> const& allStates,
std::vector<DataProcessorInfo> const& metadata,
std::vector<DeviceMetricsInfo> const& metricsInfos,
DriverInfo const& driverInfo,
std::vector<DeviceControl>& controls,
DriverControl& driverControl)
std::function<void()> getGUIDebugger(std::vector<DeviceInfo> const& infos,
std::vector<DeviceSpec> const& devices,
std::vector<DataProcessingStates> const& allStates,
std::vector<DataProcessorInfo> const& metadata,
std::vector<DeviceMetricsInfo> const& metricsInfos,
DriverInfo const& driverInfo,
std::vector<DeviceControl>& controls,
DriverControl& driverControl)
{
static gui::WorkspaceGUIState globalGUIState;
gui::WorkspaceGUIState& guiState = globalGUIState;
Expand Down
2 changes: 1 addition & 1 deletion Framework/GUISupport/src/FrameworkGUIDevicesGraph.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ bool exportTopologyDOT(const char* filename,
/// Helper to draw metrics
template <typename RECORD, typename ITEM, typename CONTEXT>
struct MetricsPainter {
using NumRecordsCallback = std::function<size_t(void)>;
using NumRecordsCallback = std::function<size_t()>;
using RecordCallback = std::function<RECORD(size_t)>;
using NumItemsCallback = std::function<size_t(RECORD const&)>;
using ItemCallback = std::function<ITEM const&(RECORD const&, size_t)>;
Expand Down
18 changes: 9 additions & 9 deletions Framework/GUISupport/src/Plugin.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@
using namespace o2::framework;

struct ImGUIDebugGUI : o2::framework::DebugGUI {
std::function<void(void)> getGUIDebugger(std::vector<DeviceInfo> const& infos,
std::vector<DeviceSpec> const& devices,
std::vector<DataProcessingStates> const& allStates,
std::vector<DataProcessorInfo> const& metadata,
std::vector<DeviceMetricsInfo> const& metricsInfos,
DriverInfo const& driverInfo,
std::vector<DeviceControl>& controls,
DriverControl& driverControl) override
std::function<void()> getGUIDebugger(std::vector<DeviceInfo> const& infos,
std::vector<DeviceSpec> const& devices,
std::vector<DataProcessingStates> const& allStates,
std::vector<DataProcessorInfo> const& metadata,
std::vector<DeviceMetricsInfo> const& metricsInfos,
DriverInfo const& driverInfo,
std::vector<DeviceControl>& controls,
DriverControl& driverControl) override
{
return o2::framework::gui::getGUIDebugger(infos, devices, allStates, metadata, metricsInfos, driverInfo, controls, driverControl);
}
Expand Down Expand Up @@ -83,7 +83,7 @@ struct ImGUIDebugGUI : o2::framework::DebugGUI {
{
return o2::framework::pollGUIPreRender(context, delta);
}
void* pollGUIRender(std::function<void(void)> guiCallback) override
void* pollGUIRender(std::function<void()> guiCallback) override
{
auto* result = o2::framework::pollGUIRender(guiCallback);
registry->postRenderGUICallbacks();
Expand Down