API Documentation

NativeTimestamp Class

The Native Timestamp Class.

NativeTimestamp::NativeTimestamp ( )

A default constructor.

NativeTimestamp::NativeTimestamp ( … )

A copy constructor.

Parameters
in/out type description
in const NativeTimestamp & Instance being copied.

NativeTimestamp::NativeTimestamp ( … )

The convenience constructor from a related type.

Parameters
in/out type description
in const ps_native_timestamp & Instance of related type.

NativeTimestamp::~NativeTimestamp ( )

A default destructor.

NativeTimestamp::print ( … )

This will print internal values.

Parameters
in/out type description
in std::ostream & Output stream that defaults to std::cout.
Returns
  • void

NativeTimestamp::get_ps_native_timestamp ( ) const

This will provide convenient access to a related type.

Returns

NativeTimestamp::operator= ( … )

An assignment operator.

Parameters
in/out type description
in const NativeTimestamp & Instance to copy.
Returns

NativeTimestamp::getFormat ( ) const

This will get the format of the native timestamp. PSYNC_NATIVE_TIMESTAMP_FORMAT_INVALID indicates an format.

Returns
  • unsigned char

NativeTimestamp::getValue ( ) const

This will get the value of the native timestamp.

Returns
  • unsigned long long

NativeTimestamp::setFormat ( … )

This will set the format of the native timestamp.

Parameters
in/out type description
in unsigned char The format value.
Returns
  • void

NativeTimestamp::setValue ( … )

This will set the value of the native timestamp.

Parameters
in/out type description
in unsigned long long The timestamp value.
Returns
  • void