A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/selection__client_8hpp_source.html below:

NCBI C++ ToolKit: include/gui/core/selection_client.hpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

1 #ifndef GUI_CORE___SELECTION_CLIENT__HPP 2 #define GUI_CORE___SELECTION_CLIENT__HPP 48

: m_ClientName(clientName), m_SelectionService() {}

virtual void SetSelection(CSelectionEvent &)

set broadcasted selection

ISelectionService * m_SelectionService

TConstScopedObjects m_Selection

CSelectionClient(const string &clientName)

virtual string GetSelClientLabel()

returns a string identifying the client in UI

virtual void GetMainObject(TConstScopedObjects &) const

Adds the main data objects represented by the client to "objects".

CSelectionEvent CSelectionEvent is used for broadcasting selection between views.

ISelectionClient - represents an object that support a notion of selection.

virtual void GetSelection(TConstScopedObjects &objects) const =0

shall return data objects representing selected things, return one data object for every selected thi...

virtual void BroadcastSelection()

virtual void SetSelectionService(ISelectionService *service)=0

ISelectionService - an interface.

IWorkbench is the central interface in the application framework.

vector< SConstScopedObject > TConstScopedObjects

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

#define NCBI_GUICORE_EXPORT

Defines to provide correct exporting from DLLs in Windows.

Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4