VideoXpert SDK  2.0
A software development kit for third party vendors to integrate with the VideoXpert platform
VxSdk::VxNewSchedule Struct Reference

Represents a new schedule to be created. A schedule is a group of 0 or more resources associated with a set of time and/or event based schedule triggers that, when any are active, cause the scheduled action to be performed. More...

#include <VxNewSchedule.h>

Public Member Functions

 VxNewSchedule ()
 Initializes a new instance of the VxNewSchedule struct. More...
 
 VxNewSchedule (const VxNewSchedule &ref)
 Initializes a new instance of the VxNewSchedule struct. More...
 
 ~VxNewSchedule ()
 Finalizes an instance of the VxNewSchedule class. More...
 
void Clear ()
 Clears this instance. More...
 

Public Attributes

bool useAllDataSources
 Indicates whether the schedule shall apply to all data sources regardless of what data sources are linked to the schedule. More...
 
char id [64]
 The unique identifier of the schedule. If not supplied, the system will create the identifier. More...
 
char name [64]
 The friendly name of the schedule. More...
 
int scheduleTriggerSize
 The size of scheduleTriggers. More...
 
VxNewScheduleTriggerscheduleTriggers
 The VxNewScheduleTriggers to create for the new schedule. Maximum of 16 triggers may be created. More...
 
VxScheduleAction::Value action
 The action to perform when the schedule is active. More...
 

Detailed Description

Represents a new schedule to be created. A schedule is a group of 0 or more resources associated with a set of time and/or event based schedule triggers that, when any are active, cause the scheduled action to be performed.

Definition at line 14 of file VxNewSchedule.h.

Constructor & Destructor Documentation

VxSdk::VxNewSchedule::VxNewSchedule ( )
inline

Initializes a new instance of the VxNewSchedule struct.

Definition at line 19 of file VxNewSchedule.h.

19  {
20  Clear();
21  }
void Clear()
Clears this instance.
Definition: VxNewSchedule.h:46
VxSdk::VxNewSchedule::VxNewSchedule ( const VxNewSchedule ref)
inline

Initializes a new instance of the VxNewSchedule struct.

Parameters
refThe reference.

Definition at line 27 of file VxNewSchedule.h.

27  {
28  Utilities::StrCopySafe(this->id, ref.id);
29  Utilities::StrCopySafe(this->name, ref.name);
30  this->useAllDataSources = ref.useAllDataSources;
31  this->scheduleTriggerSize = ref.scheduleTriggerSize;
32  this->scheduleTriggers = ref.scheduleTriggers;
33  this->action = ref.action;
34  }
VxScheduleAction::Value action
The action to perform when the schedule is active.
Definition: VxNewSchedule.h:80
static void StrCopySafe(char(&dst)[dstSize], const char *src)
Performs a safe string copy.
Definition: VxUtilities.h:15
int scheduleTriggerSize
The size of scheduleTriggers.
Definition: VxNewSchedule.h:71
bool useAllDataSources
Indicates whether the schedule shall apply to all data sources regardless of what data sources are li...
Definition: VxNewSchedule.h:59
char name[64]
The friendly name of the schedule.
Definition: VxNewSchedule.h:67
VxNewScheduleTrigger * scheduleTriggers
The VxNewScheduleTriggers to create for the new schedule. Maximum of 16 triggers may be created...
Definition: VxNewSchedule.h:76
VxSdk::VxNewSchedule::~VxNewSchedule ( )
inline

Finalizes an instance of the VxNewSchedule class.

Definition at line 39 of file VxNewSchedule.h.

39  {
40  Clear();
41  }
void Clear()
Clears this instance.
Definition: VxNewSchedule.h:46

Member Function Documentation

void VxSdk::VxNewSchedule::Clear ( )
inline

Clears this instance.

Definition at line 46 of file VxNewSchedule.h.

46  {
47  this->useAllDataSources = false;
48  VxZeroArray(this->id);
49  VxZeroArray(this->name);
50  this->scheduleTriggerSize = 0;
51  this->scheduleTriggers = nullptr;
53  }
#define VxZeroArray(src)
Definition: VxMacros.h:25
VxScheduleAction::Value action
The action to perform when the schedule is active.
Definition: VxNewSchedule.h:80
int scheduleTriggerSize
The size of scheduleTriggers.
Definition: VxNewSchedule.h:71
bool useAllDataSources
Indicates whether the schedule shall apply to all data sources regardless of what data sources are li...
Definition: VxNewSchedule.h:59
An error or unknown value was returned.
Definition: VxPrimitives.h:842
char name[64]
The friendly name of the schedule.
Definition: VxNewSchedule.h:67
VxNewScheduleTrigger * scheduleTriggers
The VxNewScheduleTriggers to create for the new schedule. Maximum of 16 triggers may be created...
Definition: VxNewSchedule.h:76

Member Data Documentation

VxScheduleAction::Value VxSdk::VxNewSchedule::action

The action to perform when the schedule is active.

Definition at line 80 of file VxNewSchedule.h.

char VxSdk::VxNewSchedule::id[64]

The unique identifier of the schedule. If not supplied, the system will create the identifier.

Definition at line 63 of file VxNewSchedule.h.

char VxSdk::VxNewSchedule::name[64]

The friendly name of the schedule.

Definition at line 67 of file VxNewSchedule.h.

VxNewScheduleTrigger* VxSdk::VxNewSchedule::scheduleTriggers

The VxNewScheduleTriggers to create for the new schedule. Maximum of 16 triggers may be created.

Definition at line 76 of file VxNewSchedule.h.

int VxSdk::VxNewSchedule::scheduleTriggerSize

The size of scheduleTriggers.

Definition at line 71 of file VxNewSchedule.h.

bool VxSdk::VxNewSchedule::useAllDataSources

Indicates whether the schedule shall apply to all data sources regardless of what data sources are linked to the schedule.

Definition at line 59 of file VxNewSchedule.h.


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