CNumericValuesJoinerComp.h
Go to the documentation of this file.
1 #ifndef imeas_CNumericValuesJoinerComp_included
2 #define imeas_CNumericValuesJoinerComp_included
3 
4 
5 // ACF includes
6 #include "ilog/TLoggerCompWrap.h"
7 
10 
11 
12 namespace imeas
13 {
14 
15 
21  virtual public imeas::INumericValueProvider,
23 {
24 public:
26 
27  I_BEGIN_COMPONENT(CNumericValuesJoinerComp);
28  I_REGISTER_INTERFACE(imeas::INumericValueProvider);
29  I_ASSIGN_MULTI_0(m_valueProvidersCompPtr, "ValueProviders", "List of numeric value providers", true);
30  I_END_COMPONENT;
31 
32  // reimplemented (imeas::INumericValueProvider)
33  virtual int GetValuesCount() const;
34  virtual const imeas::INumericValue& GetNumericValue(int index) const;
35 
36 protected:
37  // reimplemented (imeas::CSimpleNumericValue)
38  virtual bool IsValueTypeSupported(imeas::INumericValue::ValueTypeId valueTypeId) const;
40 
41 private:
42  I_MULTIREF(imeas::INumericValueProvider, m_valueProvidersCompPtr);
43 };
44 
45 
46 } // namespace imeas
47 
48 
49 #endif // !imeas_CNumericValuesJoinerComp_included
Joins several numeric values into one.
virtual const imeas::INumericValue & GetNumericValue(int index) const
Returns a single numeric value from the list.
virtual imath::CVarVector GetComponentValue(imeas::INumericValue::ValueTypeId valueTypeId) const
Get access to component value of the given type.
Basic implementation of imeas::INumericValue interface.
Provide access to the list of the numeric values.
General parameter set containing list of numeric values.
Definition: INumericValue.h:19
ilog::CLoggerComponentBase BaseClass
virtual int GetValuesCount() const
Get number of numeric values in the list.
virtual bool IsValueTypeSupported(imeas::INumericValue::ValueTypeId valueTypeId) const
Check if the given value type (or value component) is supported.
ValueTypeId
Define standard numeric value types.
Definition: INumericValue.h:25

© 2007-2011 Witold Gantzke and Kirill Lepskiy