SCRIPT namespace replacements

This commit is contained in:
PJ Reiniger
2025-11-07 20:00:05 -05:00
committed by Peter Johnson
parent ae6c043632
commit 9aca8e0fd6
2622 changed files with 22275 additions and 22275 deletions

View File

@@ -12,14 +12,14 @@
#include "wpi/cs/cscore_cpp.hpp"
#include "wpi/util/CallbackManager.hpp"
namespace cs {
namespace wpi::cs {
class SinkImpl;
class SourceImpl;
namespace impl {
struct ListenerData : public wpi::CallbackListenerData<
struct ListenerData : public wpi::util::CallbackListenerData<
std::function<void(const RawEvent& event)>> {
ListenerData() = default;
ListenerData(std::function<void(const RawEvent& event)> callback_,
@@ -32,7 +32,7 @@ struct ListenerData : public wpi::CallbackListenerData<
};
class NotifierThread
: public wpi::CallbackThread<NotifierThread, RawEvent, ListenerData> {
: public wpi::util::CallbackThread<NotifierThread, RawEvent, ListenerData> {
public:
NotifierThread(std::function<void()> on_start, std::function<void()> on_exit)
: CallbackThread(std::move(on_start), std::move(on_exit)) {}
@@ -53,7 +53,7 @@ class NotifierThread
} // namespace impl
class Notifier : public wpi::CallbackManager<Notifier, impl::NotifierThread> {
class Notifier : public wpi::util::CallbackManager<Notifier, impl::NotifierThread> {
friend class NotifierTest;
public:
@@ -87,6 +87,6 @@ class Notifier : public wpi::CallbackManager<Notifier, impl::NotifierThread> {
void NotifyUsbCamerasChanged();
};
} // namespace cs
} // namespace wpi::cs
#endif // CSCORE_NOTIFIER_HPP_