stec-platform
Platform

Classes

struct  AlarmStructure
 The AlarmStructure class. More...
 
class  AlarmAbstractTableModel
 The AlarmAbstractTableModel class. More...
 
class  algo::smath
 The smath class in group platformlib. More...
 
class  algo::vmath
 vmath mostly used for clar, does array math More...
 
class  algo::DbxDistributionFilter
 class DbxDistributionFilter DbxDistributionFilter is a simple class for online filtering of non-equidistant values into equidistant data. The employed filter algorithm tries to be as close as possible to the original data being fed to it. Depending on the situation it either uses averaging of or linear interpolation between the values. No history data arrays or loops are being used excepts when interpolating between 2 distant points. Smart filter needs to know about the direction of filtering in order to properly assign the axis. The axis coordinates can either be a position (or alike) for filtering of data in cross direction, or the time for filtering in machine direction, millisecond timestamps can be provided automatically, Depending on what insertValue() member function will be used to feed the values to the smart filter. As soon as there is enough data available to calculate the next filtered value(s), smart filter will do so and then automatically envoke the virtual filteredValue() function once for each value pair. When data collection has been finished, e.g. the scanner stops / reverses, or an edge of sheet got detected, the flushValue() member function should be called to flush eventually incomplete values, normally this happens automatically once an edge of e.g. a databox got reached or crossed. The step size of the output axis can be set to any value, default is 1, e.g. 1 databox, or 1 second,so this class can also be used to shrink or expand data arrays in a very flexible way, e.g. a step size of 2 would cause all values coming in for 2 databoxes to be averaged into a single databox. The other useful feature is the linear interpolation if some data points are missing, so smart filter will act as a hole filter here and fill up the gap with values interpolated between the edges values. More...
 
class  algo::MeanAverage
 class MeanAverage in group platformlib More...
 
class  algo::SUMMER< T >
 SUMMER. More...
 
class  algo::VremMask
 The VremMask class Network Mask Utility for Automap. More...
 
class  ADI::AutoQTcpDistribution
 The AutoQTcpDistribution class. More...
 
class  ADI::Codex
 The Codex class Codex for message from stdcomQt2 and also autoreconnect. More...
 
class  ADI::AutoQTcpServer
 The AutoQTcpServer class This is a level #1 layer class.. It does all the connections to all the nodes contained within the segment. More...
 
class  ADI::AutoQTcpSubClient
 The AutoQTcpSubClient class. More...
 
class  USER_APP::VQThread
 The VQThread class. More...
 
class  CStrLog
 The CStrLog class string utility This is a simple string utility for use with QWatch.. It was first used to debug clex plugin for any figure 8 operations. once Clar and CLex goes away this will too leave as it will become superfluous. More...
 
class  Definitions
 The Definitions class, defied where retained items are stored and retained for projects. More...
 
class  GlobalSubscription
 The GlobalSubscription class creates a global subscription this node become the owner of. More...
 
class  MemoryAtom
 The MemoryAtom class Shared memory atom for use by platform ownership of data per node. More...
 
class  MemoryHeap
 The MemoryHeap class provides a memory atom for use anywhere based on insert and rules for memory atoms. More...
 
class  PersistenceSettingRetention
 The PersistenceSettingRetention class retention of subscription data that is used within mutilverse for setup data. More...
 
class  RecursiveLock
 The RecursiveLock class Allows a recursive read write lock to occur. More...
 
class  DLock< T >
 The DLock class Lock for storage of data. More...
 
class  DRWLock< T >
 The DRWLock class. More...
 
struct  TP< T >
 The TP class. More...
 
class  AUTOD< T >
 The AUTOD class. More...
 
class  PluginClass
 The PluginClass class the base for all plugin. More...
 
class  PluginItem
 The PluginItem class this is the way to load a plugin into multiverse it is used in scancontrol and such to load and track plugins. More...
 
class  PluginLoader
 PluginLoader. More...
 
class  PublicationRegistration
 The PublicationRegistration Multiverse Cloud. More...
 
class  QWatch
 The QWatch class. More...
 
class  ReplyBlock
 The ReplyBlock class ReplyBlock reply block thread so it can be used again and again. This is quite a useful thread, it operates like QNX Reply blocking concept. Only running when someone tells it to. It handles all the signally and exits automatically when completed. Know what you are doing if you want to use this thread! More...
 
class  ResidentSubscription
 The ResidentSubscription class This is used by remote executables and makes up for the fact we do not use publishers. Essentually, this is a publisher. When it connects to any peer, it broadcasts the values making it by default the publisher. More...
 
class  Retain
 The Retain class this retains data from a subscription, generally used for setup data so subscriptions can retain data though a restart or power off on sequence. More...
 
struct  PluginA
 The PluginA class. More...
 
class  SetupConfiguration
 The SetupConfiguration class. More...
 
class  Subscription
 The Subscription class A platform subscriber must use or inheit this class. More...
 
class  SubscriptionAbstractTableModel
 The SubscriptionAbstractTableModel class used for things like alarms and such. More...
 
class  TalkThread
 The TalkThread class thread which mounts a lib or plugin. More...
 
class  cyo::Transceiver
 The Transceiver class interprocess commununication transceiver. More...
 
class  VQSettings
 The VQSettings class base for VSETTINGS used to write a qt ini for a project. More...
 
class  VremThread
 The VremThread class Vremthead is a normal thread, but is constructed so that the loader or vrem program or opc or whatever, has a hook to close the thread down. This should be used for threading by vrem plugins, this allows the vrem platform to close and clean up threads correctly. The user does not need to worry about clean up. More...
 

Functions

template<typename InputIterator , typename OutputIterator >
OutputIterator algo::vCopy (InputIterator begin, InputIterator end, OutputIterator dest)
 template vCopy in group platformlib copy from one to another More...
 
template<typename BiIterator1 , typename BiIterator2 >
BiIterator2 algo::vCopyBackward (BiIterator1 begin, BiIterator1 end, BiIterator2 dest)
 vCopyBackward More...
 
template<typename InputIterator1 , typename InputIterator2 >
bool algo::vEqual (InputIterator1 first1, InputIterator1 last1, InputIterator2 first2)
 vEqual More...
 
template<class T >
void algo::VCast (const VremVArray &si1, T *dst)
 VCast. More...
 
template<class T >
void algo::VCast (const QVariantList &si1, T *dst)
 VCast. More...
 
template<typename ForwardIterator , typename T >
void algo::vFill (ForwardIterator first, ForwardIterator last, const T &val)
 vFill More...
 
template<typename Container , typename T >
void algo::vFill (Container &container, const T &val)
 vFill More...
 
static QVariant algo::vmath::pow_xy (QVariant x, int rs)
 pow_xy Raises X to power of rs More...
 
QVariant algo::vmath::poly (QVariant x, int degree, QVariantList coeff)
 poly retuns the value of y based on degrees of freedom and coeffe More...
 
static void algo::vmath::regression_clear (REGRESSION *rg)
 regression_clear clears regression table More...
 
static void algo::vmath::regression_a (REGRESSION *rg, double *x, double *y, int count)
 regression_a computes linear regression on rg structure More...
 
void USER_APP::PopulateCloud (void(*func)(void *, USER_APP::Placement), void *pram=0)
 PopulateCloud. More...
 
void USER_APP::CloseCloud ()
 if NULL is passed, the VSetting will get this from valid projects set by SetProject and/or Directory More...
 
void USER_APP::SetProjectName (char *name)
 SetProjectName. More...
 
void USER_APP::SetProjectDirectory (char *dir)
 SetProjectDirectory. More...
 
const char * USER_APP::GetProjectName (void)
 GetProjectName. More...
 
const char * USER_APP::GetProjectDirectory (void)
 GetProjectDirectory. More...
 
bool PLATFORMSHARED_EXPORT readXmlFile (QIODevice &device, QSettings::SettingsMap &map)
 readXmlFile More...
 
bool PLATFORMSHARED_EXPORT writeXmlFile (QIODevice &device, const QSettings::SettingsMap &map)
 writeXmlFile More...
 
void PLATFORMSHARED_EXPORT createSettingsFormat ()
 createSettingsFormat
 
template<class T >
VClear (void)
 VClear. More...
 
 cyo::Transceiver::Transceiver ()
 Transceiver.
 

Variables

QSettings::Format PLATFORMSHARED_EXPORT XmlFormat
 XmlFormat.
 
QSettings PLATFORMSHARED_EXPORT * vssettings
 vssettings
 

Detailed Description

This is the main multiverse lib

Function Documentation

◆ CloseCloud()

PLATFORMSHARED_EXPORT void USER_APP::CloseCloud ( )

if NULL is passed, the VSetting will get this from valid projects set by SetProject and/or Directory

CloseCloud close the world.. this should close the world and the qthread

◆ GetProjectDirectory()

PLATFORMSHARED_EXPORT const char * USER_APP::GetProjectDirectory ( void  )

GetProjectDirectory.

Returns
if not using Windoze registers, but rather a directory... then this is where to get it.

◆ GetProjectName()

PLATFORMSHARED_EXPORT const char * USER_APP::GetProjectName ( void  )

GetProjectName.

Returns
void this is used so if parameters are save by project name, they can be retrieve by such. so no parameter passing should be necessary

◆ poly()

QVariant algo::vmath::poly ( QVariant  x,
int  degree,
QVariantList  coeff 
)
inline

poly retuns the value of y based on degrees of freedom and coeffe

Parameters
x
degree
coeff
Returns

◆ PopulateCloud()

PLATFORMSHARED_EXPORT void USER_APP::PopulateCloud ( void(*)(void *, USER_APP::Placement)  func,
void *  pram = 0 
)

PopulateCloud.

Parameters
pramstart the ball... should start the vremcore3 for a single instance of this application and or DLL instance function must be a function you wish to do prior to call to QCoreApplication paramenter to call to the function

◆ pow_xy()

static QVariant algo::vmath::pow_xy ( QVariant  x,
int  rs 
)
inlinestatic

pow_xy Raises X to power of rs

Parameters
x
rs
Returns

◆ readXmlFile()

bool PLATFORMSHARED_EXPORT readXmlFile ( QIODevice &  device,
QSettings::SettingsMap &  map 
)

readXmlFile

Definitions files.

Parameters
device
map
Returns

◆ regression_a()

void algo::vmath::regression_a ( vmath::REGRESSION rg,
double *  x,
double *  y,
int  count 
)
static

regression_a computes linear regression on rg structure

Parameters
rg
x
y
countComputes linear regression of x and y variables

Where *rg = setpoint (REGRESSION *) *x = x values (double *) *y = y values (double *) count = points to plot (int )

Returns Void

◆ regression_clear()

void algo::vmath::regression_clear ( vmath::REGRESSION rg)
static

regression_clear clears regression table

Parameters
rgResets a REGRESSION structure

DESCRIPTION: Clears the table, sould be done before any calculations are are started.

NOTES: Must be run on structure before any calculations or accumuations are attempte

◆ SetProjectDirectory()

PLATFORMSHARED_EXPORT void USER_APP::SetProjectDirectory ( char *  dir)

SetProjectDirectory.

Parameters
dirif not using Windoze registers, but rather a directory... then this is where to get it.

◆ SetProjectName()

PLATFORMSHARED_EXPORT void USER_APP::SetProjectName ( char *  name)

SetProjectName.

Parameters
namethis is used so if parameters are save by project name, they can be retrieve by such. so no parameter passing should be necessary

◆ VCast() [1/2]

template<class T >
void algo::VCast ( const QVariantList &  si1,
T *  dst 
)

VCast.

Parameters
si1
dst

◆ VCast() [2/2]

template<class T >
void algo::VCast ( const VremVArray &  si1,
T *  dst 
)

VCast.

Parameters
si1
dst

◆ VClear()

template<class T >
T VClear ( void  )

VClear.

Returns

◆ vCopy()

template<typename InputIterator , typename OutputIterator >
OutputIterator algo::vCopy ( InputIterator  begin,
InputIterator  end,
OutputIterator  dest 
)
inline

template vCopy in group platformlib copy from one to another

Parameters
begin
end
dest
Returns

◆ vCopyBackward()

template<typename BiIterator1 , typename BiIterator2 >
BiIterator2 algo::vCopyBackward ( BiIterator1  begin,
BiIterator1  end,
BiIterator2  dest 
)
inline

vCopyBackward

Parameters
begin
end
dest
Returns

◆ vEqual()

template<typename InputIterator1 , typename InputIterator2 >
bool algo::vEqual ( InputIterator1  first1,
InputIterator1  last1,
InputIterator2  first2 
)
inline

vEqual

Parameters
first1
last1
first2
Returns

◆ vFill() [1/2]

template<typename Container , typename T >
void algo::vFill ( Container &  container,
const T &  val 
)
inline

vFill

Parameters
container
val

◆ vFill() [2/2]

template<typename ForwardIterator , typename T >
void algo::vFill ( ForwardIterator  first,
ForwardIterator  last,
const T &  val 
)
inline

vFill

Parameters
first
last
val

◆ writeXmlFile()

bool PLATFORMSHARED_EXPORT writeXmlFile ( QIODevice &  device,
const QSettings::SettingsMap &  map 
)

writeXmlFile

Parameters
device
map
Returns