7 #ifndef __flight_SurfaceAccessorDrone_h__ 8 #define __flight_SurfaceAccessorDrone_h__ 28 using SurfaceAccessorBase::set;
29 using SurfaceAccessorBase::append;
30 using SurfaceAccessorBase::spatialVector;
33 BWORD bind(SurfaceAccessibleI::Element a_element,
34 SurfaceAccessibleI::Attribute
36 BWORD bind(SurfaceAccessibleI::Element a_element,
39 m_attribute=SurfaceAccessibleI::e_generic;
40 return bindInternal(a_element,a_name);
42 virtual U32 count(
void)
const;
43 virtual U32 subCount(U32 a_index)
const;
45 virtual void set(U32 a_index,U32 a_subIndex,
String a_string) {}
46 virtual String string(U32 a_index,U32 a_subIndex=0);
48 virtual void set(U32 a_index,U32 a_subIndex,I32 a_integer) {}
49 virtual I32 integer(U32 a_index,U32 a_subIndex=0) {
return 0; }
51 virtual I32 append(SurfaceAccessibleI::Form a_form)
54 virtual void append(U32 a_index,I32 a_integer) {}
56 virtual void set(U32 a_index,U32 a_subIndex,Real a_real) {}
58 virtual Real real(U32 a_index,U32 a_subIndex=0) {
return 0.0; }
60 virtual void set(U32 a_index,U32 a_subIndex,
62 virtual SpatialVector spatialVector(U32 a_index,U32 a_subIndex=0)
66 { m_spSurfaceI=a_spSurfaceI; }
70 virtual BWORD bindInternal(
71 SurfaceAccessibleI::Element a_element,
74 BWORD isBound(
void)
const kernel
Definition: namespace.dox:3
Accessor for Drone meshes.
Definition: SurfaceAccessorDrone.h:20
Common Functionality for Accessor Surface.
Definition: SurfaceAccessorBase.h:20
Automatically reference-counted string container.
Definition: String.h:128
Intrusive Smart Pointer.
Definition: src/core/ptr.h:53
Per-class participation non-RTTI fallback dynamic casting mechanism.
Definition: Castable.h:192