OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ot::MenuSeparatorCfg Class Reference

#include "MenuSeparatorCfg.h"

Inheritance diagram for ot::MenuSeparatorCfg:
ot::MenuEntryCfg ot::Serializable

Public Member Functions

 MenuSeparatorCfg ()
 
 MenuSeparatorCfg (const MenuSeparatorCfg &_other)
 
virtual ~MenuSeparatorCfg ()
 
MenuSeparatorCfgoperator= (const MenuSeparatorCfg &)=delete
 
virtual MenuEntryCfgcreateCopy (void) const override
 
virtual EntryType getMenuEntryType (void) const override
 
- Public Member Functions inherited from ot::MenuEntryCfg
 MenuEntryCfg ()
 
 MenuEntryCfg (const MenuEntryCfg &_other)
 
virtual ~MenuEntryCfg ()
 
MenuEntryCfgoperator= (const MenuEntryCfg &_other)
 
virtual void addToJsonObject (ot::JsonValue &_object, ot::JsonAllocator &_allocator) const override
 Add the object contents to the provided JSON object.
 
virtual void setFromJsonObject (const ot::ConstJsonObject &_object) override
 Set the object contents from the provided JSON object.
 
- Public Member Functions inherited from ot::Serializable
 Serializable ()
 
virtual ~Serializable ()
 

Additional Inherited Members

- Public Types inherited from ot::MenuEntryCfg
enum  EntryType { Menu , Button , Separator }
 
- Static Public Member Functions inherited from ot::MenuEntryCfg
static std::string toString (EntryType _type)
 
static EntryType stringToEntryType (const std::string &_type)
 
static const std::string & entryTypeJsonKey (void)
 

Constructor & Destructor Documentation

◆ MenuSeparatorCfg() [1/2]

ot::MenuSeparatorCfg::MenuSeparatorCfg ( )

◆ MenuSeparatorCfg() [2/2]

ot::MenuSeparatorCfg::MenuSeparatorCfg ( const MenuSeparatorCfg & _other)

◆ ~MenuSeparatorCfg()

ot::MenuSeparatorCfg::~MenuSeparatorCfg ( )
virtual

Member Function Documentation

◆ createCopy()

ot::MenuEntryCfg * ot::MenuSeparatorCfg::createCopy ( void ) const
overridevirtual

Implements ot::MenuEntryCfg.

◆ getMenuEntryType()

virtual EntryType ot::MenuSeparatorCfg::getMenuEntryType ( void ) const
inlineoverridevirtual

Implements ot::MenuEntryCfg.

◆ operator=()

MenuSeparatorCfg & ot::MenuSeparatorCfg::operator= ( const MenuSeparatorCfg & )
delete

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