libiec61850  1.2.0
mms_named_variable_list.h
Go to the documentation of this file.
1 /*
2  * mms_named_variable_list.h
3  *
4  * Copyright 2013 Michael Zillgith
5  *
6  * This file is part of libIEC61850.
7  *
8  * libIEC61850 is free software: you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation, either version 3 of the License, or
11  * (at your option) any later version.
12  *
13  * libIEC61850 is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with libIEC61850. If not, see <http://www.gnu.org/licenses/>.
20  *
21  * See COPYING file for the complete license text.
22  */
23 
24 #ifndef MMS_NAMED_VARIABLE_LIST_H_
25 #define MMS_NAMED_VARIABLE_LIST_H_
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
35 #include "libiec61850_common_api.h"
36 #include "linked_list.h"
37 #include "mms_common.h"
38 
40  bool deletable;
41  MmsDomain* domain;
42  char* name;
43  LinkedList listOfVariables;
44 };
45 
48 
49 void
51 
52 MmsDomain*
54 
55 char*
57 
58 MmsNamedVariableList
59 MmsNamedVariableList_create(MmsDomain* domain, char* name, bool deletable);
60 
61 char*
62 MmsNamedVariableList_getName(MmsNamedVariableList self);
63 
64 MmsDomain*
65 MmsNamedVariableList_getDomain(MmsNamedVariableList self);
66 
67 bool
68 MmsNamedVariableList_isDeletable(MmsNamedVariableList self);
69 
70 void
71 MmsNamedVariableList_addVariable(MmsNamedVariableList self, MmsNamedVariableListEntry variable);
72 
73 LinkedList
74 MmsNamedVariableList_getVariableList(MmsNamedVariableList self);
75 
76 void
77 MmsNamedVariableList_destroy(MmsNamedVariableList self);
78 
81 #ifdef __cplusplus
82 }
83 #endif
84 
85 #endif /* MMS_NAMED_VARIABLE_LIST_H_ */
MmsDomain * MmsNamedVariableListEntry_getDomain(MmsNamedVariableListEntry self)
LinkedList MmsNamedVariableList_getVariableList(MmsNamedVariableList self)
struct sMmsAccessSpecifier * MmsNamedVariableListEntry
Definition: mms_common.h:156
MmsNamedVariableList MmsNamedVariableList_create(MmsDomain *domain, char *name, bool deletable)
Definition: mms_named_variable_list.h:39
void MmsNamedVariableList_destroy(MmsNamedVariableList self)
void MmsNamedVariableList_addVariable(MmsNamedVariableList self, MmsNamedVariableListEntry variable)
MmsDomain * domain
Definition: mms_named_variable_list.h:41
MmsNamedVariableListEntry MmsNamedVariableListEntry_create(MmsAccessSpecifier accessSpecifier)
bool MmsNamedVariableList_isDeletable(MmsNamedVariableList self)
bool deletable
Definition: mms_named_variable_list.h:40
char * MmsNamedVariableListEntry_getVariableName(MmsNamedVariableListEntry self)
Definition: mms_common.h:139
MmsDomain * MmsNamedVariableList_getDomain(MmsNamedVariableList self)
LinkedList listOfVariables
Definition: mms_named_variable_list.h:43
char * MmsNamedVariableList_getName(MmsNamedVariableList self)
char * name
Definition: mms_named_variable_list.h:42
void MmsNamedVariableListEntry_destroy(MmsNamedVariableListEntry self)