Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/lib/data/data_tank.h @ 6691

Last change on this file since 6691 was 6424, checked in by bensch, 19 years ago

orxonox/trunk: merged the branche network back to the trunk
merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/network . -r 6351:HEAD
no conflicts

File size: 861 bytes
Line 
1/*!
2 * @file data_tank.h
3 *  container for all data and data loadings. Its absolutily abstract and therefore generic.
4 *  if there is something to load, this class will serve as a good base class since it
5 *  gives you a basic structure for data loading
6 */
7
8#ifndef _DATA_TANK_H
9#define _DATA_TANK_H
10
11
12#include "base_object.h"
13#include "error.h"
14
15
16//! The DataTank
17class DataTank : public BaseObject
18{
19
20  public:
21    DataTank() {}
22    virtual ~DataTank() {}
23
24    /** initializes the DataTank to be able to load the data */
25    virtual ErrorMessage init() {}
26    /** loads the data into the DataTank @param root is the xml root parameter for for loadParams() connection */
27    virtual ErrorMessage loadData(TiXmlElement* root = NULL) {}
28    /** unloads the data again from the DataTank */
29    virtual ErrorMessage unloadData() {}
30};
31
32
33#endif /* _DATA_TANK_H */
Note: See TracBrowser for help on using the repository browser.