Free Electron
SurfaceAccessibleDrone.h
Go to the documentation of this file.
1 /* Copyright (C) 2003-2021 Free Electron Organization
2  Any use of this software requires a license. If a valid license
3  was not distributed with this file, visit freeelectron.org. */
4 
5 /** @file */
6 
7 #ifndef __flight_SurfaceAccessibleDrone_h__
8 #define __flight_SurfaceAccessibleDrone_h__
9 
10 namespace fe
11 {
12 namespace ext
13 {
14 
15 /**************************************************************************//**
16  @brief Drone Surface Loader
17 
18  @ingroup flight
19 *//***************************************************************************/
20 class FE_DL_EXPORT SurfaceAccessibleDrone:
22 {
23  public:
25 virtual ~SurfaceAccessibleDrone(void);
26 
27  //* as SurfaceAccessibleI
28 virtual void reset(void);
29 
30 virtual BWORD isBound(void)
31  { return TRUE; }
32 
34 
35 virtual sp<SurfaceAccessorI> accessor(String a_node,
36  Element a_element,String a_name,
37  Creation a_create,Writable a_writable);
38 virtual sp<SurfaceAccessorI> accessor(String a_node,
39  Element a_element,Attribute a_attribute,
40  Creation a_create,Writable a_writable);
41 
43 
44 virtual BWORD load(String a_filename,
45  sp<Catalog> a_spSettings);
46 
47  using SurfaceAccessibleBase::attributeSpecs;
48 
49 virtual void attributeSpecs(
51  a_rSpecs,
52  String a_node,
53  SurfaceAccessibleI::Element
54  a_element) const
55  { a_rSpecs.clear(); }
56 
58 
59 virtual sp<SurfaceI> surface(String a_group,
60  SurfaceI::Restrictions a_restrictions);
61 
62  private:
63  sp<SurfaceI> m_spSurfaceI;
64 };
65 
66 } /* namespace ext */
67 } /* namespace fe */
68 
69 #endif /* __flight_SurfaceAccessibleDrone_h__ */
Common Functionality for Accessible Surface.
Definition: SurfaceAccessibleBase.h:20
Drone Surface Loader.
Definition: SurfaceAccessibleDrone.h:20
virtual sp< SurfaceI > surface(void)
Return current underlying SurfaceI.
Definition: SurfaceAccessibleBase.h:143
kernel
Definition: namespace.dox:3
virtual BWORD isBound(void)
Return true if surface is available.
Definition: SurfaceAccessibleDrone.h:30
Automatically reference-counted string container.
Definition: String.h:128
Intrusive Smart Pointer.
Definition: src/core/ptr.h:53
virtual BWORD load(String a_filename)
load model data from file
Definition: SurfaceAccessibleBase.h:45
virtual sp< SurfaceAccessorI > accessor(String a_node, Element a_element, String a_name, Creation a_create, Writable a_writable)
Return access to an attribute.
Definition: SurfaceAccessibleBase.h:87