ISIS Logo
UTILITIES
EPICS Utilities
Functions | Variables
iocname.cpp File Reference
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <errno.h>
#include <math.h>
#include <exception>
#include <algorithm>
#include <stdexcept>
#include <iostream>
#include <map>
#include <list>
#include <string>
#include <time.h>
#include <sstream>
#include <fstream>
#include "epicsStdlib.h"
#include "epicsString.h"
#include "dbDefs.h"
#include "epicsMutex.h"
#include "dbBase.h"
#include "dbStaticLib.h"
#include "dbFldTypes.h"
#include "dbCommon.h"
#include "dbAccessDefs.h"
#include <epicsTypes.h>
#include <epicsTime.h>
#include <epicsThread.h>
#include <epicsTimer.h>
#include <iocsh.h>
#include "envDefs.h"
#include "macLib.h"
#include "errlog.h"
#include <registryFunction.h>
#include <epicsExport.h>
#include "utilities.h"

Go to the source code of this file.

Functions

epicsShareFunc std::string
epicsShareAPI 
setIOCName (const char *iocName)
 
epicsShareFunc std::string
epicsShareAPI 
getIOCName ()
 
epicsShareFunc std::string
epicsShareAPI 
getIOCGroup ()
 
static void setInitCallFunc (const iocshArgBuf *args)
 
static void getInitCallFunc (const iocshArgBuf *args)
 
static void groupInitCallFunc (const iocshArgBuf *args)
 
static void iocnameRegister (void)
 
 epicsExportRegistrar (iocnameRegister)
 

Variables

static const iocshArg setInitArg0 = { "iocName", iocshArgString }
 The name of the ioc. More...
 
static const iocshArg *const setInitArgs [] = { &setInitArg0 }
 
static const iocshFuncDef setInitFuncDef = {"setIOCName", sizeof(setInitArgs) / sizeof(iocshArg*), setInitArgs}
 
static const iocshFuncDef getInitFuncDef = {"getIOCName", 0, NULL}
 
static const iocshFuncDef groupInitFuncDef = {"getIOCGroup", 0, NULL}
 

Function Documentation

epicsExportRegistrar ( iocnameRegister  )
static void getInitCallFunc ( const iocshArgBuf *  args)
static

Definition at line 141 of file iocname.cpp.

References getIOCName().

Referenced by iocnameRegister().

epicsShareFunc std::string epicsShareAPI getIOCGroup ( )

Definition at line 114 of file iocname.cpp.

References setIOCName().

Referenced by groupInitCallFunc().

epicsShareFunc std::string epicsShareAPI getIOCName ( )

Definition at line 103 of file iocname.cpp.

References setIOCName().

Referenced by getInitCallFunc().

static void groupInitCallFunc ( const iocshArgBuf *  args)
static

Definition at line 147 of file iocname.cpp.

References getIOCGroup().

Referenced by iocnameRegister().

static void iocnameRegister ( void  )
static

Definition at line 153 of file iocname.cpp.

References getInitCallFunc(), groupInitCallFunc(), and setInitCallFunc().

static void setInitCallFunc ( const iocshArgBuf *  args)
static

Definition at line 136 of file iocname.cpp.

References setIOCName().

Referenced by iocnameRegister().

epicsShareFunc std::string epicsShareAPI setIOCName ( const char *  iocName)

Definition at line 44 of file iocname.cpp.

Referenced by getIOCGroup(), getIOCName(), and setInitCallFunc().

Variable Documentation

const iocshFuncDef getInitFuncDef = {"getIOCName", 0, NULL}
static

Definition at line 133 of file iocname.cpp.

const iocshFuncDef groupInitFuncDef = {"getIOCGroup", 0, NULL}
static

Definition at line 134 of file iocname.cpp.

const iocshArg setInitArg0 = { "iocName", iocshArgString }
static

The name of the ioc.

Definition at line 129 of file iocname.cpp.

const iocshArg* const setInitArgs[] = { &setInitArg0 }
static

Definition at line 130 of file iocname.cpp.

const iocshFuncDef setInitFuncDef = {"setIOCName", sizeof(setInitArgs) / sizeof(iocshArg*), setInitArgs}
static

Definition at line 132 of file iocname.cpp.

Copyright © 2013 Science and Technology Facilities Council | Generated by   doxygen 1.8.5