NCBI C++ ToolKit
Static Public Member Functions | Private Member Functions | List of all members
CAttribMenuInstance Class Reference

Search Toolkit Book for CAttribMenuInstance

Simple singleton class to allow multiple classes to share the same menu. More...

#include <gui/widgets/gl/attrib_menu.hpp>

Static Public Member Functions

static CAttribMenuGetInstance ()
 Return a static instance of CAttribMenu. More...
 

Private Member Functions

 CAttribMenuInstance ()
 Defined privite to only allow the one instance. More...
 
 ~CAttribMenuInstance ()
 
 CAttribMenuInstance (const CAttribMenuInstance &)
 Intentionally undefined. More...
 
CAttribMenuInstanceoperator= (const CAttribMenuInstance &)
 

Detailed Description

Simple singleton class to allow multiple classes to share the same menu.

Since this singleton class is separate from the menu class itself, users that want local menus can create them.

Definition at line 614 of file attrib_menu.hpp.

Constructor & Destructor Documentation

◆ CAttribMenuInstance() [1/2]

CAttribMenuInstance::CAttribMenuInstance ( )
inlineprivate

Defined privite to only allow the one instance.

Definition at line 622 of file attrib_menu.hpp.

◆ ~CAttribMenuInstance()

CAttribMenuInstance::~CAttribMenuInstance ( )
inlineprivate

Definition at line 623 of file attrib_menu.hpp.

◆ CAttribMenuInstance() [2/2]

CAttribMenuInstance::CAttribMenuInstance ( const CAttribMenuInstance )
private

Intentionally undefined.

Member Function Documentation

◆ GetInstance()

CAttribMenu & CAttribMenuInstance::GetInstance ( void  )
static

◆ operator=()

CAttribMenuInstance& CAttribMenuInstance::operator= ( const CAttribMenuInstance )
private

The documentation for this class was generated from the following files:
Modified on Sun Feb 25 03:01:24 2024 by modify_doxy.py rev. 669887