![]() |
C++ Samples
Demonstrates how to create a C++ application using the VideoXpert SDK
|
This plugin sample delete a selected user from the current system. More...
#include <DeleteUser.h>
Public Member Functions | |
DeleteUser (const std::string description) | |
~DeleteUser () | |
CppSamples::Common::Plugin * | Run (CppSamples::Common::DataModel *dataModel) override |
Delete a selected user from the current system. More... | |
![]() | |
Plugin (const std::string description) | |
virtual | ~Plugin () |
std::string | GetDescription () const |
Gets the description of this plugin. More... | |
Plugin * | GetParent () const |
Gets the reference to the parent of this plugin. More... | |
void | SetParent (Plugin *parent) |
Sets the reference to the parent of this plugin. More... | |
Protected Member Functions | |
int | SelectUserIndex (VxSdk::VxCollection< VxSdk::IVxUser ** > &users) |
Select a user from the given collection by user input. More... | |
Static Protected Member Functions | |
static VxSdk::VxCollection< VxSdk::IVxUser ** > | GetUsers (VxSdk::IVxSystem *vxSystem) |
Get a collection of users from the given VideoExpert system. More... | |
static void | PrintUsers (VxSdk::VxCollection< VxSdk::IVxUser ** > userCollection) |
Prints the given collection of users to the screen. More... | |
This plugin sample delete a selected user from the current system.
Definition at line 12 of file DeleteUser.h.
Inherits CppSamples::Common::Plugin.
|
inline |
Definition at line 14 of file DeleteUser.h.
|
inline |
Definition at line 15 of file DeleteUser.h.
|
staticprotected |
Get a collection of users from the given VideoExpert system.
vxSystem | Pointer to the VideoExpert system. |
Definition at line 45 of file DeleteUser.cpp.
|
staticprotected |
Prints the given collection of users to the screen.
userCollection | Collection of users. |
Definition at line 59 of file DeleteUser.cpp.
|
overridevirtual |
Delete a selected user from the current system.
dataModel | Instance of data model. |
Implements CppSamples::Common::Plugin.
Definition at line 13 of file DeleteUser.cpp.
|
protected |
Select a user from the given collection by user input.
users | Collection of user. |
Definition at line 82 of file DeleteUser.cpp.