29#ifndef INC_CINOSPROCESSIMAGE_H
30#define INC_CINOSPROCESSIMAGE_H
36#define DF_PROCESS_IMAGE_NUMBER 8
40#define DF_PROCESS_IMAGE_DIGITAL_INPUTS 0
41#define DF_PROCESS_IMAGE_DIGITAL_OUTPUTS 1
42#define DF_PROCESS_IMAGE_ANALOG_INPUTS 2
43#define DF_PROCESS_IMAGE_ANALOG_OUTPUTS 3
44#define DF_PROCESS_IMAGE_DIGITAL_FLAGS 4
45#define DF_PROCESS_IMAGE_POSITIONS 5
46#define DF_PROCESS_IMAGE_AXES 6
47#define DF_PROCESS_IMAGE_SIO_CHANNELS 7
49#define DF_INOS_IMAGE_CHN_SIM_NO 0
50#define DF_INOS_IMAGE_CHN_SIM_YES 1
51#define DF_INOS_IMAGE_CHN_SIM_DEF 2
85 {
return REAL64(0.0);};
88 #if defined(INOS_PROCESSIMAGE_OVERWRITE)
101 virtual void SetEnabled(
bool abValue);
103 virtual bool GetEnabled();
107 virtual bool GetEnabled(uint16
auNumber);
112 virtual bool GetSimulated(uint16
auNumber)=0;
124 virtual void* GetBaseAddress();
128 virtual void* GetConfigBaseAddress();
147 virtual uint16 GetArrayLength(uint16
auNumber);
175 virtual uint16 GetCycleNumber(uint16
auNumber)
184 virtual uint16 GetCycleId(uint16
auNumber)
197 virtual uint8 GetBusId(uint16
auNumber)
201 virtual CINOSBusJob* GetBusJob(uint16
auNumber)
207 virtual CINCOObject* GetRegister()
208 {
return m_pRegister;};
227 #if defined(INOS_PROCESSIMAGE_OVERWRITE)
240 static bool SimulationRequested(uint32
auSimulate = DF_INOS_IMAGE_CHN_SIM_DEF);
245 static char* CreateUniqueName(uint16
auNumber);
274 CINCOObject* m_pRegister{};
287 #if defined(INOS_PROCESSIMAGE_CHANNELNUMBER_FREE)
305 friend class CINOSBusChannelHandler;
318#if defined(INOS_PROCESSIMAGE_OVERWRITE)
352 friend class CINOSBusPortHandlerTdc;
Description of this class.
#define DECLARE_DYNAMIC(aClass)
Definition cinospartitionmemory.h:328
CINOSMutex g_ImageLock[8]
lock used to protect process image creation
Definition cinosadcchannel.h:53
static CINOSBus * GetFirstBus()
Return first valid bus (aka "g_pBus[0]").
Definition cinosbus.h:641
Definition cinosprocessimage.h:351
static uint32 Calibrate(const char *apChannel)
calibrate given channel
static CINOSLVDT & Instance()
public
Definition cinosprocessimage.h:376
static bool IsValid(const char *apChannel)
return true if given channel is a valid LVDT channel
static bool IsValid(class CINOSAdcChannel *apChannel)
return true if given channel is a valid LVDT channel
static CINOSLVDT m_Instance
the one and only instance
Definition cinosprocessimage.h:371
static uint32 Calibrate(class CINOSAdcChannel *apChannel)
calibrate given channel
Definition cinosmcmodule.h:1900
Definition cinosmutex.h:36
Definition cinosprocessimagechannel.h:111
Definition cinosprocessimagevalue.h:52
Definition cinosprocessimage.h:71
static bool MatchName(const char *apName, const char *apPattern)
Try to match end part of name.
#define INOS_INLINE
Definition inosdefine.h:60