Jump to content

Recommended Posts

Posted

Hi guys,

 

1)tlm_generic_payload *trans;

 

in the above line we are making object of payload. but instead of this trans is having some meaning in TLM?

 

please brief the idea  

 

2)what is the difference in followings:

 

tlm_generic_payload *trans  and tlm_generic_payload trans

 

3)Please let me know the link of  detailed format of tlm_generic_payload?

 

Thanks

 

 

Regards

cam

Posted

1) No you're not making an object, you're declaring a pointer.

The name "trans" is just short for "transaction". You can use any name instead, e.g.

 

tlm_generic_payload * fred;

 

2) This is just a C++ question. If you know the difference between

int * i;

and

int i;

 

then you know the answer yourself.

 

3) See the 1666-2011 LRM

 

regards

Alan

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...