forked from jacyara/GenESyS-Reborn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Plugin.h
40 lines (33 loc) · 1.03 KB
/
Plugin.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: Plugin.h
* Author: cancian
*
* Created on 21 de Junho de 2018, 12:58
*/
#ifndef PLUGIN_H
#define PLUGIN_H
#include "Util.h"
#include <string>
/*!
* A Plugin represents a dynamically linked component class (ModelComponent) or infrastructure class (ModelInfrastructure); It gives access to a ModelComponent so it can be used by the model. Classes like Create, Delay, and Dispose are examples of PlugIns. It corresponds directly to the "Expansible" part (the capitalized 'E') of the GenESyS acronymous
PlugIns are NOT implemented yet
*/
class Plugin {
public:
Plugin(std::string name, bool source, bool drain);
Plugin(const Plugin& orig);
virtual ~Plugin();
bool isDrain() const;
bool isSource() const;
public: // get & set
private: // read only
std::string _fullfilename;
bool _source;
bool _drain;
};
#endif /* PLUGIN_H */