Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
Instant Class Reference

#include "vault/gear/activity.hpp"

Description

< special definitions for the Scheduler activity language

Wrapper to hold Time values in trivially constructible union. By an unfortunate design decision, lib::time::Time values are non-copyable, which prevents placing them into POD data

Todo:
7/2023 this decision should be revised //////////////////////////////////////////////////////////TICKET #1261 : reconsider (im)mutability of time entities

Definition at line 115 of file activity.hpp.

Public Member Functions

 Instant ()=default
 
 Instant (TimeValue time)
 
 operator TimeVar () const
 

Private Attributes

int64_t microTick_
 

Constructor & Destructor Documentation

◆ Instant() [1/2]

Instant ( )
default

◆ Instant() [2/2]

Instant ( TimeValue  time)
inline

Definition at line 122 of file activity.hpp.

Member Function Documentation

◆ operator TimeVar()

operator TimeVar ( ) const
inline

Definition at line 126 of file activity.hpp.

References Instant::microTick_.

Member Data Documentation

◆ microTick_

int64_t microTick_
private

Definition at line 117 of file activity.hpp.

Referenced by Instant::operator TimeVar().

+ Collaboration diagram for Instant:

The documentation for this class was generated from the following file: