Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic TAU (steve huntington)
Decrease font size
Increase font size
Topic Title: TAU StateChartDiagrams
Topic Summary: How do I represent logical bitwise operations in TAU state chart diagrams
Created On: 24-Nov-2004 02:04
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
Answer This question was answered by Sean Lippert, on Friday, March 11, 2005 4:46 PM

Answer:
How would I represent the following code in a TAU statechartdiagram?

unsigned int command = 0x3;

if (command & 0x1)
{
     // Do something
}
if (command & 0x10)
{
   // Do something else
}
 24-Nov-2004 02:04
User is offline View Users Profile Print this message


Sean Lippert

Posts: 1
Joined: 14-Oct-2004

Answer Answer
How would I represent the following code in a TAU statechartdiagram?

unsigned int command = 0x3;

if (command & 0x1)
{
     // Do something
}
if (command & 0x10)
{
   // Do something else
}
Report this to a Moderator Report this to a Moderator
 20-Dec-2004 16:11
User is offline View Users Profile Print this message


Patrick Geremia

Posts: 6
Joined: 1-Jul-2003

I fyou are using the C++ code generator, you can easily use inline code
[[
your code above
]]
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic TAU forum.
There are currently 1 users logged in.
The most users ever online was 15 on 31-Mar-2008 at 16:22.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.