![]() |
C++ Samples
Demonstrates how to create a C++ application using the VideoXpert SDK
|
This plugin sample delete a selected role from the current system. More...
#include <DeleteRole.h>
Public Member Functions | |
| DeleteRole (const std::string description) | |
| ~DeleteRole () | |
| CppSamples::Common::Plugin * | Run (CppSamples::Common::DataModel *dataModel) override |
| Delete a selected role from the current system. More... | |
Public Member Functions inherited from CppSamples::Common::Plugin | |
| 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 | SelectRoleIndex (VxSdk::VxCollection< VxSdk::IVxRole ** > &roles) |
| Select a role from the given collection by user input. More... | |
Static Protected Member Functions | |
| static VxSdk::VxCollection< VxSdk::IVxRole ** > | GetRoles (VxSdk::IVxSystem *vxSystem) |
| Get a collection of roles from the given VideoExpert system. More... | |
| static void | PrintRoles (VxSdk::VxCollection< VxSdk::IVxRole ** > roleCollection) |
| Prints the given collection of roles to the screen. More... | |
This plugin sample delete a selected role from the current system.
Definition at line 12 of file DeleteRole.h.
Inherits CppSamples::Common::Plugin.
|
inline |
Definition at line 14 of file DeleteRole.h.
|
inline |
Definition at line 15 of file DeleteRole.h.
|
staticprotected |
Get a collection of roles from the given VideoExpert system.
| vxSystem | Pointer to the VideoExpert system. |
Definition at line 45 of file DeleteRole.cpp.
|
staticprotected |
Prints the given collection of roles to the screen.
| roleCollection | Collection of roles. |
Definition at line 59 of file DeleteRole.cpp.
|
overridevirtual |
Delete a selected role from the current system.
| dataModel | Instance of data model. |
Implements CppSamples::Common::Plugin.
Definition at line 13 of file DeleteRole.cpp.
|
protected |
Select a role from the given collection by user input.
| roles | Collection of role. |
Definition at line 81 of file DeleteRole.cpp.