libiec61850  1.2.0
Functions
iec61850_dynamic_model.h File Reference
#include "iec61850_model.h"
#include "iec61850_cdc.h"

Go to the source code of this file.

Functions

IedModel * IedModel_create (const char *name)
 create a new IedModel instance More...
 
void IedModel_setIedNameForDynamicModel (IedModel *self, const char *name)
 Set the name of the IED (use only for dynamic model!) More...
 
void IedModel_destroy (IedModel *model)
 destroy a dynamically created data model More...
 
LogicalDevice * LogicalDevice_create (const char *name, IedModel *parent)
 Create a new logical device model and add it to the IED model. More...
 
LogicalNode * LogicalNode_create (const char *name, LogicalDevice *parent)
 Create a new logical mode and add it to a logical device. More...
 
DataObject * DataObject_create (const char *name, ModelNode *parent, int arrayElements)
 create a new data object and add it to a parent model node More...
 
DataAttribute * DataAttribute_create (const char *name, ModelNode *parent, DataAttributeType type, FunctionalConstraint fc, uint8_t triggerOptions, int arrayElements, uint32_t sAddr)
 create a new data attribute and add it to a parent model node More...
 
ReportControlBlock * ReportControlBlock_create (const char *name, LogicalNode *parent, char *rptId, bool isBuffered, char *dataSetName, uint32_t confRef, uint8_t trgOps, uint8_t options, uint32_t bufTm, uint32_t intgPd)
 create a new report control block (RCB) More...
 
LogControlBlock * LogControlBlock_create (const char *name, LogicalNode *parent, char *dataSetName, char *logRef, uint8_t trgOps, uint32_t intgPd, bool logEna, bool reasonCode)
 create a new log control block (LCB) More...
 
Log * Log_create (const char *name, LogicalNode *parent)
 create a log (used by the IEC 61850 log service) More...
 
SettingGroupControlBlock * SettingGroupControlBlock_create (LogicalNode *parent, uint8_t actSG, uint8_t numOfSGs)
 create a setting group control block (SGCB) More...
 
GSEControlBlock * GSEControlBlock_create (const char *name, LogicalNode *parent, char *appId, char *dataSet, uint32_t confRev, bool fixedOffs, int minTime, int maxTime)
 create a new GSE/GOOSE control block (GoCB) More...
 
SVControlBlock * SVControlBlock_create (const char *name, LogicalNode *parent, char *svID, char *dataSet, uint32_t confRev, uint8_t smpMod, uint16_t smpRate, uint8_t optFlds, bool isUnicast)
 create a new Multicast/Unicast Sampled Value (SV) control block (SvCB) More...
 
void SVControlBlock_addPhyComAddress (SVControlBlock *self, PhyComAddress *phyComAddress)
 
void GSEControlBlock_addPhyComAddress (GSEControlBlock *self, PhyComAddress *phyComAddress)
 
PhyComAddressPhyComAddress_create (uint8_t vlanPriority, uint16_t vlanId, uint16_t appId, uint8_t dstAddress[])
 create a PhyComAddress object More...
 
DataSet * DataSet_create (const char *name, LogicalNode *parent)
 create a new data set More...
 
int DataSet_getSize (DataSet *self)
 returns the number of elements (entries) of the data set More...
 
DataSetEntryDataSet_getFirstEntry (DataSet *self)
 
DataSetEntryDataSetEntry_getNext (DataSetEntry *self)
 
DataSetEntryDataSetEntry_create (DataSet *dataSet, const char *variable, int index, const char *component)
 create a new data set entry (FCDA) More...