1 /*
2     Copyright (c) 2008-2009 NetAllied Systems GmbH
3 
4     This file is part of COLLADASaxFrameworkLoader.
5 
6     Licensed under the MIT Open Source License,
7     for details please see LICENSE file or the website
8     http://www.opensource.org/licenses/mit-license.php
9 */
10 
11 
12 #ifndef __COLLADASAXFWL_LIBRARYJOINTSLOADER15_H__
13 #define __COLLADASAXFWL_LIBRARYJOINTSLOADER15_H__
14 
15 
16 #include "COLLADASaxFWLPrerequisites.h"
17 #include "COLLADASaxFWLLibraryJointsLoader.h"
18 #include "COLLADASaxFWLIParserImpl15.h"
19 
20 
21 namespace COLLADASaxFWL
22 {
23 
24 
25 class IFilePartLoader;
26 
27 
28 class LibraryJointsLoader15 : public IParserImpl15
29 {
30 private:
31 LibraryJointsLoader* mLoader;
32 
33 public:
LibraryJointsLoader15(LibraryJointsLoader * loader)34 LibraryJointsLoader15(LibraryJointsLoader* loader)
35  : mLoader(loader)
36 {}
37 
38 
39 virtual bool end__library_joints();
40 
41 virtual bool begin__joint( const COLLADASaxFWL15::joint__AttributeData& attributeData );
42 
43 virtual bool end__joint();
44 
45 virtual bool begin__prismatic( const COLLADASaxFWL15::prismatic__AttributeData& attributeData );
46 
47 virtual bool end__prismatic();
48 
49 virtual bool begin__axis____axis_type( const COLLADASaxFWL15::axis____axis_type__AttributeData& attributeData );
50 
51 virtual bool end__axis____axis_type();
52 
53 virtual bool data__axis____axis_type( const float* data, size_t length );
54 
55 virtual bool begin__limits____joint_limits_type();
56 
57 virtual bool end__limits____joint_limits_type();
58 
59 virtual bool begin__min____minmax_type( const COLLADASaxFWL15::min____minmax_type__AttributeData& attributeData );
60 
61 virtual bool end__min____minmax_type();
62 
63 virtual bool data__min____minmax_type( float value );
64 
65 virtual bool begin__max____minmax_type( const COLLADASaxFWL15::max____minmax_type__AttributeData& attributeData );
66 
67 virtual bool end__max____minmax_type();
68 
69 virtual bool data__max____minmax_type( float value );
70 
71 virtual bool begin__revolute( const COLLADASaxFWL15::revolute__AttributeData& attributeData );
72 
73 virtual bool end__revolute();
74 
75 virtual bool begin__technique____technique_type( const COLLADASaxFWL15::technique____technique_type__AttributeData& attributeData );
76 
77 virtual bool end__technique____technique_type();
78 
79 
80 private:
81 /** Disable default copy ctor. */
82 LibraryJointsLoader15(const LibraryJointsLoader15&);
83 /** Disable default assignment operator. */
84 const LibraryJointsLoader15& operator=(const LibraryJointsLoader15&);
85 };
86 }
87 #endif // __COLLADASAXFWL_LIBRARYJOINTSLOADER15_H__
88