|
|
Main Page Class Hierarchy Compound List File List Compound Members File Members
L1DInject< opcode > Class Template Reference#include <L1DInject.hh>
Inheritance diagram for L1DInject< opcode >:
List of all members.
|
Public Member Functions |
| virtual | ~L1DInject () |
| | L1DInject (odfTask *task) |
| | Commands are attached to an odfTask.
|
| odfTask * | task () |
| | odfInject pure virtual methods, returns the odfTask who will execute that command
|
| unsigned | clinksA () const |
| | odfInject pure virtual methods, returns the 16 bit pattern of the "A" Clink
|
| unsigned | clinksB () const |
| | odfInject pure virtual methods, returns the 16 bit pattern of the "B" Clink (not used with trigger boards)
|
| odfCmnd::OpCode | opCode () const |
| | odfInject pure virtual methods, returns the opcode
|
| odfCmnd::Tag | tag () const |
| odfRequest::Directions | done () |
| void | issue (unsigned long link) |
| | send the command to the corresponding Clink pattern
|
Private Attributes |
| odfTask * | _task |
| | pointer to the odfTask who will execute the command
|
| unsigned | _clinksA |
| | storage of the C-link pattern for the Dataflow call to the clinksA() method
|
| unsigned | _clinksB |
| | storage of the C-link pattern for the Dataflow call to the clinksB() method
|
| odfSemaphore | _barrier |
| | the semaphore is used to ensure that the object will still exist when done is called
|
Detailed Description
template<odfCmnd::OpCode opcode>
class L1DInject< opcode >
Template class for injecting command to the board The template argument is the opcode of the command
Definition at line 22 of file L1DInject.hh.
Constructor & Destructor Documentation
|
template<odfCmnd::OpCode opcode> |
| virtual L1DInject< opcode >::~L1DInject |
( |
|
) |
[inline, virtual] |
|
|
template<odfCmnd::OpCode opcode> |
| L1DInject< opcode >::L1DInject |
( |
odfTask * |
task |
) |
|
|
|
|
Commands are attached to an odfTask.
Definition at line 11 of file L1DInject.cc. |
Member Function Documentation
|
template<odfCmnd::OpCode opcode> |
| unsigned L1DInject< opcode >::clinksA |
( |
|
) |
const [inline, virtual] |
|
|
template<odfCmnd::OpCode opcode> |
| unsigned L1DInject< opcode >::clinksB |
( |
|
) |
const [inline, virtual] |
|
|
|
odfInject pure virtual methods, returns the 16 bit pattern of the "B" Clink (not used with trigger boards)
Implements odfRequest.
Definition at line 34 of file L1DInject.hh. |
|
|
odfInject pure virtual methods, executed after the command has been sent. This is not executed by the same thread so any L1DInject object should be somehow permanent (static or else)
Implements odfRequest.
Definition at line 46 of file L1DInject.hh. |
|
template<odfCmnd::OpCode opcode> |
| void L1DInject< opcode >::issue |
( |
unsigned long |
link |
) |
[inline] |
|
|
|
send the command to the corresponding Clink pattern
Definition at line 49 of file L1DInject.hh. |
|
template<odfCmnd::OpCode opcode> |
| odfCmnd::OpCode L1DInject< opcode >::opCode |
( |
|
) |
const [inline, virtual] |
|
|
template<odfCmnd::OpCode opcode> |
| odfCmnd::Tag L1DInject< opcode >::tag |
( |
|
) |
const [inline, virtual] |
|
|
|
odfInject pure virtual methods, returns the tag or "sub-command bits", apparently not used in the trigger boards at injection
Implements odfInject.
Definition at line 40 of file L1DInject.hh. |
|
template<odfCmnd::OpCode opcode> |
| odfTask* L1DInject< opcode >::task |
( |
|
) |
[inline, virtual] |
|
Member Data Documentation
|
template<odfCmnd::OpCode opcode> |
odfSemaphore L1DInject< opcode >::_barrier [private]
|
|
|
template<odfCmnd::OpCode opcode> |
unsigned L1DInject< opcode >::_clinksA [private]
|
|
|
template<odfCmnd::OpCode opcode> |
unsigned L1DInject< opcode >::_clinksB [private]
|
|
|
template<odfCmnd::OpCode opcode> |
odfTask* L1DInject< opcode >::_task [private]
|
|
The documentation for this class was generated from the following files:
Generated on Thu Jun 5 20:55:51 2003 for L1DctTeststand by
1.3-rc3
|
|