Namespace
Varianti

std::chrono::system_clock

Da cppreference.com.
< cpp‎ | chrono

 
 
Utilità libreria
Tipo di supporto (basic types, RTTI, type traits)
Gestione della memoria dinamica
La gestione degli errori
Programma di utilità
Funzioni variadic
Data e ora
Funzione oggetti
initializer_list(C++11)
bitset
hash(C++11)
Gli operatori relazionali
Original:
Relational operators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
rel_ops::operator!=
rel_ops::operator>
rel_ops::operator<=
rel_ops::operator>=
Coppie e tuple
Original:
Pairs and tuples
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
pair
tuple(C++11)
piecewise_construct_t(C++11)
piecewise_construct(C++11)
Swap, in avanti e spostare
Original:
Swap, forward and move
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
swap
forward(C++11)
move(C++11)
move_if_noexcept(C++11)
declval(C++11)
 
 
std::chrono::system_clock
Membri funzioni
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
system_clock::now
system_clock::to_time_t
system_clock::from_time_t
 
Defined in header <chrono>
class system_clock;
(dal C++11)
Classe std::chrono::system_clock rappresenta il livello di sistema reale orologio da parete tempo.
Original:
Class std::chrono::system_clock represents the system-wide real time wall clock.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Esso non può essere monotona: in molti sistemi, il tempo di sistema può essere regolato in qualsiasi momento. È l'unica C + + orologio che ha la capacità di mappare i punti temporali di C-stile tempo, e, pertanto, da visualizzare.
Original:
It may not be monotonic: on most systems, the system time can be adjusted at any moment. It is the only C++ clock that has the ability to map its time points to C-style time, and, therefore, to be displayed.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
std::chrono::system_clock soddisfi i requisiti di TrivialClock.
Original:
std::chrono::system_clock meets the requirements of TrivialClock.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Indice

[modifica] Membri tipi

Membro tipo
Original:
Member type
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Definition
rep
firmato tipo aritmetico che rappresenta il numero di segni di graduazione nel tempo dell'orologio
Original:
signed arithmetic type representing the number of ticks in the clock's duration
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
period
un tipo che rappresenta il periodo std::ratio battito dell'orologio, in pochi secondi
Original:
an std::ratio type representing the tick period of the clock, in seconds
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
duration
std::chrono::duration<rep, period>, capace di rappresentare durate negative
Original:
std::chrono::duration<rep, period>, capable of representing negative durations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
time_point
il tipo di punto di tempo di questo orologio, std::chrono::time_point<system_clock>
Original:
the type of this clock's time point, std::chrono::time_point<system_clock>
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[modifica] Membri costanti

bool is_steady
[statico]
true se il tempo tra zecche è costante e chiama a valori restituiti now che aumentano monotonicamente
Original:
true if the time between ticks is constant and calls to now return values that increase monotonically
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(pubblico membro statico costante)

[modifica] Membri funzioni

[statico]
restituisce un std::chrono::time_point rappresenta il momento attuale
Original:
returns a std::chrono::time_point representing the current point in time
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(public static membro funzione) [edit]
[statico]
converte un orologio di sistema di punti di tempo per std::time_t
Original:
converts a system clock time point to std::time_t
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(public static membro funzione) [edit]
[statico]
converte std::time_t a un punto nel tempo orologio di sistema
Original:
converts std::time_t to a system clock time point
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(public static membro funzione) [edit]

[modifica] Vedi anche

orologio monotona che non verrà mai modificato
Original:
monotonic clock that will never be adjusted
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(classe)
l'orologio con il più breve periodo di zecca disponibili
Original:
the clock with the shortest tick period available
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(classe)