Initial commit of Yam.
[yam.git] / TrackParameter.h
blobef13fbf6d473c19658607911bb94baeb9d1972ae
1 #ifndef TRACK_PARAMETER_H
2 #define TRACK_PARAMETER_H
4 #include "TrackParameterType.h"
6 namespace yam {
7 class TrackParameter {
8 public:
9 /* Construct track parameter from track type */
10 TrackParameter(TrackParameterType* type) :
11 type(type), value(type->getDefaultValue()) { }
13 TrackParameterType* getType() { return type; }
14 void* getValue() { return value; }
16 private:
17 TrackParameterType* type;
18 void* value;
22 #endif