Define epicsExportAddress
Defined in File epicsExport.h
Define Documentation
-
epicsExportAddress(typ, obj)
Declare an object for exporting.
The epicsExportAddress() macro must be used to declare any IOC object that is also named in a DBD file. For example a record support source file must contain a statement like:
epicsExportAddress(rset, myRSET);
A device support source file must contain a statement like:
Note that theepicsExportAddress(dset, devMyName);
typ
parameter for a device support entry table must be spelleddset
even if theobj
was actually declared as some other type, say usingtyped_dset
.A driver support source file must contain a statement like:
epicsExportAddress(drvet, drvName);
A variable named in a DBD
variable
statement must be declared with:Onlyint myDebug = 0; epicsExportAddress(int, myDebug);
int
anddouble
are currently supported for DBD variables.Note
C++ code needs to wrap with
extern "C" { }
- Parameters
typ – Object’s data type.
obj – Object’s name.