PIP 5.5.3
Platform-Independent Primitives
Files | Namespaces | Classes | Functions
Types

Basic types. More...

Files

file  pibytearray.h
 Byte array.
 
file  pidatetime.h
 Time and date structs.
 
file  piflags.h
 General flags class.
 
file  pinetworkaddress.h
 Network address.
 
file  pipropertystorage.h
 Properties array.
 
file  pisystemtime.h
 System time structs and methods.
 
file  pitime.h
 System time, time and date.
 
file  pitime_win.h
 PITime conversions for Windows.
 
file  pivaluetree.h
 Attributed values tree.
 
file  pivariant.h
 Variant type.
 
file  pivariantsimple.h
 Simple variant type.
 
file  pivarianttypes.h
 Types for PIVariant.
 

Namespaces

namespace  PIVariantTypes
 Namespace contains several types for PIVariant.
 

Classes

class  PIBitArray
 The PIBitArray class provides an space-efficient array of bits. More...
 
class  PIByteArray
 The PIByteArray class provides an array of bytes. More...
 
class  PITime
 Calendar time. More...
 
class  PIDate
 Calendar date. More...
 
class  PIDateTime
 Calendar date and time. More...
 
class  PINetworkAddress
 Network address, IP and port. More...
 
class  PIPropertyStorage
 This class provides key-value properties storage. More...
 
class  PIPropertyStorage::Property
 PIPropertyStorage element. More...
 
class  PISystemTime
 System time with nanosecond precision. More...
 
class  PISystemTime::Frequency
 Frequency type. More...
 
class  PITimeMeasurer
 Time measurements. More...
 
class  PIValueTree
 The PIValueTree class represents a tree structure of PIVariant values with attributes. More...
 
class  PIVariant
 Variant type. More...
 
class  PIFlags< Enum >
 Container for bit flags. More...
 
class  PIVariantSimple
 Simple variant type. More...
 
struct  PIVariantTypes::Enumerator
 Name-value pair. More...
 
struct  PIVariantTypes::Enum
 Collection of PIVariantTypes::Enumerator. More...
 
struct  PIVariantTypes::File
 File location description. More...
 
struct  PIVariantTypes::Dir
 Directory description. More...
 
struct  PIVariantTypes::Color
 32-bits color. More...
 
struct  PIVariantTypes::IODevice
 Input/output device description. More...
 

Functions

void piUSleep (int usecs)
 Precise sleep for "usecs" microseconds. More...
 
void piMSleep (double msecs)
 Precise sleep for "msecs" milliseconds. More...
 
void piSleep (double secs)
 Precise sleep for "secs" seconds. More...
 
void piSleep (PISystemTime t)
 Precise sleep for "t" time.
 
void piMinSleep ()
 Shortest available on current system sleep.
 

Detailed Description

Basic types.

Building with CMake

find_package(PIP REQUIRED)
target_link_libraries([target] PIP)
Common
Authors

Ivan Pelipenko peri4.nosp@m.ko@y.nosp@m.andex.nosp@m..ru; Andrey Bychkov work..nosp@m.a.b@.nosp@m.yande.nosp@m.x.ru;

Function Documentation

◆ piUSleep()

void piUSleep ( int  usecs)

#include <pitime.h>

Precise sleep for "usecs" microseconds.

This function consider "usleep" offset on QNX/Linux/Mac, which is calculated with pip_sys_test program. If this is correct offset value in system config, this function wait exactly "usecs" microseconds.

◆ piMSleep()

void piMSleep ( double  msecs)
inline

#include <pitime.h>

Precise sleep for "msecs" milliseconds.

This function exec piUSleep (msecs * 1000)

◆ piSleep()

void piSleep ( double  secs)
inline

#include <pitime.h>

Precise sleep for "secs" seconds.

This function exec piUSleep (msecs * 1000000)