sync code

This commit is contained in:
Ned Wright
2026-01-03 18:59:01 +00:00
parent c1058db57d
commit 2105628f05
188 changed files with 8272 additions and 2723 deletions

View File

@@ -36,6 +36,13 @@ class I_SignalHandler;
namespace Config { enum class Errors; }
std::ostream & operator<<(std::ostream &, const Config::Errors &);
template <typename Rep, typename Period>
std::ostream& operator<<(std::ostream& os, const std::chrono::duration<Rep, Period>& d)
{
os << d.count();
return os;
}
enum class AlertTeam { CORE, WAAP, SDWAN, IOT };
class AlertInfo
@@ -233,9 +240,11 @@ public:
static void setNewDefaultStdout(std::ostream *new_stream);
static void setUnitTestFlag(DebugFlags flag, DebugLevel level);
static void setDebugFlag(DebugFlags flag, DebugLevel level);
static std::string findDebugFilePrefix(const std::string &file_name);
static std::string getExecutableName();
static bool getDebugFlagFromString(const std::string &flag_name, DebugFlags &flag);
private:
template <typename T, typename... Args>

View File

@@ -32,7 +32,8 @@ class IntelligenceComponentV2
Singleton::Consume<I_MainLoop>,
Singleton::Consume<I_AgentDetails>,
Singleton::Consume<I_RestApi>,
Singleton::Consume<I_TimeGet>
Singleton::Consume<I_TimeGet>,
Singleton::Consume<I_Environment>
{
public:
IntelligenceComponentV2();