ApparatusFramework Namespace Reference

Classes

class  Kernel
class  Mutex
class  Semaphore
class  Task
class  CanMsg
class  CanSDOMsg
class  CanPDOMsg
class  CanNMTMsg
class  CanSYNCMsg
class  CanReceiveMsg
class  CanConnection
class  CANOpenProtocol
class  ConnectionMsg
class  Connection
class  Protocol
class  ProtocolMgr
class  LogFileDevice
class  SerialDevice
class  RingBuffer
class  SerialPort
class  SerialPortIf
class  TcpClientDevice
class  TcpServerDevice
class  UDPDevice
class  WatchdogDevice
class  WinFile
class  WinFileSys
class  CharDevice
class  ComponentMgr
class  ConsoleDevice
class  DeviceMgr
class  File
class  FileDevice
class  FileMgr
class  FileSystem
class  NullDevice
class  SerialPortListener
class  ActivityLog
class  BufferLog
class  CmdInter
class  CommonCmds
class  DoubleDeviceLogger
class  DeferredLogger
class  TraceTextMsg
class  Logger
class  LogMsg
class  LogMsgMgr
class  ApXML
class  ApXmlElement
class  Crypto
class  DynamicState
class  DynamicStateMachine
class  HashAlgorithm
class  HuffmanCodingStringCompression
class  KernelSimpleObservable
class  KernelMultipleObservable
class  MD5
class  Observable
class  SimpleObservable
class  MultipleObservable
class  Observer
class  CodingServices
class  Registrator
union  SHA1_WORKSPACE_BLOCK
class  SHA1
struct  sha512_ctx
class  SHA2
class  Singleton
class  SingletonHandle
class  SupervisedTask
class  StartupHandler
class  StartupIf
class  State
class  StateMachine
class  TimerMsg
class  TimerMgr
class  TaskWakeUpMsg
class  WatchdogTaskSupervisor
class  list
class  overWriteQueue
class  PriorityList
class  queue
class  vector
class  ClientNamedPipe
class  ServerNamedPipe
class  StubInterface
class  StubListener
class  Stub
class  DummyMsg
class  TestExecutor
class  TestFactory
class  TestSuite
struct  ErrorStatus
class  ErrorHandler
class  Factory
class  Future
class  Guard
class  Monitor
class  Msg
class  MemMsg
class  MsgHandler
class  MsgMgr

Typedefs

typedef bool(* CmdInterFp )(const char *)
typedef uint16 CmdInterId
typedef unsigned long long int uint64
typedef StartupIf *(* ComponentCreateFp )(void *argument)
typedef int(* IntFuncPtr )()
typedef void(* VoidFuncPtr )()
typedef unsigned int MsgId
typedef unsigned int TimerId
typedef unsigned int RefCounter
typedef signed char int8_t
typedef short int16_t
typedef long int32_t
typedef double int64_t
typedef unsigned char uint8_t
typedef unsigned short uint16_t
typedef unsigned long uint32_t
typedef double uint64_t
typedef signed char int_least8_t
typedef short int_least16_t
typedef long int_least32_t
typedef double int_least64_t
typedef unsigned char uint_least8_t
typedef unsigned short uint_least16_t
typedef unsigned long uint_least32_t
typedef double uint_least64_t
typedef int int_fast8_t
typedef int int_fast16_t
typedef int int_fast32_t
typedef double int_fast64_t
typedef unsigned int uint_fast8_t
typedef unsigned int uint_fast16_t
typedef unsigned int uint_fast32_t
typedef double uint_fast64_t
typedef long intptr_t
typedef unsigned long uintptr_t
typedef double intmax_t
typedef double uintmax_t

Enumerations

enum  CAN_MSG_TYPE {
  CAN_MSG_NMT = 0, CAN_MSG_SYNC = 1, CAN_MSG_PDO = 2, CAN_MSG_PDO1 = 3,
  CAN_MSG_PDO2 = 5, CAN_MSG_PDO3 = 7, CAN_MSG_PDO4 = 9, CAN_MSG_SDO = 11,
  CAN_MSG_NMT_ERROR = 12, CAN_MSG_GUARDING = 13, CAN_MSG_EMCY = 14
}
enum  LogFileDeviceIoCtlCmdEnum {
  LOG_FILE_DEVICE_SET_MAX_NUMBER_OF_FILES, LOG_FILE_DEVICE_SET_MAX_FILE_SIZE, LOG_FILE_DEVICE_SET_LOG_PATH, LOG_FILE_DEVICE_SET_BASE_FILE_NAME,
  LOG_FILE_DEVICE_SET_LOG_FILE_EXTENSION
}
enum  SerialDeviceIoCtlCmdEnum {
  SERIAL_DEVICE_SET_BAUDRATE, SERIAL_DEVICE_SET_CHAR_SIZE, SERIAL_DEVICE_SET_PARITY, SERIAL_DEVICE_SET_STOP_BITS,
  SERIAL_DEVICE_ENABLE_DUPLEX, SERIAL_DEVICE_SET_COMPORT
}
enum  SerialDeviceRetVal {
  SERIAL_DEVICE_INVALID_PARAMETER = -512, SERIAL_DEVICE_GET_COMM_STATE_FAILED = -513, SERIAL_DEVICE_SET_COMM_STATE_FAILED = -514, SERIAL_DEVICE_GET_COMM_TIMEOUTS_FAILED = -515,
  SERIAL_DEVICE_SET_COMM_TIMEOUTS_FAILED = -516, SERIAL_DEVICE_SET_COMM_MASK_FAILED = -517, SERIAL_DEVICE_EMPTY_BUFFERS_FAILED = -518, SERIAL_DEVICE_START_COMM_THREAD_FAILED = -519,
  SERIAL_DEVICE_NO_COMM_DEVICE = -520, SERIAL_DEVICE_RESTORE_COMM_STATE_FAILED = -521, SERIAL_DEVICE_RESTORE_COMM_TIMEOUTS_FAILED = -522, SERIAL_DEVICE_WAIT_COMM_EVENT_FAILED = -523,
  SERIAL_DEVICE_READ_FILE_FAILED = -524, SERIAL_DEVICE_TRANSFERRED_BYTES_INCORRECT = -525, SERIAL_DEVICE_WRITE_FILE_FAILED = -526, SERIAL_DEVICE_FATAL_ERROR = -527,
  SERIAL_DEVICE_STILL_WRITING = -528, SERIAL_DEVICE_INPUT_BUFFER_FULL = -529, SERIAL_DEVICE_OUTPUT_BUFFER_FULL = -530, SERIAL_DEVICE_INPUT_BUFFER_NOT_ENOUGH_DATA = -531,
  SERIAL_DEVICE_SETUP_COMM_FAILED = -532
}
enum  SerialPortRetVal {
  SERIAL_PORT_SUCCESS = 0, SERIAL_PORT_INVALID_PARAMETER = 1, SERIAL_PORT_PORT_ALREADY_OPEN = 2, SERIAL_PORT_OPEN_PORT_FAILED = 3,
  SERIAL_PORT_GET_COMM_STATE_FAILED = 4, SERIAL_PORT_SET_COMM_STATE_FAILED = 5, SERIAL_PORT_GET_COMM_TIMEOUTS_FAILED = 6, SERIAL_PORT_SET_COMM_TIMEOUTS_FAILED = 7,
  SERIAL_PORT_SET_COMM_MASK_FAILED = 8, SERIAL_PORT_EMPTY_BUFFERS_FAILED = 9, SERIAL_PORT_START_COMM_THREAD_FAILED = 10, SERIAL_PORT_NO_COMM_DEVICE = 11,
  SERIAL_PORT_RESTORE_COMM_STATE_FAILED = 12, SERIAL_PORT_RESTORE_COMM_TIMEOUTS_FAILED = 13, SERIAL_PORT_WAIT_COMM_EVENT_FAILED = 14, SERIAL_PORT_READ_FILE_FAILED = 15,
  SERIAL_PORT_TRANSFERRED_BYTES_INCORRECT = 16, SERIAL_PORT_WRITE_FILE_FAILED = 17, SERIAL_PORT_FATAL_ERROR = 18, SERIAL_PORT_STILL_WRITING = 19,
  SERIAL_PORT_INPUT_BUFFER_FULL = 20, SERIAL_PORT_OUTPUT_BUFFER_FULL = 21, SERIAL_PORT_INPUT_BUFFER_NOT_ENOUGH_DATA = 22, SERIAL_PORT_SETUP_COMM_FAILED = 23,
  SERIAL_PORT_READ_TIMEOUT = 24, SERIAL_PORT_WRITE_TIMEOUT = 25
}
enum  UDPDeviceEnum { UDP_DEVICE_PORT_RECEIVER = 0, UDP_DEVICE_PORT_SENDER = 1, UDP_DEVICE_IPADDRESS_RECEIVER = 2, UDP_DEVICE_IPADDRESS_SENDER = 3 }
enum  UDPDeviceError {
  UDP_DEVICE_SOCKET_ERROR = -21, UDP_DEVICE_BUFFER_OVERFLOW_ERROR = -22, UDP_DEVICE_CONNECTION_ERROR = -23, UDP_DEVICE_INVAILID_PARAM_ERROR = -24,
  UDP_DEVICE_CHANGE_BLOCKINGMODE_ERROR = -25
}
enum  CharDeviceIoCtrlCommands { CHAR_DEVICE_SET_BLOCKING = 100, CHAR_DEVICE_SET_TIMEOUT }
enum  SeekWhenceEnum { CHAR_DEVICE_SEEK_START, CHAR_DEVICE_SEEK_CURRENT, CHAR_DEVICE_SEEK_END }
enum  CharDeviceRetVal {
  CHAR_DEVICE_SUCCESS = 0, CHAR_DEVICE_GENERIC_FAILURE = -1, CHAR_DEVICE_OPEN_FAILED = -2, CHAR_DEVICE_CLOSE_FAILED = -3,
  CHAR_DEVICE_SEEK_FAILED = -4, CHAR_DEVICE_IOCTL_FAILED = -5, CHAR_DEVICE_WRITE_FAILED = -6, CHAR_DEVICE_READ_FAILED = -7,
  CHAR_DEVICE_NAME_TOO_LONG = -8, CHAR_DEVICE_WRITE_TIMEOUT = -9, CHAR_DEVICE_READ_TIMEOUT = -10, CHAR_DEVICE_NOT_OPEN = -11
}
enum  FileDeviceIoCtlCmdEnum { FILE_DEVICE_SET_FILE_ATTRIBUTES }
enum  FileMgrReturnCodes {
  FILE_MGR_SUCCESS = 0, FILE_MGR_DIR_NOT_FOUND = -0x800, FILE_MGR_NAME_TOO_LONG, FILE_MGR_FILESYS_INVALID,
  FILE_MGR_DIR_ALREADY_MOUNTED
}
enum  FileSysReturnCodes { FILE_SYS_SUCCESS = 0, FILE_SYS_REMOVE_FAILED = -0x800 }
enum  TcpServerDeviceIoCtlCmdEnum { TCPSERVER_DEVICE_SET_KEEPALIVE, TCPSERVER_DEVICE_SET_HOST, TCPSERVER_DEVICE_SET_PORT, TCPSERVER_DEVICE_CONNECT_ON_OPEN }
enum  TcpServerDeviceRetVal { TCPSERVER_DEVICE_CONNECTION_ABORTED = -512, TCPSERVER_DEVICE_CONNECTION_CLOSED }
enum  LogLevel { LOG_ERROR = 0, LOG_WARNING = 1, LOG_INFO = 2, LOG_DEBUG = 3 }
enum  LogDevice { ERROR_LOG_DEVICE = 0, DEBUG_LOG_DEVICE = 1 }
enum  ErrorTypeEnum { ERROR_HANDLER_NO_ERROR = 0, ERROR_HANDLER_WARNING = 1, ERROR_HANDLER_ERROR = 2, ERROR_HANDLER_ASSERT = 3 }
enum  KernelServicesMsgIds { MSG_CAN_OPEN = BBVPKG_COMMUNICATIONSERVICES_CAN_MSG_ID }

Functions

void CanOpen (char *portName)
void CanClose ()
unsigned char CanSend (unsigned short CANStandard11Identifier, unsigned char *pData, unsigned short dataLength, unsigned char destinationPriority)
void watch ()
int wasWatchdogReset ()
void dumpWatchdogInfo ()
void handleWatchdogReset ()
int isInitialized ()
void installInitializedCallback (VoidFuncPtr pCallback)
template<class InIt , class Op >
Op for_each (InIt first, InIt last, Op f)
template<class T >
void swap (T &a, T &b)
template<class T1 , class T2 >
void iter_swap (T1 pa, T2 pb)
template<class T >
const T &() min (const T &a, const T &b)
template<class T >
const T &() max (const T &a, const T &b)
template<class OutIt , class T >
void fill (OutIt first, OutIt last, const T &value)
template<class FwdIt , class Size , class T >
FwdIt fill_n (FwdIt first, Size n, const T &value)
template<class OutIt , class Gen >
void generate (OutIt first, OutIt last, Gen gen)
template<class FwdIt , class Size , class Gen >
FwdIt generate_n (FwdIt first, Size n, Gen gen)
template<class FwdIt , class T >
FwdIt find (FwdIt first, FwdIt last, const T &value)
template<class FwdIt , class Pred >
FwdIt find_if (FwdIt first, FwdIt last, Pred pred)
template<class FwdIt >
FwdIt min_element (FwdIt first, FwdIt last)
template<class FwdIt , class Cmp >
FwdIt min_element (FwdIt first, FwdIt last, Cmp comp)
template<class FwdIt >
FwdIt max_element (FwdIt first, FwdIt last)
template<class FwdIt , class Cmp >
FwdIt max_element (FwdIt first, FwdIt last, Cmp comp)
template<class BidIt >
void sort (BidIt first, BidIt last)
template<class BidIt , class Cmp >
void sort (BidIt first, BidIt last, Cmp comp)
bool matches (const char *specifier, const char *name)
const char * extractNestedSpec (const char *specifier)

Variables

const uint16 MSG_LEN = 8
const uint8 SERIAL_DEVICE_DEFAULT_COM_PORT = BBVINT_DEVICESERVICES_DEFAULT_SERIAL_PORT_ID
const uint32 SERIAL_DEVICE_DEFAULT_BAUDRATE = BBVINT_DEVICESERVICES_DEFAULT_SERIAL_PORT_BAUDRATE
const uint8 SERIAL_DEVICE_DEFAULT_CHAR_SIZE = SERIAL_DEVICE_WORD_LENGTH_8
const uint8 SERIAL_DEVICE_DEFAULT_PARITY = SERIAL_DEVICE_NOPARITY
const uint8 SERIAL_DEVICE_DEFAULT_STOP_BITS = SERIAL_DEVICE_ONESTOPBIT
const uint8 SERIAL_DEVICE_DEFAULT_BLOCKING = true
const uint32 SERIAL_DEVICE_DEFAULT_TIMEOUT = SERIAL_DEVICE_INFINITE
const uint16 SERIAL_DEVICE_NR_OF_BAUDRATES = SP_NR_OF_BAUDRATES
const uint32 SERIAL_DEVICE_BAUD_110 = SPBR_110
const uint32 SERIAL_DEVICE_BAUD_300 = SPBR_300
const uint32 SERIAL_DEVICE_BAUD_600 = SPBR_600
const uint32 SERIAL_DEVICE_BAUD_1200 = SPBR_1200
const uint32 SERIAL_DEVICE_BAUD_2400 = SPBR_2400
const uint32 SERIAL_DEVICE_BAUD_4800 = SPBR_4800
const uint32 SERIAL_DEVICE_BAUD_9600 = SPBR_9600
const uint32 SERIAL_DEVICE_BAUD_14400 = SPBR_14400
const uint32 SERIAL_DEVICE_BAUD_19200 = SPBR_19200
const uint32 SERIAL_DEVICE_BAUD_38400 = SPBR_38400
const uint32 SERIAL_DEVICE_BAUD_56000 = SPBR_56000
const uint32 SERIAL_DEVICE_BAUD_57600 = SPBR_57600
const uint32 SERIAL_DEVICE_BAUD_115200 = SPBR_115200
const uint32 SERIAL_DEVICE_BAUD_128000 = SPBR_128000
const uint32 SERIAL_DEVICE_BAUD_256000 = SPBR_256000
const uint16 SERIAL_DEVICE_NR_OF_PARITY_TYPES = SP_NR_OF_PARITY_TYPES
const uint8 SERIAL_DEVICE_NOPARITY = SP_NOPARITY
const uint8 SERIAL_DEVICE_ODDPARITY = SP_ODDPARITY
const uint8 SERIAL_DEVICE_EVENPARITY = SP_EVENPARITY
const uint8 SERIAL_DEVICE_MARKPARITY = SP_MARKPARITY
const uint8 SERIAL_DEVICE_SPACEPARITY = SP_SPACEPARITY
const uint16 SERIAL_DEVICE_NR_OF_STOPBIT_TYPES = SP_NR_OF_STOPBIT_TYPES
const uint8 SERIAL_DEVICE_ONESTOPBIT = SP_ONESTOPBIT
const uint8 SERIAL_DEVICE_ONE5STOPBITS = SP_ONE5STOPBITS
const uint8 SERIAL_DEVICE_TWOSTOPBITS = SP_TWOSTOPBITS
const uint32 SERIAL_DEVICE_INFINITE = SP_INFINITE
const uint32 SERIAL_DEVICE_HUNDRED = SP_HUNDRED
const uint32 SERIAL_DEVICE_THOUSAND = SP_THOUSAND
const uint8 SERIAL_DEVICE_WORD_LENGTH_7 = 7
const uint8 SERIAL_DEVICE_WORD_LENGTH_8 = 8
const WORD SIZE_INPUT_BUFFER = 1024
const WORD SIZE_OUTPUT_BUFFER = 1024
const WORD SIZE_DRV_IN_BUFFER = 1024
const WORD SIZE_DRV_OUT_BUFFER = 1024
const DWORD DEFAULT_COMM_MASK = 0
const DWORD DEFAULT_READ_INTERVAL_TIMEOUT = 0
const DWORD DEFAULT_READ_TIMEOUT_CONSTANT = 1000
const DWORD DEFAULT_READ_TIMEOUT_MULTIPLIER = 1000
const DWORD DEFAULT_WRITE_TIMEOUT_CONSTANT = 1000
const DWORD DEFAULT_WRITE_TIMEOUT_MULTIPLIER = 1000
const WORD NR_OF_EVENTS = 5
const uint16 SP_NR_OF_BAUDRATES = 15
const uint32 SPBR_110 = 110
const uint32 SPBR_300 = 300
const uint32 SPBR_600 = 600
const uint32 SPBR_1200 = 1200
const uint32 SPBR_2400 = 2400
const uint32 SPBR_4800 = 4800
const uint32 SPBR_9600 = 9600
const uint32 SPBR_14400 = 14400
const uint32 SPBR_19200 = 19200
const uint32 SPBR_38400 = 38400
const uint32 SPBR_56000 = 56000
const uint32 SPBR_57600 = 57600
const uint32 SPBR_115200 = 115200
const uint32 SPBR_128000 = 128000
const uint32 SPBR_256000 = 256000
const uint16 SP_NR_OF_PARITY_TYPES = 5
const uint8 SP_NOPARITY = 0
const uint8 SP_ODDPARITY = 1
const uint8 SP_EVENPARITY = 2
const uint8 SP_MARKPARITY = 3
const uint8 SP_SPACEPARITY = 4
const uint16 SP_NR_OF_STOPBIT_TYPES = 3
const uint8 SP_ONESTOPBIT = 0
const uint8 SP_ONE5STOPBITS = 1
const uint8 SP_TWOSTOPBITS = 2
const uint16 SP_NR_OF_TIMEOUT_TYPES = 3
const uint32 SP_INFINITE = 0xFFFFFFFF
const uint32 SP_HUNDRED = 100
const uint32 SP_THOUSAND = 1000
const char FILE_DEVICE_DEFAULT_SET_FILE_ATTRIBUTES [6] = "r+b"
const uint32 NULL_DEVICE_READ_BLOCKING_TIME = BBVINT_DEVICESERVICES_NULL_DEVICE_READ_BLOCKING_TIME
const uint16 MAX_BUFFER_LOG_SIZE = BBVPKG_DIAGNOSTICSERVICES_BUFFERLOG_MAX_BUFFER_LOG_SIZE
const uint16 CMD_INTER_MAX_CMD_NAME_SIZE = BBVPKG_DIAGNOSTICSERVICES_CMDINTERPRETER_CMDMAXCMDNAMESIZE_SIZE
const uint16 CMD_INTER_MAX_CMD_PARAM_SIZE = BBVPKG_DIAGNOSTICSERVICES_CMDINTERPRETER_CMDMAXCMDPARAM_SIZE
const uint16 CMD_INTER_MAX_CMD_HISTORY_SIZE = BBVPKG_DIAGNOSTICSERVICES_CMDINTERPRETER_CMDHISTORY_SIZE
const uint16 MAX_CMD_BUFFER_SIZE = BBVPKG_DIAGNOSTICSERVICES_CMDINTERPRETER_CMDBUFFER_SIZE
const unsigned char LINE_FEED = 10
const unsigned char CARRIAGE_RETURN = 13
const unsigned char SPECIAL_KEY = 224
const char CHARACTER_SET [] = "*0123456789:=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ?<>-"
const uint16 MAX_NR_OF_LOG_FILTER_ITEMS
const uint16 MAX_LOG_BUFFER_SIZE
const uint16 MAX_NR_OF_LOG_MSGS = BBVPKG_DIAGNOSTICSERVICES_LOGMSGMANAGER_MAXNROFLOGMSGS
const int MaxNumberOfStates_C = BBVPKG_PATTERNSERVICES_STATEMACHINE_MAX_NUMBER_OF_STATES + 1
static DWORD PipeBufferSize_C = BBVINT_SIMULATIONSERVICES_PIPE_BUFFER_SIZE
const unsigned char NumberOfBuffers_C = BBVPKG_UNITTESTSERVICES_STUB_LOGBUFFER_NUMBER
const TaskId ActivityLogTaskId_C = 61
const char ActivityLogTaskName_C [] = "tActivLog"
const unsigned int ActivityLogTaskMsgQ_C = 200
const TaskPriority ActivityLogTaskPriority_C = 31
const TaskId WdogTaskSupervisorTaskId_C = 63
const char WdogTaskSupervisorTaskName_C [] = "tWdogSprv"
const unsigned int WdogTaskSupervisorTaskMsgQ_C = 10
const TaskPriority WdogTaskSupervisorTaskPriority_C = 5
const TaskId LowestTaskID_C = 59
const TaskId HighestTaskID_C = WdogTaskSupervisorTaskId_C
const unsigned char NrOfBytes_C = BBVINT_KERNELSERVICES_MSG_MESSAGE_SIZE
const int MaxNrOfMsgs_C = BBVINT_KERNELSERVICES_MSGMGR_QUEUE_SIZE
Timeouts

const uint32 TCPSERVER_DEVICE_INFINITE = 0xFFFFFFFF
Invalid Socket

const int8 TCPSERVER_DEVICE_INVALIDE_SOCKET = -1

Typedef Documentation

typedef StartupIf*(* ApparatusFramework::ComponentCreateFp)(void *argument)

Definition at line 56 of file StartupIf.h.

Definition at line 53 of file stdint.h.

Definition at line 54 of file stdint.h.

Definition at line 55 of file stdint.h.

typedef signed char ApparatusFramework::int8_t

Definition at line 52 of file stdint.h.

Definition at line 73 of file stdint.h.

Definition at line 74 of file stdint.h.

Definition at line 75 of file stdint.h.

Definition at line 72 of file stdint.h.

Definition at line 63 of file stdint.h.

Definition at line 64 of file stdint.h.

Definition at line 65 of file stdint.h.

typedef signed char ApparatusFramework::int_least8_t

Definition at line 62 of file stdint.h.

Definition at line 85 of file stdint.h.

Definition at line 82 of file stdint.h.

typedef unsigned int ApparatusFramework::MsgId

Definitions

Definition at line 58 of file Msg.h.

typedef unsigned int ApparatusFramework::RefCounter

Definition at line 60 of file Msg.h.

typedef unsigned int ApparatusFramework::TimerId

Definition at line 59 of file Msg.h.

typedef unsigned short ApparatusFramework::uint16_t

Definition at line 58 of file stdint.h.

typedef unsigned long ApparatusFramework::uint32_t

Definition at line 59 of file stdint.h.

typedef unsigned long long int ApparatusFramework::uint64

Definition at line 51 of file MD5.h.

Definition at line 60 of file stdint.h.

typedef unsigned char ApparatusFramework::uint8_t

Definition at line 57 of file stdint.h.

typedef unsigned int ApparatusFramework::uint_fast16_t

Definition at line 78 of file stdint.h.

typedef unsigned int ApparatusFramework::uint_fast32_t

Definition at line 79 of file stdint.h.

Definition at line 80 of file stdint.h.

typedef unsigned int ApparatusFramework::uint_fast8_t

Definition at line 77 of file stdint.h.

typedef unsigned short ApparatusFramework::uint_least16_t

Definition at line 68 of file stdint.h.

typedef unsigned long ApparatusFramework::uint_least32_t

Definition at line 69 of file stdint.h.

Definition at line 70 of file stdint.h.

typedef unsigned char ApparatusFramework::uint_least8_t

Definition at line 67 of file stdint.h.

Definition at line 86 of file stdint.h.

typedef unsigned long ApparatusFramework::uintptr_t

Definition at line 83 of file stdint.h.


Enumeration Type Documentation

defines the commands used with ioCtl function Commands for ioCtl each device understands DO NOT USE NUMBERS ABOVE 100 IN YOUR DEVICES

Enumerator:
CHAR_DEVICE_SET_BLOCKING 

Read/Write methods block upon call

CHAR_DEVICE_SET_TIMEOUT 

Timeout for blocking read methods

Definition at line 66 of file CharDevice.h.

KernelServicesIds

Enumerator:
MSG_CAN_OPEN 

Definition at line 56 of file KeSeMsgIds.h.

Defines the values for the whence parameter.

Enumerator:
CHAR_DEVICE_SEEK_START 

start operation at beginning of 'file'

CHAR_DEVICE_SEEK_CURRENT 

start operation at actual position of 'file'

CHAR_DEVICE_SEEK_END 

start operation at the end of 'file'

Definition at line 73 of file CharDevice.h.

Commands supported by ioCtl

Enumerator:
SERIAL_DEVICE_SET_BAUDRATE 

Can be one of Baudrate definition

SERIAL_DEVICE_SET_CHAR_SIZE 

Can be one of CharacterSize definition

SERIAL_DEVICE_SET_PARITY 

Can be one of Parity definition

SERIAL_DEVICE_SET_STOP_BITS 

Can be one of Stopbit definition

SERIAL_DEVICE_ENABLE_DUPLEX 

Can be true or false to enable or disable fullduplex support for RS485 communication

SERIAL_DEVICE_SET_COMPORT 

Can be one of Comport

Definition at line 118 of file SerialDeviceCodes.h.

Serial Device Return Values. Please note that additional generic error codes are defined for all char devices.

Enumerator:
SERIAL_DEVICE_INVALID_PARAMETER 
SERIAL_DEVICE_GET_COMM_STATE_FAILED 
SERIAL_DEVICE_SET_COMM_STATE_FAILED 
SERIAL_DEVICE_GET_COMM_TIMEOUTS_FAILED 
SERIAL_DEVICE_SET_COMM_TIMEOUTS_FAILED 
SERIAL_DEVICE_SET_COMM_MASK_FAILED 
SERIAL_DEVICE_EMPTY_BUFFERS_FAILED 
SERIAL_DEVICE_START_COMM_THREAD_FAILED 
SERIAL_DEVICE_NO_COMM_DEVICE 
SERIAL_DEVICE_RESTORE_COMM_STATE_FAILED 
SERIAL_DEVICE_RESTORE_COMM_TIMEOUTS_FAILED 
SERIAL_DEVICE_WAIT_COMM_EVENT_FAILED 
SERIAL_DEVICE_READ_FILE_FAILED 
SERIAL_DEVICE_TRANSFERRED_BYTES_INCORRECT 
SERIAL_DEVICE_WRITE_FILE_FAILED 
SERIAL_DEVICE_FATAL_ERROR 
SERIAL_DEVICE_STILL_WRITING 
SERIAL_DEVICE_INPUT_BUFFER_FULL 
SERIAL_DEVICE_OUTPUT_BUFFER_FULL 
SERIAL_DEVICE_INPUT_BUFFER_NOT_ENOUGH_DATA 
SERIAL_DEVICE_SETUP_COMM_FAILED 

Definition at line 132 of file SerialDeviceCodes.h.

Enumerator:
UDP_DEVICE_PORT_RECEIVER 
UDP_DEVICE_PORT_SENDER 
UDP_DEVICE_IPADDRESS_RECEIVER 
UDP_DEVICE_IPADDRESS_SENDER 

Definition at line 55 of file UDPDevice.h.

Enumerator:
UDP_DEVICE_SOCKET_ERROR 
UDP_DEVICE_BUFFER_OVERFLOW_ERROR 
UDP_DEVICE_CONNECTION_ERROR 
UDP_DEVICE_INVAILID_PARAM_ERROR 
UDP_DEVICE_CHANGE_BLOCKINGMODE_ERROR 

Definition at line 65 of file UDPDevice.h.


Variable Documentation

Definition at line 76 of file KeSeTaskIds.h.

Definition at line 78 of file KeSeTaskIds.h.

const char ApparatusFramework::ActivityLogTaskName_C[] = "tActivLog"

Definition at line 77 of file KeSeTaskIds.h.

Definition at line 79 of file KeSeTaskIds.h.

const unsigned char ApparatusFramework::CARRIAGE_RETURN = 13

Definition at line 78 of file CmdInter.h.

const char ApparatusFramework::CHARACTER_SET[] = "*0123456789:=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ?<>-"

Definition at line 80 of file CmdInter.h.

const uint16 ApparatusFramework::CMD_INTER_MAX_CMD_HISTORY_SIZE = BBVPKG_DIAGNOSTICSERVICES_CMDINTERPRETER_CMDHISTORY_SIZE

Definition at line 73 of file CmdInter.h.

const uint16 ApparatusFramework::CMD_INTER_MAX_CMD_NAME_SIZE = BBVPKG_DIAGNOSTICSERVICES_CMDINTERPRETER_CMDMAXCMDNAMESIZE_SIZE

Constants

Definition at line 71 of file CmdInter.h.

const uint16 ApparatusFramework::CMD_INTER_MAX_CMD_PARAM_SIZE = BBVPKG_DIAGNOSTICSERVICES_CMDINTERPRETER_CMDMAXCMDPARAM_SIZE

Definition at line 72 of file CmdInter.h.

Definition at line 63 of file SerialPort.h.

Definition at line 67 of file SerialPort.h.

Definition at line 68 of file SerialPort.h.

Definition at line 69 of file SerialPort.h.

Definition at line 70 of file SerialPort.h.

Definition at line 71 of file SerialPort.h.

Definition at line 69 of file FileDevice.h.

Definition at line 101 of file KeSeTaskIds.h.

const unsigned char ApparatusFramework::LINE_FEED = 10

Definition at line 77 of file CmdInter.h.

Definition at line 100 of file KeSeTaskIds.h.

const uint16 ApparatusFramework::MAX_CMD_BUFFER_SIZE = BBVPKG_DIAGNOSTICSERVICES_CMDINTERPRETER_CMDBUFFER_SIZE

Definition at line 74 of file CmdInter.h.

const int ApparatusFramework::MaxNumberOfStates_C = BBVPKG_PATTERNSERVICES_STATEMACHINE_MAX_NUMBER_OF_STATES + 1

constants Holds the maximum number of states for a state machine. The id of the top parent state is 0. Therefore it is not allowed to use 0 as state id. This makes the increase of 1 necessary as the states are stored inside an array and are indexed with the state id.

Definition at line 60 of file StateMachine.h.

Definition at line 74 of file SerialPort.h.

const uint32 ApparatusFramework::NULL_DEVICE_READ_BLOCKING_TIME = BBVINT_DEVICESERVICES_NULL_DEVICE_READ_BLOCKING_TIME

Definition at line 53 of file NullDevice.h.

const unsigned char ApparatusFramework::NumberOfBuffers_C = BBVPKG_UNITTESTSERVICES_STUB_LOGBUFFER_NUMBER

Defines the maximum number of log entries for one stub.

Definition at line 110 of file Stub.h.

Referenced by ApparatusFramework::Stub< maxLogSize >::clearLog(), and ApparatusFramework::Stub< maxLogSize >::getLogBuffer().

DWORD ApparatusFramework::PipeBufferSize_C = BBVINT_SIMULATIONSERVICES_PIPE_BUFFER_SIZE [static]

Definition at line 50 of file ServerNamedPipe.h.

const uint32 ApparatusFramework::SERIAL_DEVICE_DEFAULT_BAUDRATE = BBVINT_DEVICESERVICES_DEFAULT_SERIAL_PORT_BAUDRATE

Definition at line 53 of file SerialDevice.h.

Definition at line 57 of file SerialDevice.h.

Definition at line 54 of file SerialDevice.h.

const uint8 ApparatusFramework::SERIAL_DEVICE_DEFAULT_COM_PORT = BBVINT_DEVICESERVICES_DEFAULT_SERIAL_PORT_ID

Definition at line 52 of file SerialDevice.h.

Definition at line 55 of file SerialDevice.h.

Definition at line 56 of file SerialDevice.h.

Definition at line 58 of file SerialDevice.h.

Definition at line 58 of file SerialPort.h.

Definition at line 59 of file SerialPort.h.

Definition at line 53 of file SerialPort.h.

Definition at line 54 of file SerialPort.h.

Definition at line 108 of file SerialPortIf.h.

Definition at line 121 of file SerialPortIf.h.

Definition at line 120 of file SerialPortIf.h.

Definition at line 109 of file SerialPortIf.h.

Definition at line 106 of file SerialPortIf.h.

Definition at line 87 of file SerialPortIf.h.

Definition at line 105 of file SerialPortIf.h.

Definition at line 113 of file SerialPortIf.h.

Definition at line 119 of file SerialPortIf.h.

Definition at line 107 of file SerialPortIf.h.

Definition at line 115 of file SerialPortIf.h.

Definition at line 114 of file SerialPortIf.h.

Definition at line 110 of file SerialPortIf.h.

Definition at line 122 of file SerialPortIf.h.

Definition at line 116 of file SerialPortIf.h.

Definition at line 88 of file SerialPortIf.h.

Definition at line 100 of file SerialPortIf.h.

Definition at line 91 of file SerialPortIf.h.

Definition at line 101 of file SerialPortIf.h.

Definition at line 95 of file SerialPortIf.h.

Definition at line 96 of file SerialPortIf.h.

Definition at line 92 of file SerialPortIf.h.

Definition at line 102 of file SerialPortIf.h.

Definition at line 89 of file SerialPortIf.h.

Definition at line 97 of file SerialPortIf.h.

Definition at line 93 of file SerialPortIf.h.

Definition at line 98 of file SerialPortIf.h.

Definition at line 99 of file SerialPortIf.h.

Definition at line 90 of file SerialPortIf.h.

Definition at line 94 of file SerialPortIf.h.

const unsigned char ApparatusFramework::SPECIAL_KEY = 224

Definition at line 79 of file CmdInter.h.

Definition at line 53 of file TcpServerDeviceCodes.h.

Definition at line 60 of file TcpServerDeviceCodes.h.

Definition at line 94 of file KeSeTaskIds.h.

Definition at line 96 of file KeSeTaskIds.h.

Definition at line 95 of file KeSeTaskIds.h.

Definition at line 97 of file KeSeTaskIds.h.

© 2004-2010 bbv Software Services AG / Apparatus Services