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

Represents an internal event generated by the VxSDK. More...

#include <VxInternalEvent.h>

Public Member Functions

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

Public Attributes

char id [64]
 The unique identifier of the event. More...
 
VxInternalEventType::Value eventType
 The internal event type. More...
 
int propertySize
 The size of properties. More...
 
VxKvObject * properties
 Optional additional information related to the event. More...
 

Detailed Description

Represents an internal event generated by the VxSDK.

Definition at line 13 of file VxInternalEvent.h.

Constructor & Destructor Documentation

VxSdk::VxInternalEvent::VxInternalEvent ( )
inline

Initializes a new instance of the VxInternalEvent struct.

Definition at line 18 of file VxInternalEvent.h.

18  {
19  Clear();
20  }
void Clear()
Clears this instance.
VxSdk::VxInternalEvent::VxInternalEvent ( const VxInternalEvent &  ref)
inline

Initializes a new instance of the VxInternalEvent struct.

Parameters
refThe reference.

Definition at line 26 of file VxInternalEvent.h.

26  {
27  Utilities::StrCopySafe(this->id, ref.id);
28  this->eventType = ref.eventType;
29  this->propertySize = ref.propertySize;
30  this->properties = ref.properties;
31  }
static void StrCopySafe(char(&dst)[dstSize], const char *src)
Performs a safe string copy.
Definition: VxUtilities.h:15
VxKvObject * properties
Optional additional information related to the event.
int propertySize
The size of properties.
VxInternalEventType::Value eventType
The internal event type.
VxSdk::VxInternalEvent::~VxInternalEvent ( )
inline

Finalizes an instance of the VxInternalEvent class.

Definition at line 36 of file VxInternalEvent.h.

36  {
37  Clear();
38  }
void Clear()
Clears this instance.

Member Function Documentation

void VxSdk::VxInternalEvent::Clear ( )
inline

Clears this instance.

Definition at line 43 of file VxInternalEvent.h.

43  {
44  VxZeroArray(this->id);
46  this->propertySize = 0;
47  this->properties = nullptr;
48  }
#define VxZeroArray(src)
Definition: VxMacros.h:25
VxKvObject * properties
Optional additional information related to the event.
int propertySize
The size of properties.
An error or unknown value was returned.
Definition: VxPrimitives.h:397
VxInternalEventType::Value eventType
The internal event type.

Member Data Documentation

VxInternalEventType::Value VxSdk::VxInternalEvent::eventType

The internal event type.

Definition at line 58 of file VxInternalEvent.h.

char VxSdk::VxInternalEvent::id[64]

The unique identifier of the event.

Definition at line 54 of file VxInternalEvent.h.

VxKvObject* VxSdk::VxInternalEvent::properties

Optional additional information related to the event.

Definition at line 66 of file VxInternalEvent.h.

int VxSdk::VxInternalEvent::propertySize

The size of properties.

Definition at line 62 of file VxInternalEvent.h.


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