#include <FsfPulsar.h>
Inherits fsf::CCell.
Public Member Functions | |
Creators | |
CPulsar () | |
0-parameter constructor | |
virtual | ~CPulsar () |
Destructor. | |
Accessors | |
virtual void | getTypeID (std::string &str) |
Returns the pulsar's factory mapping key. | |
Manipulators | |
virtual bool | switchCell (bool bOn) |
Switches this pulsar on or off. | |
void | pulse () |
Creates an empty pulse and sends it to this pulsar's downstream cells. | |
Protected Attributes | |
pthread_t | m_thread |
pulsar thread | |
Pulsar thread | |
void | startPulsarThread () |
Interface function for thread triggering. | |
static void * | pulsarThreadProc (void *pParam) |
Calls pulse at regular time intervals. |
CPulsar::CPulsar | ( | ) |
0-parameter constructor
CPulsar::~CPulsar | ( | ) | [virtual] |
Destructor.
virtual void fsf::CPulsar::getTypeID | ( | std::string & | str | ) | [inline, virtual] |
Returns the pulsar's factory mapping key.
void * CPulsar::pulsarThreadProc | ( | void * | pParam | ) | [static] |
Calls pulse
at regular time intervals.
void CPulsar::pulse | ( | ) |
Creates an empty pulse and sends it to this pulsar's downstream cells.
void CPulsar::startPulsarThread | ( | ) |
Interface function for thread triggering.
Starts a new thread whose entry point is pulsarThreadProc
bool CPulsar::switchCell | ( | bool | bOn | ) | [virtual] |
pthread_t fsf::CPulsar::m_thread [protected] |
pulsar thread