Changes between Version 20 and Version 21 of Writing Rules/Tlmt


Ignore:
Timestamp:
Dec 27, 2007, 11:02:53 AM (16 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Writing Rules/Tlmt

    v20 v21  
    182182== D.2) Sending a VCI response packet ==
    183183
    184 To send a VCI response packet the '''cmdReceived()''' function must use the '''rspSend()''' method, that is a member function of the class '''VciTargetPort''', and has the following prototype:
     184To send a VCI response packet the '''cmdReceived()''' function must use the '''rspSend()''' method, that is a member function of the class '''!VciTargetPort''', and has the following prototype:
    185185{{{
    186186void  rspSend( vci_rsp_t *cmd, 
     
    191191== D.3) Target Constructor ==
    192192
    193 The constructor of the class'''my_target''' must initialize all the member variables, including the '''p_vci''' port. The '''cmdReceived()''' call-back function being executed in the context of the thread sending the command packet, a link between the '''p_vci''' port and the call-back function must be established.
     193The constructor of the class '''my_target''' must initialize all the member variables, including the '''p_vci''' port. The '''cmdReceived()''' call-back function being executed in the context of the thread sending the command packet, a link between the '''p_vci''' port and the call-back function must be established.
    194194The '''!VciTargetPort''' constructor must be called with the following arguments:
    195195{{{