MuxTreeSerializer.h revision 10447
1#ifndef __DSENT_MODEL_ELECTRICAL_MUXTREESERIALIZER_H__
2#define __DSENT_MODEL_ELECTRICAL_MUXTREESERIALIZER_H__
3
4#include "util/CommonType.h"
5#include "model/ElectricalModel.h"
6
7namespace DSENT
8{
9    class MuxTreeSerializer : public ElectricalModel
10    {
11        public:
12            MuxTreeSerializer(const String& instance_name_, const TechModel* tech_model_);
13            virtual ~MuxTreeSerializer();
14
15        public:
16            // Set a list of properties' name needed to construct model
17            void initParameters();
18            // Set a list of properties' name needed to construct model
19            void initProperties();
20
21            // Clone and return a new instance
22            virtual MuxTreeSerializer* clone() const;
23
24        protected:
25            // Build the model
26            virtual void constructModel();
27            virtual void propagateTransitionInfo();
28
29    }; // class MuxTreeSerializer
30} // namespace DSENT
31
32#endif // __DSENT_MODEL_ELECTRICAL_MUXTREESERIALIZER_H__
33
34