libvpb  4.2.61
V4PCIToneGen Class Reference

V4PCI tone generator specialisation More...

Inheritance diagram for V4PCIToneGen:
Inheritance graph
Collaboration diagram for V4PCIToneGen:
Collaboration graph

Public Member Functions

 V4PCIToneGen (Comm *comm, unsigned int cardnum)
 Constructor. More...
 
- Public Member Functions inherited from ToneGen
 ToneGen ()
 Default constructor.
 
virtual ~ToneGen ()
 Virtual destructor.
 
void Start (Config *tone, bool sync=false)
 Begin generation of a single tone. More...
 
void Stop ()
 Stop tone generation. More...
 
State GetState () const
 Return the current state of this ToneGen. More...
 
void BeginSequence (Config *tone, bool sync=false)
 Prepare the tone generator for playing a sequence of related tones. More...
 
void ContinueSequence ()
 Begin the next discrete tone in an atomic sequence. More...
 
void EndSequence ()
 Signal the completion of an atomic sequence of tones. More...
 
void SignalCompletion ()
 Notify the tone generator of an external completion event. More...
 
ConfigGetConfig () const
 Return the ToneGen::Config data. More...
 

Protected Member Functions

State ImplStart ()
 Called by Start() for implementation specific operations.
 
void ImplStop ()
 Called by Stop() for implementation specific operations.
 

Additional Inherited Members

- Public Types inherited from ToneGen
enum  State { IDLE , SEQUENCE , CONTINUOUS , ONESHOT }
 ToneGen state information More...
 
typedef std::vector< ToneGen * > List
 Container type for a list of pointers to ToneGen structures.
 
typedef void(* CompletionCallback) (ToneGen &)
 Call back type for tone completion notification.
 

Detailed Description

V4PCI tone generator specialisation

Constructor & Destructor Documentation

◆ V4PCIToneGen()

V4PCIToneGen::V4PCIToneGen ( Comm comm,
unsigned int  cardnum 
)
inline

Constructor.

Parameters
commThe Comm object for this card.
cardnumThe number of this card.