Version: 9.12.0
YACS Namespace Reference

Namespaces

 BASES
 
 ENGINE
 
 HMI
 

Classes

class  Exception
 
struct  bloctypeParser
 
struct  codetypeParser
 Class for code parser in inline nodes. More...
 
struct  functypeParser
 Class for function parser in inline nodes. More...
 
struct  componentinstancetypeParser
 Class for componentinstance parser. More...
 
struct  machinetypeParser
 Class for machine parser. More...
 
struct  containertypeParser
 Class for container parser. More...
 
struct  loadtypeParser
 Class for loading parser. More...
 
struct  stringtypeParser
 Class for string parser. More...
 
struct  doubletypeParser
 Class for double parser. More...
 
struct  inttypeParser
 Class for integer parser. More...
 
struct  booltypeParser
 Class for boolean parser. More...
 
struct  inlinetypeParser
 
struct  controltypeParser
 
struct  linktypeParser
 
struct  streamtypeParser
 
struct  looptypeParser
 
struct  whilelooptypeParser
 
struct  forlooptypeParser
 
class  PseudoComposedNode
 
struct  pseudocomposednodetypeParser
 
struct  dynparalooptypeParser
 
struct  foreachlooptypeParser
 
struct  optimizerlooptypeParser
 
struct  nodetypeParser
 Class for node parser. More...
 
struct  outputdatatypeParser
 Class for outputdata parser. More...
 
struct  outnodetypeParser
 Class for OutNode parser. More...
 
struct  parser
 
class  YACSLoader
 
struct  inporttypeParser
 Class for Inport parser. More...
 
struct  outporttypeParser
 Class for Outport parser. More...
 
struct  presetdatatypeParser
 Class for presetdata parser. More...
 
struct  presettypeParser
 Class for PresetNode parser. More...
 
struct  proctypeParser
 
struct  propertytypeParser
 Class for property parser. More...
 
struct  remotetypeParser
 
struct  roottypeParser
 
struct  servertypeParser
 
struct  servicetypeParser
 
struct  sinlinetypeParser
 Class for parsing ServiceInlineNode description. More...
 
struct  casetypeParser
 
struct  defaultcasetypeParser
 
struct  switchtypeParser
 
struct  typetypeParser
 Class for type parser. More...
 
struct  seqtypeParser
 Class for sequence parser. More...
 
struct  objtypeParser
 Class for objref parser. More...
 
struct  membertypeParser
 Class for member parser. More...
 
struct  structtypeParser
 Class for struct parser. More...
 
struct  valuetypeParser
 Class for XML-RPC value parser. More...
 
struct  datatypeParser
 Class for XML-RPC data parser. More...
 
struct  memberdatatypeParser
 Class for XML-RPC member parser. More...
 
struct  structdatatypeParser
 Class for XML-RPC struct parser. More...
 
struct  arraytypeParser
 Class for XML-RPC array parser. More...
 
struct  parametertypeParser
 

Typedefs

typedef char XML_Char
 

Enumerations

enum  Colour { White = 10 , Grey = 11 , Black = 12 }
 
enum  StatesForNode {
  UNDEFINED = -1 , INVALID = 99 , READY = 100 , TOLOAD = 101 ,
  LOADED = 102 , TOACTIVATE = 103 , ACTIVATED = 104 , DESACTIVATED = 105 ,
  DONE = 106 , SUSPENDED = 107 , LOADFAILED = 108 , EXECFAILED = 109 ,
  PAUSE = 110 , TORECONNECT = 111 , INTERNALERR = 666 , DISABLED = 777 ,
  FAILED = 888 , ERROR = 999
}
 
enum  Event { NOEVENT = 200 , START = 201 , FINISH = 202 , ABORT = 203 }
 
enum  ExecutorState {
  NOTYETINITIALIZED = 300 , INITIALISED = 301 , RUNNING = 302 , WAITINGTASKS = 303 ,
  PAUSED = 304 , FINISHED = 305 , STOPPED = 306
}
 
enum  ExecutionMode { CONTINUE = 0 , STEPBYSTEP = 1 , STOPBEFORENODES = 2 }
 

Functions

template<class T >
buildFrom (ENGINE::Runtime *theRuntime, const std::string &name, ENGINE::TypeCode *type)
 
template<>
ENGINE::ForEachLoopbuildFrom< ENGINE::ForEachLoop * > (ENGINE::Runtime *theRuntime, const std::string &name, ENGINE::TypeCode *type)
 
template<>
ENGINE::ForEachLoopDynbuildFrom< ENGINE::ForEachLoopDyn * > (ENGINE::Runtime *theRuntime, const std::string &name, ENGINE::TypeCode *type)
 

Variables

int traceLevel =0
 
static std::string t1 [] ={"script","function",""}
 
static std::string t3 [] ={"inline","sinline","service","server", "remote", "node","forloop","foreach","optimizer","while","switch","bloc",""}
 
static std::string t22 [] ={"ref","node","component","componentinstance",""}
 
static std::string t2 [] ={"ref","node","component","componentinstance",""}
 
static std::string switch_t3 [] ={"inline","sinline","service","server", "remote", "node","forloop","foreach","optimizer","while","switch","bloc",""}
 
static std::string t4 [] ={"string","objref","double","int","boolean","array","struct",""}
 

Typedef Documentation

◆ XML_Char

typedef char YACS::XML_Char

Definition at line 37 of file parserBase.hxx.

Enumeration Type Documentation

◆ Colour

Enumerator
White 
Grey 
Black 

Definition at line 26 of file define.hxx.

27  {
28  White = 10,
29  Grey = 11,
30  Black = 12
31  } Colour;
Colour
Definition: define.hxx:27
@ White
Definition: define.hxx:28
@ Black
Definition: define.hxx:30
@ Grey
Definition: define.hxx:29

◆ Event

Enumerator
NOEVENT 
START 
FINISH 
ABORT 

Definition at line 55 of file define.hxx.

56  {
57  NOEVENT = 200,
58  START = 201,
59  FINISH = 202,
60  ABORT = 203
61  } Event;
Event
Definition: define.hxx:56
@ ABORT
Definition: define.hxx:60
@ NOEVENT
Definition: define.hxx:57
@ FINISH
Definition: define.hxx:59
#define START
Definition: point.cxx:24

◆ ExecutionMode

Enumerator
CONTINUE 
STEPBYSTEP 
STOPBEFORENODES 

Definition at line 74 of file define.hxx.

75  {
76  CONTINUE = 0,
77  STEPBYSTEP = 1,
78  STOPBEFORENODES = 2
79  } ExecutionMode;
ExecutionMode
Definition: define.hxx:75
@ STEPBYSTEP
Definition: define.hxx:77
@ CONTINUE
Definition: define.hxx:76
@ STOPBEFORENODES
Definition: define.hxx:78

◆ ExecutorState

Enumerator
NOTYETINITIALIZED 
INITIALISED 
RUNNING 
WAITINGTASKS 
PAUSED 
FINISHED 
STOPPED 

Definition at line 63 of file define.hxx.

64  {
65  NOTYETINITIALIZED = 300,
66  INITIALISED = 301,
67  RUNNING = 302,
68  WAITINGTASKS = 303,
69  PAUSED = 304,
70  FINISHED = 305,
71  STOPPED = 306
72  } ExecutorState;
ExecutorState
Definition: define.hxx:64
@ RUNNING
Definition: define.hxx:67
@ PAUSED
Definition: define.hxx:69
@ WAITINGTASKS
Definition: define.hxx:68
@ INITIALISED
Definition: define.hxx:66
@ NOTYETINITIALIZED
Definition: define.hxx:65
@ FINISHED
Definition: define.hxx:70
@ STOPPED
Definition: define.hxx:71

◆ StatesForNode

Enumerator
UNDEFINED 
INVALID 
READY 
TOLOAD 
LOADED 
TOACTIVATE 
ACTIVATED 
DESACTIVATED 
DONE 
SUSPENDED 
LOADFAILED 
EXECFAILED 
PAUSE 
TORECONNECT 
INTERNALERR 
DISABLED 
FAILED 
ERROR 

Definition at line 33 of file define.hxx.

34  {
35  UNDEFINED = -1,
36  INVALID = 99,
37  READY = 100,
38  TOLOAD = 101,
39  LOADED = 102,
40  TOACTIVATE = 103,
41  ACTIVATED = 104,
42  DESACTIVATED = 105,
43  DONE = 106,
44  SUSPENDED = 107,
45  LOADFAILED = 108,
46  EXECFAILED = 109,
47  PAUSE = 110,
48  TORECONNECT = 111,
49  INTERNALERR = 666,
50  DISABLED = 777,
51  FAILED = 888,
52  ERROR = 999
53  } StatesForNode;
StatesForNode
Definition: define.hxx:34
@ INVALID
Definition: define.hxx:36
@ FAILED
Definition: define.hxx:51
@ UNDEFINED
Definition: define.hxx:35
@ DESACTIVATED
Definition: define.hxx:42
@ EXECFAILED
Definition: define.hxx:46
@ TOLOAD
Definition: define.hxx:38
@ LOADED
Definition: define.hxx:39
@ READY
Definition: define.hxx:37
@ ACTIVATED
Definition: define.hxx:41
@ INTERNALERR
Definition: define.hxx:49
@ DONE
Definition: define.hxx:43
@ TOACTIVATE
Definition: define.hxx:40
@ SUSPENDED
Definition: define.hxx:44
@ PAUSE
Definition: define.hxx:47
@ DISABLED
Definition: define.hxx:50
@ TORECONNECT
Definition: define.hxx:48
@ LOADFAILED
Definition: define.hxx:45
@ ERROR
Definition: define.hxx:52

Function Documentation

◆ buildFrom()

template<class T >
T YACS::buildFrom ( ENGINE::Runtime theRuntime,
const std::string &  name,
ENGINE::TypeCode type 
)

◆ buildFrom< ENGINE::ForEachLoop * >()

template<>
ENGINE::ForEachLoop* YACS::buildFrom< ENGINE::ForEachLoop * > ( ENGINE::Runtime theRuntime,
const std::string &  name,
ENGINE::TypeCode type 
)

Definition at line 497 of file loopParsers.hxx.

498 { return theRuntime->createForEachLoop(name,type); }
YACS::ENGINE::Runtime * theRuntime
Definition: parsers.cxx:40
virtual ForEachLoop * createForEachLoop(const std::string &name, TypeCode *type)
Definition: Runtime.cxx:251

References YACS::ENGINE::Runtime::createForEachLoop(), and theRuntime.

◆ buildFrom< ENGINE::ForEachLoopDyn * >()

template<>
ENGINE::ForEachLoopDyn* YACS::buildFrom< ENGINE::ForEachLoopDyn * > ( ENGINE::Runtime theRuntime,
const std::string &  name,
ENGINE::TypeCode type 
)

Definition at line 501 of file loopParsers.hxx.

502 { return theRuntime->createForEachLoopDyn(name,type); }
virtual ForEachLoopDyn * createForEachLoopDyn(const std::string &name, TypeCode *type)
Definition: Runtime.cxx:258

References YACS::ENGINE::Runtime::createForEachLoopDyn(), and theRuntime.

Variable Documentation

◆ switch_t3

std::string YACS::switch_t3[] ={"inline","sinline","service","server", "remote", "node","forloop","foreach","optimizer","while","switch","bloc",""}
static

Definition at line 111 of file switchParsers.hxx.

Referenced by YACS::casetypeParser::post().

◆ t1

◆ t2

◆ t22

std::string YACS::t22[] ={"ref","node","component","componentinstance",""}
static

Definition at line 31 of file serverParsers.hxx.

Referenced by YACS::servertypeParser< T >::onStart().

◆ t3

std::string YACS::t3[] ={"inline","sinline","service","server", "remote", "node","forloop","foreach","optimizer","while","switch","bloc",""}
static

Definition at line 82 of file loopParsers.hxx.

Referenced by YACS::looptypeParser< T >::onStart().

◆ t4

std::string YACS::t4[] ={"string","objref","double","int","boolean","array","struct",""}
static

Definition at line 34 of file xmlrpcParsers.cxx.

Referenced by YACS::valuetypeParser::post().

◆ traceLevel

YACSBASES_EXPORT int YACS::traceLevel =0

Definition at line 33 of file YacsTrace.cxx.

Referenced by YACS::ENGINE::Runtime::Runtime().