| GL Studio C++ Runtime API

gls_es20_effect_factory.h
Go to the documentation of this file.
1/*! \file
2 \brief GlsEffectFactory, factory for creating GlsEffect objects
3
4 \par Copyright Information
5
6 Copyright (c) 2017 by The DiSTI Corporation.<br>
7 11301 Corporate Blvd; Suite 100<br>
8 Orlando, Florida 32817<br>
9 USA<br>
10 <br>
11 All rights reserved.<br>
12
13 This Software contains proprietary trade secrets of DiSTI and may not be
14 reproduced, in whole or part, in any form, or by any means of electronic,
15 mechanical, or otherwise, without the written permission of DiSTI. Said
16 permission may be derived through the purchase of applicable DiSTI product
17 licenses which detail the distribution rights of this content and any
18 Derivative Works based on this or other copyrighted DiSTI Software.
19
20 NO WARRANTY. THE SOFTWARE IS PROVIDED "AS-IS," WITHOUT WARRANTY OF ANY KIND,
21 AND ANY USE OF THIS SOFTWARE PRODUCT IS AT YOUR OWN RISK. TO THE MAXIMUM EXTENT
22 PERMITTED BY APPLICABLE LAW, DISTI AND ITS SUPPLIERS DISCLAIM ALL WARRANTIES
23 AND CONDITIONS, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
24 IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY AND/OR FITNESS FOR A
25 PARTICULAR PURPOSE, TITLE, AND NON-INFRINGEMENT, WITH REGARD TO THE SOFTWARE.
26
27 LIMITATION OF LIABILITY. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW,
28 IN NO EVENT SHALL DISTI OR ITS SUPPLIERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL,
29 INDIRECT, OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION,
30 DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS
31 INFORMATION, OR ANY OTHER PECUNIARY LOSS) ARISING OUT OF THE USE OF OR
32 INABILITY TO USE THE SOFTWARE, EVEN IF DISTI HAS BEEN ADVISED OF THE POSSIBILITY
33 OF SUCH DAMAGES. DISTI'S ENTIRE LIABILITY AND YOUR EXCLUSIVE REMEDY SHALL NOT
34 EXCEED FIVE DOLLARS (US$5.00).
35
36 The aforementioned terms and restrictions are governed by the laws of the
37 State of Florida and the United States of America. Use, distribution,
38 duplication, or disclosure by the U. S. Government is subject to
39"Restricted Rights" as set forth in DFARS 252.227-7014(c)(1)(ii).
40
41*/
42
43#ifndef DISTI_GLS_ES20_EFFECT_FACTORY_H_INCLUDED
44#define DISTI_GLS_ES20_EFFECT_FACTORY_H_INCLUDED
45
46#include "gls_es20_effect_factory_interface.h"
47
48 namespace disti
49{
50/** The GlsEffectFactory factory class. Creates an instance of an effect factory that
51 * holds the standard and custom shaders, compiles effects,
52 * and maintains a list of effects for quick access.
53 */
54 class GlsEffectFactory
55{
56 public:
57 /** The singleton accessor method for an implementation of an IGlsEffectFactory, which holds
58 * the standard and custom shaders, compiles effects, and maintains a list of effects for quick access.
59 * \return Returns a pointer to the IGlsEffectFactory implementation singleton.
60 */
61 GLS_EXPORT static IGlsEffectFactory* Instance();
62
63 private:
64 /** ctor */
65 GlsEffectFactory();
66
67 /** dtor */
68 ~GlsEffectFactory();
69};
70
71} // namespace disti
72
73#endif // DISTI_GLS_ES20_EFFECT_FACTORY_H_INCLUDED
disti::GlsEffectFactory
Definition: gls_es20_effect_factory.h:55
disti::GlsEffectFactory::Instance
static IGlsEffectFactory * Instance()
disti::IGlsEffectFactory
Definition: gls_es20_effect_factory_interface.h:56
gls_es20_effect_factory_interface.h
IGlsEffectFactory, interface to a factory for creating GlsEffect objects.
GLS_EXPORT
#define GLS_EXPORT
Macro denoting which functions should be visible from the runtime library.
Definition: gls_include.h:52
disti
Definition: bmpimage.h:47