Sponsored Content
Full Discussion: state mach{ne...
Top Forums Programming state mach{ne... Post 87115 by parasa on Thursday 20th of October 2005 05:52:30 AM
Old 10-20-2005
Hi,

Sorry for that..

I have removed my email-id.

But it shows up on your post.

kindly edit it...

Regards,
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Compiling Mach 3.0 Kernel

Hi, I am very new to this. I would like to compile the Mach 3.0 kernel. Can someone explain, step-by-step, how to turn all the Mach 3.0 kernel code into a single binary file that will run directly on an x86 computer? Also, once (and if) I get it working, what software works on it? My goal is... (2 Replies)
Discussion started by: dublinus
2 Replies

2. Shell Programming and Scripting

Help to mach "usb" exactly with sed or awk

HI experts I updated my question here to eg: $cat file ABC: abc ABC FDFD USB: usb usb_name usb_disk usbdriver USB PA: PA pa paa I want to how many usb exactly matched(not match usb_name or usbdriver) in the line cotains"USB:" thanks in advance (19 Replies)
Discussion started by: yanglei_fage
19 Replies

3. UNIX for Dummies Questions & Answers

Mach drivers

hello everyone, can anyone tell me what drivers the Mach kernel works with. I'm thinking about experimenting with the Mach kernel, and yes I know there are other kernels that are easier to work with but I just want to use the Mach kernel. So with that being said, can the Mach kernel work with... (11 Replies)
Discussion started by: neur0n
11 Replies

4. UNIX for Dummies Questions & Answers

Mach IPC

hey everyone, I'm reading a tutorial on the Mach kernel principles, however, the port and port rights part are kind of confusing to me. I don't know if the book has typos or something but it seems a bit contradictory. It says that "ports, themselves, are not named. It is the port rights that are"... (10 Replies)
Discussion started by: neur0n
10 Replies

5. Solaris

Zone in down state

Hi all, One of my zone is stuck in down state, not able to boot it or halt it root@xpm9ka1 # zoneadm list -iv ID NAME STATUS PATH BRAND IP 0 global running / native shared 2 bsmrxdb4 down /zones/bsmrxdb4 native shared root@xpm9ka1 # zoneadm -z bsmrxdb4 boot zoneadm: zone... (6 Replies)
Discussion started by: peppeunz
6 Replies

6. Shell Programming and Scripting

egrep line with perfect mach

Hi Input File A L006 AL01 0 (OCK) L006 A006 0 (OCK) L011 AR11 1 (NLOCK) Input File B L006 AL01 0 (OCK) L006 A006 0 (OCK) Need Egrep Command for perfect Match Thanks (4 Replies)
Discussion started by: asavaliya
4 Replies

7. AIX

Open firmware state to running state

Hi Admins, I am having a whole system lpar in open firmware state on HMC. How can I bring it to running state ? Let me know. Thanks. (2 Replies)
Discussion started by: snchaudhari2
2 Replies
State Chart XML Classes(3)					       Coin						State Chart XML Classes(3)

NAME
State Chart XML Classes - Classes class ScXML Namespace for static ScXML-related functions. class ScXMLEvent Base class for events sent to SCXML state machines. class ScXMLInvoke Implementation of the <invoke> SCXML element. class ScXMLObject Base class for all SCXML objects. class ScXMLStateMachine Manager for processing events and setting states in SCXML structures. class SoScXMLEvent Adds an SoEvent holder to the ScXMLEvent base. class SoScXMLStateMachine Integration level for using Coin events with SCXML-based state machines. Detailed Description This set of classes is a basic implementation of State Chart XML. It is not complete, nor is it necessary conformant to those parts it implements. It is however a decent start, and there are plans for implementing more parts of the specification. Currently Coin uses SCXML for managing 3D viewer user interaction (the non-model-interaction part) - the examiner navigation mode in layman terms - but with a more complete implementation of SCXML, the potential for more uses should be quite huge. The Draft Specification for SCXML is at http://www.w3.org/TR/scxml/. Since: Coin 3.0 State Chart XML The ScXML part of Coin is a basic, non-conformant, partial implementation of State Chart XML, based on the W3C Working Draft 21 February 2007 of SCXML http://www.w3.org/TR/2007/WD-scxml-20070221/. Read that document for a basic understanding how SCXML documents should be constructed. NOTE: A new version of the draft has just been released (May 2008). The code here does not reflect any changes done to the draft SCXML specification yet. Coin uses it for its navigation system, to be able to remove hardcoded logic for user navigation and externalize it into XML files. It is hoped that this technology will prove to be a useful addition to Coin and get broader use as this subsystem matures. The dragger and manipulator user interaction logic is likely one area where ScXML might be employed later. Attaching state machines to interactive parts of the scene graph could be another interesting idea for the future. For now, the ScXML system is not employed in any pre-established Coin usage patterns, and you will need to employ new features to touch base with it. The most obvious are where ScXML will be used is if you use Quarter 1.0 over Coin 3.0, as you manipulate the camera movements around the 3D models through mouse and keyboard interaction. The Coin type system makes it possible to override the default types to have the state chart description instantiated using customized objects. A design choice made in that regard was to both use the type overriding system in Coin, and also to use the 'xmlns' (XML Namespace) attribute to make ScXML types available and to prioritize which classtypes to instantiate objects from. The xmlns attribute is currently only checked at the document level, but the plan is to let any state have this attribute, and to simulate static scoping rules for namespace prioritization. Partially Supported Items: o At the moment, the Coin ScXML module only supports 'Executable Content' through the <invoke> element, using the ScXMLInvoke class interface and having the Executable Content written in C++ in subclasses of the ScXMLInvoke class. ECMAScript and XPath is not supported yet. Unsupported Items: o External document referencing through the <state> / <parallel> 'src' attribute is not yet handled, but should be easy to implement so it will likely be one of the first things that will be fixed. o The <parallel> element is not supported as intended with parallel states. Coin will just treat it as an ordinary <state> element for now. Parallel states is not high up on the priority list, so expect this to be handled after a lot of other functionality is in place. o The <datamodel>-related part of the specification is not supported. o The condition attribute in the <transition> element is not supported, so the only condition you can set is on the event type in the event attribute. The ScXMLTransition class has a virtual method SbBool evaluateCondition() which is used in the state machine logic, and should be all that is needed to overload to implement this in subclasses yourself. o The 'target' attribute in the <transition> element can only identify a single state currently, not multiple as you would have to when having support for <parallel> elements (which we don't have). o The virtual state elements like <history> and <anchor> are just implemented as dummy states for now and do not do anything in relation to what they should actually do. o There are no mechanisms for inter-statemachine event passing yet. For learning more about how ScXML is implemented and used in Coin, take a look at $COINDIR/scxml/navigation/examiner.xml (or in the Coin source directory, data/scxml/navigation/examiner.xml) for an example of how an SCXML system for camera navigation looks, and look at the ScXML* source files in src/navigation/ for the C++ counterparts to the same SCXML navigation system. With support for <datamodel>, <transition>-conditions, and inline executable content in the XML file in some scripting language, the C++ parts could probably have been greatly simplified, if not more or less eliminated. This will hopefully evolve for future versions of Coin. Since: Coin 3.0 Author Generated automatically by Doxygen for Coin from the source code. Version 3.1.3 Wed May 23 2012 State Chart XML Classes(3)
All times are GMT -4. The time now is 05:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy