amitk3553 Posted August 2, 2013 Report Posted August 2, 2013 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 Quote
apfitch Posted August 2, 2013 Report Posted August 2, 2013 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 Quote
Recommended Posts
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.