VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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>
16 
17 #include <vrfGuiCore/vrfGuiCore.h>
19 
20 #include <map>
21 
22 namespace makVrf
23 {
27  {
28  public:
31 
33  static DtVrfScriptedTaskSettingsManager& instance(makVrv::DtDe& de);
34  static void registerInstance(makVrv::DtDe&, DtVrfScriptedTaskSettingsManager*);
35 
37  virtual bool systemScriptAvailable(const std::string&) const;
38 
40  virtual void setSystemScriptAvailable(const std::string& id, bool);
41  boost::signal<void (std::string, bool)> signal_systemScriptAvailabilityChanged;
42 
44  virtual void removeSystemScript(const std::string& id, bool signal = true);
45 
47  virtual void clear();
48 
49  protected:
50  virtual void read(boost::archive::xml_iarchive& ar, int version);
51  virtual void write(boost::archive::xml_oarchive& ar, int version) const;
52 
53  virtual void scriptIdChanged(const std::string& oldId, const std::string& newId);
54 
55  protected:
57  typedef std::map<std::string, bool> SystemScriptsAvailable;
60  };
61 }

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)