35 #ifndef CONTROL_MANAGER_H 
   36 #define CONTROL_MANAGER_H 
   65   typedef std::map< std::string, std::set< std::string > > 
ViewControls;
 
   75     typedef std::map< ControlMapEntry, std::set<std::string>,
 
   77     typedef std::map< ControlMapEntry, std::set<std::string>,
 
   80     std::set< std::string >
 
   82                           const std::list<std::string>& objects ) 
const;
 
   83     std::set< std::string >
 
   85                           const std::string& 
object ) 
const;
 
   86     std::set< std::string >
 
   88                           const std::list<std::string>& selectedObjects )
 
   99     void addControl( 
const std::string& view, 
const std::string& 
object,
 
  100                      const std::set< std::string > & controls );
 
  101     void addControl( 
const std::string& view, 
const std::string& 
object,
 
  102                      const std::string& control );
 
  105                         const std::string& control );
 
  108                             const std::string& 
object );
 
  112     std::map< ControlMapEntry, std::set<std::string>,
 
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
std::map< ControlMapEntry, std::set< std::string >, LessControlMap >::const_iterator const_iterator
std::set< std::string > availableControlList(const std::string &view, const std::list< std::string > &objects) const
bool insertObject(const std::string &object, const ObjectControls &objectControls)
bool removeView(const std::string &view)
static ControlManager * instance()
bool insertView(const std::string &view, const ViewControls &viewControls)
bool removeControlList(const std::string &view, const std::string &object)
std::map< ControlMapEntry, std::set< std::string >, LessControlMap >::iterator iterator
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 removeObject(const std::string &object)
bool removeControl(const std::string &view, const std::string &object, const std::string &control)
std::map< std::string, std::set< std::string > > ObjectControls
std::map< std::string, std::set< std::string > > ViewControls
ControlMapEntry(std::string v, std::string o)
bool operator()(ControlMapEntry entry1, ControlMapEntry entry2) const