CCA
cca::timing::BeatProvider Class Reference

#include <BeatProvider.h>

Inheritance diagram for cca::timing::BeatProvider:
Collaboration diagram for cca::timing::BeatProvider:

List of all members.

Public Member Functions

 BeatProvider ()
 Constructor.
virtual ~BeatProvider ()
virtual void beat ()
 Sending a beat into the system.
virtual void configureBeatOutputPort (PortConfigurationPtr portcfg)

Protected Member Functions

virtual void createBeatOutputPort ()
 Creates the Port.

Protected Attributes

OutputPort< Tick >::Ptr outputBeat
 Outgoing beat port.
rsc::logging::LoggerPtr logger
 Component logger.
unsigned int sequenceNumber
 Tick sequence number counter.

Detailed Description

Definition at line 43 of file BeatProvider.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 45 of file BeatProvider.cpp.

References createBeatOutputPort().

Here is the call graph for this function:

Definition at line 51 of file BeatProvider.cpp.


Member Function Documentation

void cca::timing::BeatProvider::beat ( ) [virtual]

Sending a beat into the system.

Definition at line 69 of file BeatProvider.cpp.

References logger, outputBeat, cca::OutputPort< DATATYPE >::print(), cca::OutputPort< DATATYPE >::publish(), and sequenceNumber.

Here is the call graph for this function:

Definition at line 64 of file BeatProvider.cpp.

References cca::Port::configure(), logger, and outputBeat.

Referenced by createBeatOutputPort().

Here is the call graph for this function:

Here is the caller graph for this function:

void cca::timing::BeatProvider::createBeatOutputPort ( ) [protected, virtual]

Creates the Port.

Definition at line 54 of file BeatProvider.cpp.

References configureBeatOutputPort(), cca::PortConfiguration::LOCAL(), logger, and outputBeat.

Referenced by BeatProvider().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

rsc::logging::LoggerPtr cca::timing::BeatProvider::logger [protected]

Component logger.

Reimplemented in cca::timing::HeartBeat.

Definition at line 68 of file BeatProvider.h.

Referenced by beat(), configureBeatOutputPort(), and createBeatOutputPort().

Tick sequence number counter.

Definition at line 71 of file BeatProvider.h.

Referenced by beat().


The documentation for this class was generated from the following files: