Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - medved

Pages: [1] 2
1
Suggestions and Requests / MDG Eclipse Integration in Linux
« on: July 28, 2011, 05:47:05 am »
Hi-

I think that the Eclipse Integration feature needs to be supported in Linux.  I'm a customer paying for the full Ultimate Edition, and I want to be able to use what I've paid for in Linux.  

2
General Board / Re: C++ includes generated for Linux
« on: August 11, 2011, 10:11:31 pm »
For anyone interested, this is what EA got back to me with:

The following template code should allow you to perform the change...
Code: [Select]
$bs = "\\"
$bs = %LEFT($bs, 1)%
%REPLACE( fileImports, $bs, "/" )%

3
General Board / C++ includes generated for Linux
« on: August 03, 2011, 03:12:05 am »
Hi-

When I generate C++ for Linux, the files which get included are doing the slashes the wrong way (/ instead of \).  Is there any way to change this in the Code Generation Templates?  If there is, I don't see how.  This is painful if you do any synchronising/regenerating as you always have to fix the slashes.

M

4
General Board / Re: Generating static const arrays
« on: August 03, 2011, 11:39:23 pm »
As a heads up, EA has emailed me and said basically, yeah this is an issue.  We'll work on it.

5
General Board / Generating static const arrays
« on: July 30, 2011, 03:44:04 am »
Hi - I'm working in C++ and I'm running up against a problem with initializing a static const array as a class member.

The standard C++ to do so is as follows:
Code: [Select]
in ClassA.h:

Class A{
   private:
      static const string someStrings[4];
};

in ClassA.cpp:

const string A::someStrings[4] = {"A", "B", "C", "D"};

However, EA generates it this way:

Code: [Select]
in ClassA.h:

Class A{
   private:
      static const string someStrings[4] = {"A", "B", "C", "D"};
};

Which of course blows up.  I looked at the code template and I don't think it will ever put static consts in the Impl file, even though that is the correct way to do it in C++.  Anyone have a fix/thought for this?

M

6
General Board / Allow custom location of attributes in Class?
« on: August 03, 2011, 03:26:03 am »
In C++, I need to be able to pick the order my variables show up in my class definition file.  For example, I might decalare a static const int and then use it to size another member later.

Code: [Select]
private:
static const int FRAME_BUFFER_SIZE = 20;
tPvFrame   _frames[FRAME_BUFFER_SIZE];

So if EA decides to generate _frames first, it will not compile.  I ticked the "Tools->Options->Allow Free Sorting" but this doesn't seem to apply to Attributes.  Any ideas?

7
General Board / Re: Project Browser turned black?
« on: July 30, 2011, 03:38:59 am »
FYI, to anyone concerned that reads this later - you must use Crossover Office 10.x with EA 9.x.  I upgraded CX and things seem to work.  Except of course the Eclipse MDG link.  Gah!

8
General Board / Project Browser turned black?
« on: July 27, 2011, 03:50:22 am »
Hi - I recently upgraded to EA 9, which I'm running on Ubuntu 10.10 via Crossover.  The Project Browser background turned black, and I'm not sure why?  There are other wierd GUI glitches as well...

Any fix?


9
General Board / Getting operation bodies in the model
« on: July 29, 2011, 01:36:37 am »
Hey -

Just curious, has anyone ever been able to get the operation bodies for your code to get sucked back in to the model?  This is useful in case you have to regenerate the code (say you change a state machine or something)... sometimes just syncing does wierd stuff.

Anyone tried messing with the code templates to do something like this?  I'm interested in C++...

10
General Board / Eclipse Integration for Linux?
« on: June 24, 2011, 11:46:09 pm »
Will Eclipse Integration ever be available for Linux?  I understand that the MDG Link is available for Linux, but I want the full treatment, like windows users get!

If this tool had a native version for Linux, it would be tops!

11
General Board / C++ external types?
« on: March 10, 2011, 01:23:59 am »
What do you do when you've got types defined in a library you are using that you'd like to model, but have no code generated for those types?

For example, I'm using a vendor library that defines the type PMDAxisHandle.  I'd like to have a "place holder" in EA for this type so that it shows up in the model, but I never want to generate any code for this since it already exists in a header file from the vendor.

M

12
General Board / Linux C++ code generation
« on: March 08, 2011, 06:34:19 am »
Any way to make the auto generated includes use /s instead of \s?  This is a problem on Linux.

M

13
General Board / Re: C++ namespaces?
« on: February 02, 2011, 07:16:52 am »
The question may be better stated as follows - is it possible to have a bunch of classes which exist in a heirarchy of packages all reside in the same namespace?  Lets say I have three levels of nested packages and all the classes live in the third level but I want them all to be in one namespace.  Can EA handle this?

14
General Board / C++ namespaces?
« on: February 02, 2011, 06:52:32 am »
Hi -

How do I assign a namespace to a group of classes?

M

15
General Board / Re: CM question
« on: February 02, 2011, 02:22:32 am »
It definitely wants to.  After I add the link, if I do a compare against the base package it wants to add a link in the base class.  Obviously it won't change the package unless I check it out.

Now, perhaps it isn't a problem and if just ignore it everything will be fine.

Pages: [1] 2