anatomist 6.0.4
3D neuroimaging data viewer
anatomist::ControlManager Class Reference

#include <anatomist/controler/controlmanager.h>

Public Types

typedef std::map< ControlMapEntry, std::set< std::string >, LessControlMap >::iterator iterator
 
typedef std::map< ControlMapEntry, std::set< std::string >, LessControlMap >::const_iterator const_iterator
 

Public Member Functions

 ~ControlManager ()
 
std::set< std::string > availableControlList (const std::string &view, const std::list< std::string > &objects) const
 
std::set< std::string > availableControlList (const std::string &view, const std::string &object) const
 
std::set< std::string > activableControlList (const std::string &view, const std::list< std::string > &selectedObjects) const
 
bool insertView (const std::string &view, const ViewControls &viewControls)
 
bool removeView (const std::string &view)
 
bool insertObject (const std::string &object, const ObjectControls &objectControls)
 
bool removeObject (const std::string &object)
 
void addControl (const std::string &view, const std::string &object, const std::set< std::string > &controls)
 
void addControl (const std::string &view, const std::string &object, const std::string &control)
 
bool removeControl (const std::string &view, const std::string &object, const std::string &control)
 
bool removeControlList (const std::string &view, const std::string &object)
 
void print () const
 

Static Public Member Functions

static ControlManagerinstance ()
 

Detailed Description

Definition at line 68 of file controlmanager.h.

Member Typedef Documentation

◆ const_iterator

Definition at line 78 of file controlmanager.h.

◆ iterator

Definition at line 76 of file controlmanager.h.

Constructor & Destructor Documentation

◆ ~ControlManager()

anatomist::ControlManager::~ControlManager ( )

Member Function Documentation

◆ activableControlList()

std::set< std::string > anatomist::ControlManager::activableControlList ( const std::string & view,
const std::list< std::string > & selectedObjects ) const

◆ addControl() [1/2]

void anatomist::ControlManager::addControl ( const std::string & view,
const std::string & object,
const std::set< std::string > & controls )

◆ addControl() [2/2]

void anatomist::ControlManager::addControl ( const std::string & view,
const std::string & object,
const std::string & control )

◆ availableControlList() [1/2]

std::set< std::string > anatomist::ControlManager::availableControlList ( const std::string & view,
const std::list< std::string > & objects ) const

◆ availableControlList() [2/2]

std::set< std::string > anatomist::ControlManager::availableControlList ( const std::string & view,
const std::string & object ) const

◆ insertObject()

bool anatomist::ControlManager::insertObject ( const std::string & object,
const ObjectControls & objectControls )

◆ insertView()

bool anatomist::ControlManager::insertView ( const std::string & view,
const ViewControls & viewControls )

◆ instance()

static ControlManager * anatomist::ControlManager::instance ( )
static

◆ print()

void anatomist::ControlManager::print ( ) const

◆ removeControl()

bool anatomist::ControlManager::removeControl ( const std::string & view,
const std::string & object,
const std::string & control )

◆ removeControlList()

bool anatomist::ControlManager::removeControlList ( const std::string & view,
const std::string & object )

◆ removeObject()

bool anatomist::ControlManager::removeObject ( const std::string & object)

◆ removeView()

bool anatomist::ControlManager::removeView ( const std::string & view)

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