VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtCameraShakeFactory.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2015 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/vrvCore.h>
14 #include <boost/unordered_map.hpp>
15 
16 #include <list>
17 #include <string>
18 
19 namespace makVrv
20 {
21  class DtCameraShakeCreator;
22  class DtCameraShake;
23  class DtObserver;
24 
29  {
30  public:
31 
33  static DtCameraShakeFactory& instance(DtDe& de);
34 
36  virtual ~DtCameraShakeFactory();
37 
39  virtual void addCreator( const std::string& cameraShakeType,
40  DtCameraShakeCreator* creator);
41 
44  virtual void cameraShakeTypesSupported(
45  std::list<std::string>& cameraShakeTypes) const;
46 
48  virtual DtCameraShake* createCameraShake( DtObserver& obs,
49  const std::string& cameraShakeType) const;
50 
52  bool canCreateCameraShake(const std::string& cameraShakeType);
53 
54  protected:
58 
59  protected:
60  typedef boost::unordered_map<std::string, DtCameraShakeCreator*>
62 
64 
66  };
67 }

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)