/usr/include/opencollada/COLLADASaxFrameworkLoader/COLLADASaxFWLLibraryKinematicsScenesLoader.h is in opencollada-dev 0.1.0~20140703.ddf8f47+dfsg1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | /*
Copyright (c) 2008-2009 NetAllied Systems GmbH
This file is part of COLLADASaxFrameworkLoader.
Licensed under the MIT Open Source License,
for details please see LICENSE file or the website
http://www.opensource.org/licenses/mit-license.php
*/
#ifndef __COLLADASAXFWL_LIBRARYKINEMATICSSCENESLOADER_H__
#define __COLLADASAXFWL_LIBRARYKINEMATICSSCENESLOADER_H__
#include "COLLADASaxFWLPrerequisites.h"
#include "COLLADASaxFWLFilePartLoader.h"
#include "COLLADASaxFWLInstanceArticulatedSystemLoader.h"
#include "COLLADASaxFWLInstanceKinematicsModelLoader.h"
namespace COLLADASaxFWL
{
class KinematicsScene;
/** Stores data of library kinematics scenes in intermediate model. This data is used in a post process to fill
the framework kinematics scene.*/
class LibraryKinematicsScenesLoader : public FilePartLoader
{
private:
enum ValueElementParentType
{
VALUE_ELEMENT_NONE,
VALUE_ELEMENT_NEWPARAM,
};
private:
/** The KinematicsScene currently being parsed.*/
KinematicsScene* mCurrentKinematicsScene;
InstanceArticulatedSystemLoader mInstanceArticulatedSystemLoader;
InstanceKinematicsModelLoader mInstanceKinematicsModelLoader;
/** Specifies the type of the parent of a value type element <bool>, <int>, <float>, <SIDREF>.*/
ValueElementParentType mValueElementParentType;
public:
/** Constructor. */
LibraryKinematicsScenesLoader(IFilePartLoader* callingFilePartLoader );
/** Destructor. */
virtual ~LibraryKinematicsScenesLoader();
virtual bool end__library_kinematics_scenes();
bool begin__kinematics_scene( const kinematics_scene__AttributeData& attributeData );
bool end__kinematics_scene();
bool begin__instance_articulated_system( const instance_articulated_system__AttributeData& attributeData );
bool end__instance_articulated_system();
virtual bool begin__bind____kinematics_bind_type( const bind____kinematics_bind_type__AttributeData& attributeData );
virtual bool end__bind____kinematics_bind_type();
virtual bool begin__param____kinematics_param_type( const param____kinematics_param_type__AttributeData& attributeData );
virtual bool end__param____kinematics_param_type();
virtual bool begin__instance_kinematics_model( const instance_kinematics_model__AttributeData& attributeData );
virtual bool end__instance_kinematics_model();
virtual bool begin__newparam____kinematics_newparam_type( const newparam____kinematics_newparam_type__AttributeData& attributeData );
virtual bool end__newparam____kinematics_newparam_type();
virtual bool begin__float();
virtual bool end__float();
virtual bool data__float( float value );
virtual bool begin__int();
virtual bool end__int();
virtual bool data__int( int value );
virtual bool begin__bool();
virtual bool end__bool();
virtual bool data__bool( bool value );
virtual bool begin__SIDREF();
virtual bool end__SIDREF();
virtual bool data__SIDREF( const ParserChar* value, size_t length );
private:
/** Disable default copy ctor. */
LibraryKinematicsScenesLoader( const LibraryKinematicsScenesLoader& pre );
/** Disable default assignment operator. */
const LibraryKinematicsScenesLoader& operator= ( const LibraryKinematicsScenesLoader& pre );
};
} // namespace COLLADASAXFWL
#endif // __COLLADASAXFWL_LIBRARYKINEMATICSSCENESLOADER_H__
|