Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/lib/graphics/importer/oif/object_information_file.h @ 10147

Last change on this file since 10147 was 10147, checked in by patrick, 17 years ago

merged the mount_point branche back to trunk to use the new std::* based obj file importer

File size: 1006 bytes
RevLine 
[10050]1/*!
2 * @file object_information_file.h
3 * @brief Definition of a class that helps defining mount point connections
4*/
5
6#ifndef _OBJECT_INFORMATION_FILE_H
7#define _OBJECT_INFORMATION_FILE_H
8
[10052]9#include "base_object.h"
[10050]10
[10051]11#include "count_pointer.h"
[10050]12
13
14//! A class for object informations
[10051]15class OIFData : BaseObject
16{
17public:
18  typedef CountPointer<OIFData>    Pointer;
19
[10060]20
[10051]21public:
[10060]22  OIFData(const std::string& fileName);
[10054]23  virtual ~OIFData() {}
[10051]24
[10060]25  void load(const std::string& fileName);
[10051]26
27
28private:
29
30};
31
32//! A class for object informations
[10052]33class ObjectInformationFile : BaseObject
[10050]34{
35
36public:
37  ObjectInformationFile();
[10054]38  ObjectInformationFile(const ObjectInformationFile& oif);
[10052]39  ObjectInformationFile(const std::string& fileName);
[10050]40  virtual ~ObjectInformationFile();
41
[10054]42  ObjectInformationFile& operator=(const ObjectInformationFile& oif);
43
[10053]44  private:
45    void init();
[10050]46
47
48private:
[10051]49  CountPointer<OIFData>          data;                           //!< the oif data pointer
[10050]50
51};
52
53#endif /* _OBJECT_INFORMATION_FILE_H */
Note: See TracBrowser for help on using the repository browser.