![]() |
C++ Samples
Demonstrates how to create a C++ application using the VideoXpert SDK
|
This plugin sample adds a bookmark to the current system. More...
#include <AddBookmark.h>
Public Member Functions | |
| AddBookmark (const std::string description) | |
| ~AddBookmark () | |
| CppSamples::Common::Plugin * | Run (CppSamples::Common::DataModel *dataModel) override |
| Adds a bookmark to 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... | |
Private Member Functions | |
| void | AddNew (VxSdk::IVxSystem *vxSystem) |
| Add a new bookmark to server. More... | |
| VxSdk::VxCollection< VxSdk::IVxDataSource ** > | GetDataSources (VxSdk::IVxSystem *vxSystem) |
| Get a collection of data source from the given VideoExpert system. More... | |
| int | SelectDataSourceIndex (VxSdk::VxCollection< VxSdk::IVxDataSource ** > &dataSources) |
| Select a data source from the given collection by user input. More... | |
This plugin sample adds a bookmark to the current system.
Definition at line 12 of file AddBookmark.h.
Inherits CppSamples::Common::Plugin.
|
inline |
Definition at line 16 of file AddBookmark.h.
|
inline |
Definition at line 17 of file AddBookmark.h.
|
private |
Add a new bookmark to server.
| vxSystem | Pointer to the VideoExpert system. |
Definition at line 25 of file AddBookmark.cpp.
|
private |
Get a collection of data source from the given VideoExpert system.
| vxSystem | Pointer to the VideoExpert system. |
Definition at line 63 of file AddBookmark.cpp.
|
overridevirtual |
Adds a bookmark to the current system.
| dataModel | Instance of data model. |
Implements CppSamples::Common::Plugin.
Definition at line 14 of file AddBookmark.cpp.
|
private |
Select a data source from the given collection by user input.
| dataSources | Collection of data source. |
Definition at line 84 of file AddBookmark.cpp.