MCPcopy Create free account
hub / github.com/3rdparty/libprocess / Value

Class Value

include/process/timeseries.hpp:60–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 capacity(std::max((size_t) 3, _capacity)) {}
59
60 struct Value
61 {
62 Value(const Time& _time, const T& _data) : time(_time), data(_data) {}
63
64 // Non-const for assignability.
65 Time time;
66 T data;
67 };
68
69 void set(const T& value, const Time& time = Clock::now())
70 {

Callers 2

getMethod · 0.85
latestMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected