VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vrfScriptedTaskSettingsManager.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
10 
11 #pragma once
12 
14 #include <vrvUtil/signalslib.h>
15 
16 #include <vrfGuiCore/vrfGuiCore.h>
18 
19 #include <map>
20 
21 namespace makVrf
22 {
26  {
27  public:
30 
32  static DtVrfScriptedTaskSettingsManager& instance(makVrv::DtDe& de);
33  static void registerInstance(makVrv::DtDe&, DtVrfScriptedTaskSettingsManager*);
34 
36  virtual bool systemScriptAvailable(const std::string&) const;
37 
39  virtual void setSystemScriptAvailable(const std::string& id, bool);
40  boost::signal<void (std::string, bool)> signal_systemScriptAvailabilityChanged;
41 
43  virtual void removeSystemScript(const std::string& id, bool signal = true);
44 
46  virtual void clear();
47 
48  protected:
49  virtual void read(boost::archive::xml_iarchive& ar, int version);
50  virtual void write(boost::archive::xml_oarchive& ar, int version) const;
51 
52  protected:
54  typedef std::map<std::string, bool> SystemScriptsAvailable;
56  };
57 }

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)