C++ Samples
Demonstrates how to create a C++ application using the VideoXpert SDK
CppSamples::Common::ExitMenu Class Reference

This class represents a default Exit menu More...

#include <MenuItem.h>

Public Member Functions

 ExitMenu ()
 
 ~ExitMenu ()
 
PluginRun (DataModel *dataModel) override
 Exit the application by returning a null reference. 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...
 
PluginGetParent () 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...
 

Detailed Description

This class represents a default Exit menu

Definition at line 68 of file MenuItem.h.

Inherits CppSamples::Common::Plugin.

Constructor & Destructor Documentation

CppSamples::Common::ExitMenu::ExitMenu ( )
inline

Definition at line 70 of file MenuItem.h.

70 : Plugin("Exit") { }
Plugin(const std::string description)
Definition: Plugin.h:35
CppSamples::Common::ExitMenu::~ExitMenu ( )
inline

Definition at line 71 of file MenuItem.h.

71 {}

Member Function Documentation

Plugin* CppSamples::Common::ExitMenu::Run ( DataModel dataModel)
inlineoverridevirtual

Exit the application by returning a null reference.

Parameters
dataModelInstance of data model.
Returns
Null reference to exit.

Implements CppSamples::Common::Plugin.

Definition at line 78 of file MenuItem.h.

78  {
79  return nullptr;
80  }

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