Teamcenter entry-level development series (3)

Source: Internet
Author: User

Topics

Memory release & Part Family manger

Questions

 

1. low_getspace low_freespaceNlsstrdup low_reallocspace low_callocspace

Corresponding to: malloc, free, strdup, realloc, calloc

2. kinds of objects shoulded be released?

Objectptr, setofstring, setofobjects, nvset, string

Sqlptr, setptr, dbframe.

In addition to these, do you still need to release them?

Does the dbframe class manage transactions?

3. Always check that a pointer is not null before freeing it.

4 include cleanup for output arguments in case of failure.

5. a-c argument for a server in the conf file specifies the number of times that server process maybe userd before being terminated.

-S how much that server process may grow in memory size

When the specified number of times is exceeded, whether the service is stopped or restarted to clean up the memory.

To do this, you must have a program that keeps an eye on these situations and then takes actions.

6. Memory options consist of native, optimized and integrity.

 

7 relational class famtopmr?

. Fammstr master class?

 

8. You can add the part to the family, or delete the part from the family to inherit some attributes of famlimy, but the inheritance can also be done in this way. Is it designed to remove the part flexibly?

Supplement

 

 

 

1. Use of string, char and Their pointer types in Teamcenter

String STR = NULL;

Char * char = NULL;

2. Add ...... In xxxsvr;

3. When creating an AIP, classic client does not need to create a category. thin client needs to create a category at the same time.

 

 

4. Except XXXX, the change page column used by other classes on the search result page is my data page, which is incorrect. Unified top menu to solve this problem.

5. Where is the default number of display items displayed in items initial configuration?

6. When querying data, all data will be found and then paged. In this way, the efficiency will be affected. Whether the API for querying the specified page item exists on the server

7. What do you mean by # Line 217 "D: \ mtkuser \ cusdir \ com \ mtfdrprc. MTH" in the. c file converted by met.

8. The subscribe portal has the same interface definition. In this way, Project No and Project No are implemented, and the operations are relatively large.
Can the two be integrated. (Project No retained)

9. config-param (processing)

 

Dispatcher

 

Summary

 

 

 

 

1. The calloc () function has two parameters: the number of elements and the size of each element. The product of these two parameters is the size of the memory space to be allocated.

2. dbframe is not a class and its usage is as follows:

Char * frame = NULL;

Begindbframe (classname, & frame, mfail );

Enddbframe (classname, frame, mfail );

Cleanups (FRAME );

This is intended for transaction processing.

3. When the number of services exceeds the specified number, the service will restart and release the corresponding memory resources. This restart is the task of each service. Not managed

6. Memory options consist of native, optimized and integrity.

Will be discuss later.

7.

The master node stores unchanged information.

The relationship between the part, family, and corresponding relation.

                       
   
   
 
 
     
   
 
 
 

 

 

 

 

 

 

 

 

 

 


Family object famlly class

 

When you build part family in the classic client, the corresponding family object is constructed based on the family class.

A part establishes a relation with a different family. This part inherits the attributes of this family. In principle:

Each part can establish a relation with multiple families.

Each family can establish a relation with multiple parts.

 

.

If only the part inherits one family, this effect can be achieved by using inheritance. This is a processing method of Teamcenter.

 

At present, on the thin client side, creating a part is divided into two steps. 1. Fill in the part property value. 2. Fill in the property value of the corresponding family. But there is a problem:

If the second step fails to be created, the first step is still successful, that is, the part is still created.

 

8. The default number of display items of items will be configured in the web. xml file of the web directory.

 

9, # Line 217 "" syntax,

Command # line changes the content of _ line _ and _ f I L E _, which are pre-defined identifiers in the Compilation Program.

Command # Line is mainly used for debugging and other special applications.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.