vrecko
virtual reality framework
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
CarPartsNodeCache.h
Go to the documentation of this file.
1
#ifndef CAR_PARTS_NODE_CACHE
2
#define CAR_PARTS_NODE_CACHE
3
4
#include <
vrecko/IOPins.h
>
5
#include <
vrecko/Message.h
>
6
#include <
vrecko/Ability.h
>
7
#include <map>
8
#include <string>
9
#include <osg/Node>
10
11
namespace
CarSim {
12
// abilita, ktera zjisti, zda-li se nejaky soubor s geometrii casti auta
13
// uz drive nenacetl; jestlize ano, vrati se pouze ukazatel na
14
// nacteny Node
15
class
CarPartsNodeCache
:
public
vrecko::Ability
{
16
public
:
17
CarPartsNodeCache
();
18
~CarPartsNodeCache
();
19
// void *processRequest(const std::string &input_name, void *value);
20
protected
:
21
// (delete ukazatel_na_Node nejde zavolat, protoze destruktor je protected
22
// -> pouzivam ref_ptr)
23
std::map<std::string,osg::ref_ptr<osg::Node>>
carPartsPathNodeMap
;
24
25
DECLARE_REQUEST_INPUT
(InGetCarPartNode,
vrecko::MessageString
,
vrecko::MessageNode
);
26
};
27
28
}
29
30
#endif
31
32
33
include
vreckoAP
CarSim
CarPartsNodeCache.h
Generated on Tue Feb 19 2013 10:23:42 for vrecko by
1.8.3.1