VISR  0.11.7
Versatile Interactive Scene Renderer
vector_parameter_config.hpp
Go to the documentation of this file.
1 /* Copyright Institute of Sound and Vibration Research - All rights reserved */
2 
3 #ifndef VISR_PML_VECTOR_PARAMETER_CONFIG_HPP_INCLUDED
4 #define VISR_PML_VECTOR_PARAMETER_CONFIG_HPP_INCLUDED
5 
6 #include "export_symbols.hpp"
7 
9 
10 #include <initializer_list>
11 #include <istream>
12 
13 namespace visr
14 {
15 namespace pml
16 {
17 
21 class VISR_PML_LIBRARY_SYMBOL VectorParameterConfig: public ParameterConfigBase
22 {
23 public:
24  explicit VectorParameterConfig( std::size_t numberOfElements );
25 
26  virtual ~VectorParameterConfig();
27 
28  std::unique_ptr< ParameterConfigBase > clone() const override;
29 
30  bool compare( ParameterConfigBase const & rhs ) const override;
31 
32  bool compare( VectorParameterConfig const & rhs ) const;
33 
34  std::size_t numberOfElements() const { return mNumberOfElements; }
35 private:
36  std::size_t mNumberOfElements;
37 };
38 
39 } // namespace pml
40 } // namespace visr
41 
42 
43 #endif // VISR_PML_VECTOR_PARAMETER_CONFIG_HPP_INCLUDED
Definition: options.cpp:10
Definition: parameter_config_base.hpp:22
std::size_t numberOfElements() const
Definition: vector_parameter_config.hpp:34
Definition: vector_parameter_config.hpp:21