$darkmode
#include <chrono>#include <functional>#include <memory>#include <spdlog/fwd.h>#include <fable/fable_fwd.hpp>Go to the source code of this file.
Typedefs | |
| using | cloe::Duration = std::chrono::nanoseconds |
| using | cloe::Logger = std::shared_ptr< spdlog::logger > |
| using | cloe::LogLevel = spdlog::level::level_enum |
| using | cloe::Handler = std::function< void(const Request &, Response &)> |
| using | cloe::TriggerPtr = std::unique_ptr< Trigger > |
| using | cloe::EventPtr = std::unique_ptr< Event > |
| using | cloe::EventFactory = TriggerFactory< Event > |
| using | cloe::ActionPtr = std::unique_ptr< Action > |
| using | cloe::ActionFactory = TriggerFactory< Action > |
This file provides forward declarations.
| typedef TriggerFactory< Action > cloe::ActionFactory |
An ActionFactory parses a single JSON object or string into an action.
| typedef std::chrono::nanoseconds cloe::Duration |
Duration is an alias for std::chrono::nanoseconds, which represents the default unit of time for simulated time and spans roughly +/- 290 years.
Warning: the default constructor does not exist. If you want zero time, you need to set it explicitly, for example inside a class:
| typedef TriggerFactory< Event > cloe::EventFactory |
An EventFactory parses a single JSON object or string into an Event.
| typedef std::function< void(const Request &, Response &)> cloe::Handler |