NVIDIA Iray API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
iparameter.h
Go to the documentation of this file.
1 //*****************************************************************************
2 // Copyright 1986, 2014 NVIDIA Corporation. All rights reserved.
3 //*****************************************************************************
6 //*****************************************************************************
7 
8 #ifndef MI_NEURAYLIB_IPARAMETER_H
9 #define MI_NEURAYLIB_IPARAMETER_H
10 
11 #include <mi/neuraylib/idata.h>
12 
13 namespace mi {
14 
19 class IParameter :
29  public base::Interface_declare<0xbdef76e3,0x465e,0x471c,0xb9,0x70,0x5f,0x2f,0x2d,0xad,0x35,0xd4,
30  IData_simple>
31 {
32 public:
34  virtual void get_value( Uint32& val) const = 0;
35 
37  virtual void set_value( Uint32 val) = 0;
38 
40  Uint32 get_value() const { Uint32 value; get_value( value); return value; }
41 };
42  // end group mi_neuray_simple_types
44 
45 } // namespace mi
46 
47 #endif // MI_NEURAYLIB_IPARAMETER_H