17#include "stl/sen/db/basic_types.stl.h"
18#include "stl/sen/kernel/basic_types.stl.h"
47 Output(OutSettings settings, std::function<
void()> errorHandler);
52 [[nodiscard]]
const OutSettings&
getSettings() const noexcept;
83 std::unique_ptr<Impl> pimpl_;
Here we define a set of template meta-programming helpers to let the compiler take some decisions bas...
A sen object.
Definition object.h:76
A point in time.
Definition timestamp.h:26
Represents a type that can be used to define variables and arguments for methods or functions....
Definition type.h:71
void propertyChange(TimeStamp time, ObjectId objectId, MemberHash propertyId, ::sen::kernel::Buffer &&propertyValue)
Asynchronously write a property change entry for the given object.
void deletion(TimeStamp time, ObjectId objectId)
Asynchronously write a deletion entry for the given object.
Output(OutSettings settings, std::function< void()> errorHandler)
Takes the settings and a function to call in case of error.
void creation(TimeStamp time, const ObjectInfo &object, bool indexed)
Asynchronously write a creation entry for the given object. Index it if needed.
const OutSettings & getSettings() const noexcept
The settings passed during construction.
void annotation(TimeStamp time, const Type *type, ::sen::kernel::Buffer &&value)
Asynchronously write an annotation entry.
void event(TimeStamp time, ObjectId objectId, MemberHash eventId, ::sen::kernel::Buffer &&args)
Asynchronously write an event entry for the given object.
void keyframe(TimeStamp time, const ObjectInfoList &objects)
Asynchronously write a keyframe containing the state of the given objects.
const TimeStamp & getCreationTime() const noexcept
The time of creation of the recording.
OutStats fetchStats() const
Fetch the current statistics. Thread-safe.
const Object * instance
Definition output.h:32
std::string bus
Definition output.h:34
std::string session
Definition output.h:33
std::function< void()> ErrorHandler
A function to be called in case of error.
Definition output.h:27
std::vector< ObjectInfo > ObjectInfoList
A list of information elements about tracked objects.
Definition output.h:38
Basic information about an object tracked for recording.
Definition output.h:31
@ time
Definition unit.h:34
Definition annotation.h:20
Strong type for the unique identifier for a transport timer.
Definition native_object_impl.h:39
The hash of a member.
Definition type.h:39