nx_server_plugin_sdk 1.0 Server Plugin SDK

Public Member Functions | List of all members
nxcip::TimePeriods Class Referenceabstract

Array of time periods. More...

`#include <camera_plugin.h>`

Inheritance diagram for nxcip::TimePeriods:

## Public Member Functions
virtual void | goToBeginning ()=0
| Move cursor to the first position.
virtual bool | next ()=0
virtual bool | atEnd () const =0
virtual bool | get (UsecUTCTimestamp *start, UsecUTCTimestamp *end) const =0
Public Member Functions inherited from nxpl::PluginInterface
virtual void * | queryInterface (const nxpl::NX_GUID &interfaceID)=0
| Cast to type, specified by interfaceID. More...
virtual int | addRef () const =0
| Increment reference counter. More...
virtual int | releaseRef () const =0
| Decrement reference counter. More...

## Detailed Description

Array of time periods.

## Member Function Documentation

## ◆ atEnd()

virtual bool nxcip::TimePeriods::atEnd | ( |  | ) | const
| pure virtual

Returns
  true, if cursor is already at end

Implemented in TimePeriods.

## ◆ get()

virtual bool nxcip::TimePeriods::get | ( | UsecUTCTimestamp * | start,
|  | UsecUTCTimestamp * | end
| ) |  | const
| pure virtual

Parameters

  [out] | start | Start of time period (usec (microseconds) since 1970-01-01, UTC)
  [out] | end | End of time period (usec (microseconds) since 1970-01-01, UTC)

Returns
  true, if data present (cursor is on valid position)

Implemented in TimePeriods.

## ◆ next()

virtual bool nxcip::TimePeriods::next | ( |  | ) |
| pure virtual

Returns
  true, if cursor is set to the next position. false, if already at the end of data

Implemented in TimePeriods.

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

- src/camera/camera_plugin.h