|
|
||||||
|
faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr > Class Template Reference Detailed Descriptiontemplate<class GlobalAttr, class StateAttr, class EventAttr, class TransAttr>
|
Public Member Functions | |
TcGenerator (void) | |
TcGenerator (const vGenerator &rOtherGen) | |
TcGenerator (const TcGenerator &rOtherGen) | |
TcGenerator (const std::string &rFileName) | |
TcGenerator * | New (void) const |
TcGenerator * | Copy (void) const |
virtual const Type * | Cast (const Type *pOther) const |
TcGenerator | NewCGen (void) const |
TcGenerator & | operator= (const TcGenerator &rOtherGen) |
virtual TcGenerator & | Assign (const Type &rSource) |
void | InsControllableEvent (Idx index) |
Idx | InsControllableEvent (const std::string &rName) |
void | InsUncontrollableEvent (Idx index) |
Idx | InsUncontrollableEvent (const std::string &rName) |
void | SetControllable (Idx index) |
void | SetControllable (const std::string &rName) |
void | SetControllable (const EventSet &rEvents) |
void | ClrControllable (Idx index) |
void | ClrControllable (const std::string &rName) |
void | ClrControllable (const EventSet &rEvents) |
bool | Controllable (Idx index) const |
bool | Controllable (const std::string &rName) const |
EventSet | ControllableEvents (void) const |
EventSet | UncontrollableEvents (void) const |
void | InsObservableEvent (Idx index) |
Idx | InsObservableEvent (const std::string &rName) |
void | InsUnobservableEvent (Idx index) |
Idx | InsUnobservableEvent (const std::string &rName) |
void | SetObservable (Idx index) |
void | SetObservable (const std::string &rName) |
void | SetObservable (const EventSet &rEvents) |
void | ClrObservable (Idx index) |
void | ClrObservable (const std::string &rName) |
void | ClrObservable (const EventSet &rEvents) |
bool | Observable (Idx index) const |
bool | Observable (const std::string &rName) const |
EventSet | ObservableEvents (void) const |
EventSet | UnobservableEvents (void) const |
void | InsForcibleEvent (Idx index) |
Idx | InsForcibleEvent (const std::string &rName) |
void | InsUnforcibleEvent (Idx index) |
Idx | InsUnforcibleEvent (const std::string &rName) |
void | SetForcible (Idx index) |
void | SetForcible (const std::string &rName) |
void | SetForcible (const EventSet &rEvents) |
void | ClrForcible (Idx index) |
void | ClrForcible (const std::string &rName) |
void | ClrForcible (const EventSet &rEvents) |
bool | Forcible (Idx index) const |
bool | Forcible (const std::string &rName) const |
EventSet | ForcibleEvents (void) const |
EventSet | UnforcibleEvents (void) const |
void | InsHighlevelEvent (Idx index) |
Idx | InsHighlevelEvent (const std::string &rName) |
void | InsLowlevelEvent (Idx index) |
Idx | InsLowlevelEvent (const std::string &rName) |
void | SetHighlevel (Idx index) |
void | SetHighlevel (const std::string &rName) |
void | SetHighlevel (const EventSet &rEvents) |
void | SetLowlevel (Idx index) |
void | SetLowlevel (const std::string &rName) |
void | SetLowlevel (const EventSet &rEvents) |
bool | Highlevel (Idx index) const |
bool | Highlevel (const std::string &rName) const |
bool | Lowlevel (Idx index) const |
bool | Lowlevel (const std::string &rName) const |
EventSet | HighlevelEvents (void) const |
EventSet | LowlevelEvents (void) const |
![]() | |
TaGenerator (void) | |
TaGenerator (const TaGenerator &rOtherGen) | |
TaGenerator (const vGenerator &rOtherGen) | |
TaGenerator (const std::string &rFileName) | |
virtual TaGenerator | NewAGen (void) const |
virtual | ~TaGenerator (void) |
TaGenerator & | operator= (const TaGenerator &rOtherGen) |
virtual void | Move (TaGenerator &rGen) |
virtual void | Move (Generator &rGen) |
bool | Valid (void) const |
virtual void | Clear (void) |
const TaEventSet< EventAttr > & | Alphabet (void) const |
const TaStateSet< StateAttr > & | States (void) const |
const ATransSet & | TransRel (void) const |
void | TransRel (TransSetX1EvX2 &res) const |
void | TransRel (TransSetEvX1X2 &res) const |
void | TransRel (TransSetEvX2X1 &res) const |
void | TransRel (TransSetX2EvX1 &res) const |
void | TransRel (TransSetX2X1Ev &res) const |
void | TransRel (TransSetX1X2Ev &res) const |
bool | InsEvent (Idx index) |
Idx | InsEvent (const std::string &rName) |
bool | InsEvent (Idx index, const EventAttr &rAttr) |
Idx | InsEvent (const std::string &rName, const EventAttr &rAttr) |
void | InjectAlphabet (const EventSet &rNewalphabet) |
void | InjectAlphabet (const TaEventSet< EventAttr > &rNewalphabet) |
Idx | InsState (void) |
Idx | InsState (const StateAttr &attr) |
bool | InsState (Idx index) |
Idx | InsState (const std::string &rName) |
Idx | InsState (const std::string &rName, const StateAttr &attr) |
bool | InsState (Idx index, const StateAttr &attr) |
void | InjectStates (const StateSet &rNewStates) |
void | InjectStates (const TaStateSet< StateAttr > &rNewStates) |
bool | SetTransition (Idx x1, Idx ev, Idx x2) |
bool | SetTransition (const std::string &rX1, const std::string &rEv, const std::string &rX2) |
bool | SetTransition (const Transition &rTransition) |
bool | SetTransition (const Transition &rTransition, const TransAttr &rAttr) |
void | InjectTransRel (const TransSet &rNewtransrel) |
void | InjectTransRel (const ATransSet &rNewtransrel) |
void | EventAttribute (Idx index, const EventAttr &rAttr) |
void | EventAttribute (Idx index, const Type &rAttr) |
const EventAttr & | EventAttribute (Idx index) const |
const EventAttr & | EventAttribute (const std::string &rName) const |
EventAttr * | EventAttributep (Idx index) |
EventAttr * | EventAttributep (const std::string &rName) |
void | StateAttribute (Idx index, const StateAttr &rAttr) |
void | StateAttribute (Idx index, const Type &rAttr) |
const StateAttr & | StateAttribute (Idx index) const |
StateAttr * | StateAttributep (Idx index) |
void | TransAttribute (const Transition &rTrans, const TransAttr &rAttr) |
void | TransAttribute (const Transition &rTrans, const Type &rAttr) |
const TransAttr & | TransAttribute (const Transition &rTrans) const |
TransAttr * | TransAttributep (const Transition &rTrans) |
void | GlobalAttribute (const GlobalAttr &rAttr) |
void | GlobalAttribute (const Type &rAttr) |
const GlobalAttr & | GlobalAttribute (void) const |
GlobalAttr * | GlobalAttributep (void) |
![]() | |
vGenerator (void) | |
vGenerator (const vGenerator &rOtherGen) | |
vGenerator (const std::string &rFileName) | |
virtual | ~vGenerator (void) |
virtual vGenerator & | AssignWithoutAttributes (const vGenerator &rGen) |
vGenerator & | operator= (const vGenerator &rOtherGen) |
virtual void | Version (const std::string &rVersion, vGenerator &rResGen) const |
virtual void | Version (Idx version, vGenerator &rResGen) const |
virtual void | Version (const std::string &rPattern, const std::string &rReplacement, vGenerator &rResGen) const |
void | ClearStates (void) |
Idx | AlphabetSize (void) const |
Idx | Size (void) const |
Idx | TransRelSize (void) const |
Idx | InitStatesSize (void) const |
Idx | MarkedStatesSize (void) const |
bool | Empty (void) const |
bool | AlphabetEmpty (void) const |
bool | TransRelEmpty (void) const |
bool | InitStatesEmpty (void) const |
bool | MarkedStatesEmpty (void) const |
SymbolTable * | EventSymbolTablep (void) const |
virtual void | EventSymbolTablep (SymbolTable *pSymTab) |
virtual void | EventSymbolTablep (const vGenerator &rOtherGen) |
EventSet | NewEventSet (void) const |
EventSet * | NewEventSetp (void) const |
Idx | EventIndex (const std::string &rName) const |
std::string | EventName (Idx index) const |
void | EventName (Idx index, const std::string &rName) |
std::string | UniqueEventName (const std::string &rName) const |
bool | EventRename (Idx event, const std::string &rNewName) |
bool | EventRename (const std::string &rOldName, const std::string &rNewName) |
const SymbolTable & | StateSymbolTable (void) const |
void | StateSymbolTable (const SymbolTable &rSymTab) |
Idx | StateIndex (const std::string &rName) const |
std::string | StateName (Idx index) const |
void | StateName (Idx index, const std::string &rName) |
void | ClearStateNames (void) |
void | ClrStateName (Idx index) |
void | ClrStateName (const std::string &rName) |
bool | StateNamesEnabled (void) const |
void | StateNamesEnabled (bool flag) |
void | SetDefaultStateNames (void) |
void | EnforceStateNames (const std::string &rTemplate) |
std::string | UniqueStateName (const std::string &rName) const |
EventSet::Iterator | AlphabetBegin (void) const |
EventSet::Iterator | AlphabetEnd (void) const |
bool | ExistsEvent (Idx index) const |
bool | ExistsEvent (const std::string &rName) const |
EventSet::Iterator | FindEvent (Idx index) const |
EventSet::Iterator | FindEvent (const std::string &rName) const |
const EventSet & | Alphabet (void) const |
StateSet::Iterator | StatesBegin (void) const |
StateSet::Iterator | StatesEnd (void) const |
bool | ExistsState (Idx index) const |
bool | ExistsState (const std::string &name) const |
StateSet::Iterator | FindState (Idx index) const |
StateSet::Iterator | FindState (const std::string &rName) const |
const StateSet & | States (void) const |
Idx | InitState (void) const |
StateSet::Iterator | InitStatesBegin (void) const |
StateSet::Iterator | InitStatesEnd (void) const |
bool | ExistsInitState (Idx index) const |
StateSet::Iterator | FindInitState (Idx index) const |
const StateSet & | InitStates (void) const |
StateSet::Iterator | MarkedStatesBegin (void) const |
StateSet::Iterator | MarkedStatesEnd (void) const |
bool | ExistsMarkedState (Idx index) const |
StateSet::Iterator | FindMarkedState (Idx index) const |
const StateSet & | MarkedStates (void) const |
TransSet::Iterator | TransRelBegin (void) const |
TransSet::Iterator | TransRelEnd (void) const |
TransSet::Iterator | TransRelBegin (Idx x1) const |
TransSet::Iterator | TransRelEnd (Idx x1) const |
TransSet::Iterator | TransRelBegin (Idx x1, Idx ev) const |
TransSet::Iterator | TransRelEnd (Idx x1, Idx ev) const |
TransSet::Iterator | FindTransition (const std::string &rX1, const std::string &rEv, const std::string &rX2) const |
TransSet::Iterator | FindTransition (Idx x1, Idx ev, Idx x2) const |
TransSet::Iterator | FindTransition (const Transition &rTrans) const |
bool | ExistsTransition (const std::string &rX1, const std::string &rEv, const std::string &rX2) const |
bool | ExistsTransition (Idx x1, Idx ev, Idx x2) const |
bool | ExistsTransition (const Transition &rTrans) const |
bool | ExistsTransition (Idx x1, Idx ev) const |
bool | ExistsTransition (Idx x1) const |
const TransSet & | TransRel (void) const |
void | TransRel (TransSetX1EvX2 &res) const |
void | TransRel (TransSetEvX1X2 &res) const |
void | TransRel (TransSetEvX2X1 &res) const |
void | TransRel (TransSetX2EvX1 &res) const |
void | TransRel (TransSetX2X1Ev &res) const |
void | TransRel (TransSetX1X2Ev &res) const |
Transition | TransitionByNames (const std::string &rX1, const std::string &rEv, const std::string &rX2) const |
bool | InsEvent (Idx index) |
Idx | InsEvent (const std::string &rName) |
void | InsEvents (const EventSet &events) |
bool | DelEvent (Idx index) |
bool | DelEvent (const std::string &rName) |
void | DelEvents (const EventSet &rEvents) |
bool | DelEventFromAlphabet (Idx index) |
void | InjectAlphabet (const EventSet &rNewalphabet) |
virtual void | RestrictAlphabet (const EventSet &rNewalphabet) |
Idx | InsState (void) |
bool | InsState (Idx index) |
Idx | InsState (const std::string &rName) |
void | InsStates (const StateSet &rStates) |
bool | DelState (Idx index) |
bool | DelState (const std::string &rName) |
void | DelStates (const StateSet &rDelStates) |
bool | DelStateFromStates (Idx index) |
StateSet::Iterator | DelStateFromStates (StateSet::Iterator pos) |
virtual void | RestrictStates (const StateSet &rStates) |
void | InjectState (Idx index) |
void | InjectStates (const StateSet &rNewStates) |
Idx | InsInitState (void) |
bool | InsInitState (Idx index) |
Idx | InsInitState (const std::string &rName) |
void | InsInitStates (const StateSet &rStates) |
Idx | InsMarkedState (void) |
bool | InsMarkedState (Idx index) |
Idx | InsMarkedState (const std::string &rName) |
void | InsMarkedStates (const StateSet &rStates) |
void | SetInitState (Idx index) |
void | SetInitState (const std::string &rName) |
void | InjectInitStates (const StateSet &rNewInitStates) |
void | ClrInitState (Idx index) |
void | ClrInitState (const std::string &rName) |
StateSet::Iterator | ClrInitState (StateSet::Iterator pos) |
void | ClearInitStates (void) |
void | SetMarkedState (Idx index) |
void | SetMarkedState (const std::string &rName) |
void | ClrMarkedState (Idx index) |
void | ClrMarkedState (const std::string &rName) |
StateSet::Iterator | ClrMarkedState (StateSet::Iterator pos) |
void | ClearMarkedStates (void) |
void | InjectMarkedStates (const StateSet &rNewMarkedStates) |
bool | SetTransition (Idx x1, Idx ev, Idx x2) |
bool | SetTransition (const std::string &rX1, const std::string &rEv, const std::string &rX2) |
bool | SetTransition (const Transition &rTransition) |
void | ClrTransition (Idx x1, Idx ev, Idx x2) |
void | ClrTransition (const Transition &rTrans) |
TransSet::Iterator | ClrTransition (TransSet::Iterator it) |
void | ClrTransitions (Idx x1, Idx ev) |
void | ClrTransitions (Idx x1) |
void | ClearTransRel (void) |
void | InjectTransition (const Transition &rTrans) |
void | InjectTransRel (const TransSet &rNewtransrel) |
virtual void | ClearAttributes (void) |
virtual bool | UpdateAttributes (void) |
virtual void | ClearEventAttributes (void) |
virtual void | ClrEventAttribute (Idx index) |
virtual void | EventAttributes (const EventSet &rEventSet) |
virtual void | ClearStateAttributes (void) |
virtual void | ClrStateAttribute (Idx index) |
virtual void | ClearTransAttributes (void) |
virtual void | ClrTransAttribute (const Transition &rTrans) |
virtual void | ClearGlobalAttribute (void) |
virtual void | GlobalAttributeTry (const Type &rAttr) |
StateSet | AccessibleSet (void) const |
bool | Accessible (void) |
bool | IsAccessible (void) const |
StateSet | CoaccessibleSet (void) const |
bool | Coaccessible (void) |
bool | IsCoaccessible (void) const |
StateSet | BlockingStates (void) const |
StateSet | TerminalStates (void) const |
StateSet | TerminalStates (const StateSet &rStates) const |
bool | IsComplete (void) const |
bool | IsComplete (const StateSet &rStates) const |
bool | IsComplete (const EventSet &rSigmaO) const |
bool | Complete (void) |
bool | Complete (const EventSet &rSigmaO) |
StateSet | TrimSet (void) const |
bool | Trim (void) |
bool | IsTrim (void) const |
EventSet | UsedEvents (void) const |
EventSet | UnusedEvents (void) const |
void | MinimizeAlphabet (void) |
EventSet | ActiveEventSet (Idx x1) const |
TransSet | ActiveTransSet (Idx x1) const |
StateSet | TransRelStates (void) const |
Idx | SuccessorState (Idx x1, Idx ev) const |
StateSet | SuccessorStates (Idx x1) const |
StateSet | SuccessorStates (Idx x1, Idx ev) const |
bool | IsDeterministic (void) const |
void | SetMinStateIndexMap (void) const |
void | ClearMinStateIndexMap (void) const |
Idx | MinStateIndex (Idx index) const |
void | MinStateIndex (void) |
Idx | MaxStateIndex (void) const |
const std::map< Idx, Idx > & | MinStateIndexMap (void) const |
std::string | EStr (Idx index) const |
std::string | SStr (Idx index) const |
std::string | TStr (const Transition &rTrans) const |
void | GraphWrite (const std::string &rFileName, const std::string &rOutFormat="", const std::string &rDotExec="dot") const |
bool | operator< (const vGenerator &rOtherGen) const |
void | WriteAlphabet (void) const |
std::string | AlphabetToString (void) const |
void | WriteAlphabet (TokenWriter &rTw) const |
void | WriteStateSet (const StateSet &rStateSet) const |
std::string | StateSetToString (const StateSet &rStateSet) const |
std::string | StateSetToText (const StateSet &rStateSet) const |
void | WriteStateSet (TokenWriter &rTw, const StateSet &rStateSet, const std::string &rLabel="") const |
void | XWriteStateSet (TokenWriter &rTw, const StateSet &rStateSet, const std::string &rLabel="") const |
void | DWriteStateSet (TokenWriter &rTw, const StateSet &rStateSet) const |
std::string | StatesToString (void) const |
std::string | StatesToText (void) const |
std::string | MarkedStatesToString (void) const |
std::string | InitStatesToString (void) const |
void | WriteTransRel (void) const |
std::string | TransRelToString (void) const |
std::string | TransRelToText (void) const |
void | WriteTransRel (TokenWriter &rTw) const |
void | DWriteTransRel (TokenWriter &rTw) const |
virtual void | DotWrite (const std::string &rFileName) const |
virtual void | DDotWrite (const std::string &rFileName) const |
virtual void | XDotWrite (const std::string &rFileName) const |
void | ReadStateSet (TokenReader &rTr, const std::string &rLabel, StateSet &rStateSet) const |
bool | ReindexOnWrite (void) const |
void | ReindexOnWrite (bool flag) |
![]() | |
ExtType (void) | |
ExtType (const ExtType &rType) | |
virtual | ~ExtType (void) |
const std::string & | Name (void) const |
void | Name (const std::string &rName) |
virtual const std::string & | TypeName (void) const |
virtual void | TypeName (const std::string &rType) |
virtual const std::string & | ElementTag (void) const |
virtual void | ElementTag (const std::string &rTag) |
virtual const std::string & | ElementType (void) const |
virtual const TypeDefinition * | TypeDefinitionp (void) const |
Type & | operator= (const Type &rSrc) |
bool | operator== (const Type &rOther) const |
bool | operator!= (const Type &rOther) const |
![]() | |
AttrType (void) | |
AttrType (const AttrType &rSrc) | |
virtual | ~AttrType (void) |
virtual bool | IsDefault (void) const |
Type & | operator= (const Type &rSrc) |
bool | operator== (const Type &rOther) const |
bool | operator!= (const Type &rOther) const |
![]() | |
Type (void) | |
Type (const Type &rType) | |
virtual | ~Type (void) |
Type & | operator= (const Type &rSrc) |
virtual bool | Equal (const Type &rOther) const |
bool | operator== (const Type &rOther) const |
bool | operator!= (const Type &rOther) const |
void | Write (const Type *pContext=0) const |
void | Write (const std::string &pFileName, const std::string &rLabel="", const Type *pContext=0, std::ios::openmode openmode=std::ios::out|std::ios::trunc) const |
void | Write (const std::string &pFileName, std::ios::openmode openmode) const |
void | Write (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
virtual void | XWrite (const std::string &pFileName, const std::string &rLabel="", const Type *pContext=0) const |
void | XWrite (const Type *pContext=0) const |
void | XWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
std::string | ToString (const std::string &rLabel="", const Type *pContext=0) const |
std::string | ToText (const std::string &rLabel="", const Type *pContext=0) const |
void | DWrite (const Type *pContext=0) const |
void | DWrite (const std::string &pFileName, const std::string &rLabel="", const Type *pContext=0, std::ios::openmode openmode=std::ios::out|std::ios::trunc) const |
void | DWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
void | SWrite (TokenWriter &rTw) const |
void | SWrite (void) const |
std::string | ToSText (void) const |
void | Read (const std::string &rFileName, const std::string &rLabel="", const Type *pContext=0) |
void | FromString (const std::string &rString, const std::string &rLabel="", const Type *pContext=0) |
void | Read (TokenReader &rTr, const std::string &rLabel="", const Type *pContext=0) |
Additional Inherited Members | |
![]() | |
typedef TaTransSet< TransAttr > | ATransSet |
![]() | |
static SymbolTable * | GlobalEventSymbolTablep (void) |
static void | StateNamesEnabledDefault (bool flag) |
static void | ReindexOnWriteDefault (bool flag) |
static bool | ReindexOnWriteDefault (void) |
![]() | |
static void | Skip (TokenReader &rTr) |
![]() | |
virtual void | NewCore (void) |
virtual void | UpdateCore (void) |
void | DoAssign (const TaGenerator &rGen) |
![]() | |
virtual void | DeleteCore (void) |
void | ConfigureAttributeTypes (const AttributeVoid *pNewGlobalPrototype, const StateSet *pNewStatesPrototype, const EventSet *pNewAlphabetPrototype, const TransSet *pNewTransRelPrototype) |
void | DoAssign (const vGenerator &rSrc) |
virtual void | DoRead (TokenReader &rTr, const std::string &rLabel="", const Type *pContext=0) |
virtual void | DoWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
virtual void | DoDWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
virtual void | DoSWrite (TokenWriter &rTw) const |
virtual void | DoXWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
void | ReadAlphabet (TokenReader &rTr) |
void | WriteStates (TokenWriter &rTw) const |
void | ReadStates (TokenReader &rTr) |
void | XReadStateSet (TokenReader &rTr, StateSet &rStateSet, const std::string &rLabel="") const |
void | ReadTransRel (const std::string &rFileName) |
void | ReadTransRel (TokenReader &rTr) |
void | XReadTransRel (TokenReader &rTr) |
void | XWriteTransRel (TokenWriter &rTw) const |
![]() | |
void | DoAssign (const AttrType &rSrc) |
bool | DoEqual (const AttrType &rOther) const |
![]() | |
void | DoAssign (const Type &rSrc) |
bool | DoEqual (const Type &rOther) const |
virtual Token | XBeginTag (const std::string &rLabel="", const std::string &rFallbackLabel="") const |
![]() | |
static const TaNameSet< EventAttr > & | AlphabetTaGen (void) |
static const TaIndexSet< StateAttr > & | StatesTaGen (void) |
static const ATransSet & | TransRelTaGen (void) |
static const GlobalAttr & | GlobalTaGen (void) |
![]() | |
static const EventSet & | AlphabetVoid (void) |
static const StateSet & | StatesVoid (void) |
static const TransSet & | TransRelVoid (void) |
static const AttributeVoid & | GlobalVoid (void) |
![]() | |
TaNameSet< EventAttr > * | pAlphabet |
TaIndexSet< StateAttr > * | pStates |
ATransSet * | pTransRel |
GlobalAttr * | pGlobalAttribute |
![]() | |
Idx | mId |
SymbolTable | mStateSymbolTable |
SymbolTable * | mpStateSymbolTable |
SymbolTable * | mpEventSymbolTable |
bool | mStateNamesEnabled |
bool | mReindexOnWrite |
EventSet * | mpAlphabet |
StateSet * | mpStates |
TransSet * | mpTransRel |
AttributeVoid * | mpGlobalAttribute |
const EventSet * | pAlphabetPrototype |
const StateSet * | pStatesPrototype |
const TransSet * | pTransRelPrototype |
const AttributeVoid * | pGlobalPrototype |
StateSet | mInitStates |
StateSet | mMarkedStates |
std::map< Idx, Idx > | mMinStateIndexMap |
![]() | |
std::string | mElementType |
std::string | mElementTagDef |
std::string | mObjectName |
![]() | |
static Idx | msObjectCount = 0 |
static bool | msStateNamesEnabledDefault = true |
static bool | msReindexOnWriteDefault = false |
faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::TcGenerator | ( | void | ) |
Creates an emtpy System object
Definition at line 754 of file cfl_cgenerator.h.
faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::TcGenerator | ( | const vGenerator & | rOtherGen | ) |
System from a std Generator. Copy constructor
rOtherGen |
Definition at line 764 of file cfl_cgenerator.h.
faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::TcGenerator | ( | const TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr > & | rOtherGen | ) |
System from a System. Copy constructor
rOtherGen |
Definition at line 759 of file cfl_cgenerator.h.
faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::TcGenerator | ( | const std::string & | rFileName | ) |
construct a System from file
rFileName | Filename |
Definition at line 769 of file cfl_cgenerator.h.
|
virtual |
Assignment method
Note: you must reimplement this method in derived classes in order to handle internal pointers correctly
rSource | Other generator |
Reimplemented from faudes::TaGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >.
Reimplemented in faudes::TmtcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >, faudes::TpGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >, and faudes::TrGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >.
Definition at line 780 of file cfl_cgenerator.h.
|
inlinevirtual |
Type test. Uses C++ dynamic cast to test whether the specified object casts to a System.
pOther | poinetr to object to test |
Reimplemented from faudes::TaGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >.
Reimplemented in faudes::TtGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >, faudes::TpGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >, and faudes::TrGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >.
Definition at line 137 of file cfl_cgenerator.h.
void faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::ClrControllable | ( | const EventSet & | rEvents | ) |
Mark set of events uncontrollable (by index)
rEvents | EventSet |
Definition at line 921 of file cfl_cgenerator.h.
void faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::ClrControllable | ( | const std::string & | rName | ) |
Mark event uncontrollable (by name)
rName | Event name |
Definition at line 914 of file cfl_cgenerator.h.
void faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::ClrControllable | ( | Idx | index | ) |
Mark event uncontrollable (by index)
index | Event index |
Definition at line 906 of file cfl_cgenerator.h.
void faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::ClrForcible | ( | const EventSet & | rEvents | ) |
Mark set of events unforcible
rEvents | EventSet |
Definition at line 1152 of file cfl_cgenerator.h.
void faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::ClrForcible | ( | const std::string & | rName | ) |
Mark event unforcible (by name)
rName | Event name |
Definition at line 1145 of file cfl_cgenerator.h.
void faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::ClrForcible | ( | Idx | index | ) |
Mark event unforcible (by index)
index | Event index |
Definition at line 1137 of file cfl_cgenerator.h.
void faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::ClrObservable | ( | const EventSet & | rEvents | ) |
Mark set of events unobservable
rEvents | EventSet |
Definition at line 1036 of file cfl_cgenerator.h.
void faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::ClrObservable | ( | const std::string & | rName | ) |
Mark event unobservable (by name)
rName | Event name |
Definition at line 1029 of file cfl_cgenerator.h.
void faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::ClrObservable | ( | Idx | index | ) |
Mark event unobservable (by index)
index | Event index |
Definition at line 1021 of file cfl_cgenerator.h.
bool faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::Controllable | ( | const std::string & | rName | ) | const |
Is event controllable (by name)
rName | Event name |
Definition at line 844 of file cfl_cgenerator.h.
bool faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::Controllable | ( | Idx | index | ) | const |
Is event controllable (by index)
index | Event index |
Definition at line 838 of file cfl_cgenerator.h.
EventSet faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::ControllableEvents | ( | void | ) | const |
Get EventSet with controllable events
Definition at line 930 of file cfl_cgenerator.h.
|
virtual |
Construct copy on heap
Reimplemented from faudes::TaGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >.
Reimplemented in faudes::TtGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >, faudes::TpGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >, faudes::TrGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >, faudes::TmtcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >, and faudes::TdiagGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >.
Definition at line 815 of file cfl_cgenerator.h.
bool faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::Forcible | ( | const std::string & | rName | ) | const |
Is event forcible (by name)
rName | Event name |
Definition at line 1075 of file cfl_cgenerator.h.
bool faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::Forcible | ( | Idx | index | ) | const |
Is event forcible (by index)
index | Event index |
Definition at line 1069 of file cfl_cgenerator.h.
EventSet faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::ForcibleEvents | ( | void | ) | const |
Get EventSet with forcible events
Definition at line 1161 of file cfl_cgenerator.h.
bool faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::Highlevel | ( | const std::string & | rName | ) | const |
Test for high-level event (by name)
rName | Event name |
Definition at line 1191 of file cfl_cgenerator.h.
bool faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::Highlevel | ( | Idx | index | ) | const |
Test for high-level event (by index)
index | Event index |
Definition at line 1185 of file cfl_cgenerator.h.
EventSet faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::HighlevelEvents | ( | void | ) | const |
Get EventSet of all high-level events
Definition at line 1289 of file cfl_cgenerator.h.
Idx faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::InsControllableEvent | ( | const std::string & | rName | ) |
Add new named controllable event to generator. An entry in the global eventtable will be made if event is new.
rName | Name of the event to add |
Definition at line 858 of file cfl_cgenerator.h.
void faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::InsControllableEvent | ( | Idx | index | ) |
Add an existing controllable event to generator. An entry in the global eventtable will be made.
index | Event index |
Definition at line 850 of file cfl_cgenerator.h.
Idx faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::InsForcibleEvent | ( | const std::string & | rName | ) |
Add new named forcible event to generator. An entry in the global eventtable will be made if event is new.
rName | Name of the event to add |
Definition at line 1089 of file cfl_cgenerator.h.
void faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::InsForcibleEvent | ( | Idx | index | ) |
Add an existing forcible event to generator. An entry in the global eventtable will be made.
index | Event index |
Definition at line 1081 of file cfl_cgenerator.h.
Idx faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::InsHighlevelEvent | ( | const std::string & | rName | ) |
Add new named abstraction event to generator. An entry in the global eventtable will be made if event is new.
rName | Name of the event to add |
Definition at line 1217 of file cfl_cgenerator.h.
void faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::InsHighlevelEvent | ( | Idx | index | ) |
Add an existing abstraction event to generator. An entry in the global eventtable will be made.
index | Event index |
Definition at line 1209 of file cfl_cgenerator.h.
Idx faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::InsLowlevelEvent | ( | const std::string & | rName | ) |
Add new named low-level event to generator. An entry in the global eventtable will be made if event is new.
rName | Name of the event to add |
Definition at line 1233 of file cfl_cgenerator.h.
void faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::InsLowlevelEvent | ( | Idx | index | ) |
Add an existing low-level event to generator. An entry in the global eventtable will be made.
index | Event index |
Definition at line 1225 of file cfl_cgenerator.h.
Idx faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::InsObservableEvent | ( | const std::string & | rName | ) |
Add new named observable event to generator. An entry in the global eventtable will be made if event is new.
rName | Name of the event to add |
Definition at line 973 of file cfl_cgenerator.h.
void faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::InsObservableEvent | ( | Idx | index | ) |
Add an existing observable event to generator. An entry in the global eventtable will be made.
index | Event index |
Definition at line 965 of file cfl_cgenerator.h.
Idx faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::InsUncontrollableEvent | ( | const std::string & | rName | ) |
Add new named uncontrollable event to generator. An entry in the global eventtable will be made if event is new.
rName | Name of the event to add |
Definition at line 874 of file cfl_cgenerator.h.
void faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::InsUncontrollableEvent | ( | Idx | index | ) |
Add an existing uncontrollable event to generator. An entry in the global eventtable will be made.
index | Event index |
Definition at line 866 of file cfl_cgenerator.h.
Idx faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::InsUnforcibleEvent | ( | const std::string & | rName | ) |
Add new named unforcible event to generator. An entry in the global eventtable will be made if event is new.
rName | Name of the event to add |
Definition at line 1105 of file cfl_cgenerator.h.
void faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::InsUnforcibleEvent | ( | Idx | index | ) |
Add an existing unforcible event to generator. An entry in the global eventtable will be made.
index | Event index |
Definition at line 1097 of file cfl_cgenerator.h.
Idx faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::InsUnobservableEvent | ( | const std::string & | rName | ) |
Add new named unobservable event to generator. An entry in the global eventtable will be made if event is new.
rName | Name of the event to add |
Definition at line 989 of file cfl_cgenerator.h.
void faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::InsUnobservableEvent | ( | Idx | index | ) |
Add an existing unobservable event to generator. An entry in the global eventtable will be made.
index | Event index |
Definition at line 981 of file cfl_cgenerator.h.
bool faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::Lowlevel | ( | const std::string & | rName | ) | const |
Test for low-level event (by name)
rName | Event name |
Definition at line 1203 of file cfl_cgenerator.h.
bool faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::Lowlevel | ( | Idx | index | ) | const |
Test for low-level event (by index)
index | Event index |
Definition at line 1197 of file cfl_cgenerator.h.
EventSet faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::LowlevelEvents | ( | void | ) | const |
Get EventSet of all low-level events
Definition at line 1300 of file cfl_cgenerator.h.
|
virtual |
Construct on heap
Reimplemented from faudes::TaGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >.
Reimplemented in faudes::TtGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >, faudes::TpGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >, faudes::TrGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >, faudes::TmtcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >, and faudes::TdiagGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >.
Definition at line 804 of file cfl_cgenerator.h.
TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr > faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::NewCGen | ( | void | ) | const |
bool faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::Observable | ( | const std::string & | rName | ) | const |
Is event observable (by name)
rName | Event name |
Definition at line 959 of file cfl_cgenerator.h.
bool faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::Observable | ( | Idx | index | ) | const |
Is event observable (by index)
index | Event index |
Definition at line 953 of file cfl_cgenerator.h.
EventSet faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::ObservableEvents | ( | void | ) | const |
Get EventSet with observable events
Definition at line 1045 of file cfl_cgenerator.h.
TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr > & faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::operator= | ( | const TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr > & | rOtherGen | ) |
Assignment operator (uses Assign)
Note: you must reimplement this operator in derived classes in order to handle internal pointers correctly
rOtherGen | Other generator |
Definition at line 774 of file cfl_cgenerator.h.
void faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::SetControllable | ( | const EventSet & | rEvents | ) |
Mark set of events controllable (by index)
rEvents | EventSet |
Definition at line 897 of file cfl_cgenerator.h.
void faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::SetControllable | ( | const std::string & | rName | ) |
Mark event controllable (by name)
rName | Event name |
Definition at line 890 of file cfl_cgenerator.h.
void faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::SetControllable | ( | Idx | index | ) |
Mark event controllable (by index)
index | Event index |
Definition at line 882 of file cfl_cgenerator.h.
void faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::SetForcible | ( | const EventSet & | rEvents | ) |
Mark set of events forcible
rEvents | EventSet |
Definition at line 1128 of file cfl_cgenerator.h.
void faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::SetForcible | ( | const std::string & | rName | ) |
Mark event forcible (by name)
rName | Event name |
Definition at line 1121 of file cfl_cgenerator.h.
void faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::SetForcible | ( | Idx | index | ) |
Mark event forcible (by index)
index | Event index |
Definition at line 1113 of file cfl_cgenerator.h.
void faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::SetHighlevel | ( | const EventSet & | rEvents | ) |
Mark set of events as high-level events
rEvents | EventSet |
Definition at line 1256 of file cfl_cgenerator.h.
void faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::SetHighlevel | ( | const std::string & | rName | ) |
Mark event as highlevel event (by name)
rName | Event name |
Definition at line 1249 of file cfl_cgenerator.h.
void faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::SetHighlevel | ( | Idx | index | ) |
Mark event as highlevel event (by index)
index | Event index |
Definition at line 1241 of file cfl_cgenerator.h.
void faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::SetLowlevel | ( | const EventSet & | rEvents | ) |
Mark set of events as low-level events.
rEvents | EventSet |
Definition at line 1280 of file cfl_cgenerator.h.
void faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::SetLowlevel | ( | const std::string & | rName | ) |
Mark event as low-level event (by name)
rName | Event name |
Definition at line 1273 of file cfl_cgenerator.h.
void faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::SetLowlevel | ( | Idx | index | ) |
Mark event as low-level event (by index)
index | Event index |
Definition at line 1265 of file cfl_cgenerator.h.
void faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::SetObservable | ( | const EventSet & | rEvents | ) |
Mark set of events observable
rEvents | EventSet |
Definition at line 1012 of file cfl_cgenerator.h.
void faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::SetObservable | ( | const std::string & | rName | ) |
Mark event observable (by name)
rName | Event name |
Definition at line 1005 of file cfl_cgenerator.h.
void faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::SetObservable | ( | Idx | index | ) |
Mark event observable (by index)
index | Event index |
Definition at line 997 of file cfl_cgenerator.h.
EventSet faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::UncontrollableEvents | ( | void | ) | const |
Get EventSet with uncontrollable events
Definition at line 942 of file cfl_cgenerator.h.
EventSet faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::UnforcibleEvents | ( | void | ) | const |
Get EventSet with unforcible events
Definition at line 1173 of file cfl_cgenerator.h.
EventSet faudes::TcGenerator< GlobalAttr, StateAttr, EventAttr, TransAttr >::UnobservableEvents | ( | void | ) | const |
Get EventSet with unobservable events
Definition at line 1057 of file cfl_cgenerator.h.
libFAUDES 2.33h --- 2025.06.18 --- c++ api documentaion by doxygen