RTI Recording Service  Version 6.0.0
 All Data Structures Namespaces Files Functions Typedefs Enumerations Enumerator Groups
Constants.hpp
1 /******************************************************************************
2  * (c) Copyright, Real-Time Innovations, 2018-
3  * All rights reserved.
4  * No duplications, whole or partial, manual or electronic, may be made
5  * without express written permission. Any such copies, or
6  * revisions thereof, must display this notice unaltered.
7  * This code contains trade secrets of Real-Time Innovations, Inc.
8  *****************************************************************************/
9 
10 #ifndef HPP_RTI_RECORDING_CONSTANTS_HPP_
11 #define HPP_RTI_RECORDING_CONSTANTS_HPP_
12 
13 #include "dds/core/types.hpp"
14 
15 namespace rti { namespace recording {
16 
17 // Time constants
18 const uint32_t seconds_per_day = 86400;
19 const uint32_t seconds_per_hour = 3600;
20 const uint32_t seconds_per_minute = 60;
21 
22 // Size constants (bytes)
23 const uint32_t bytes_per_gigabyte = 1000000000;
24 const uint32_t bytes_per_megabyte = 1000000;
25 const uint32_t bytes_per_kilobyte = 1000;
26 
27 } } /* namespace rti::recording */
28 
29 
30 
31 #endif /* HPP_RTI_RECORDING_CONSTANTS_HPP_ */

RTI Recording Service Version 6.0.0 Copyright © Sun Mar 3 2019 Real-Time Innovations, Inc