Logo
ApraPipes 1.0
Loading...
Searching...
No Matches
PipeLine Class Reference

#include <PipeLine.h>

Collaboration diagram for PipeLine:
Collaboration graph

Public Member Functions

 PipeLine (std::string name)
 
 ~PipeLine ()
 
std::string getName ()
 
bool appendModule (boost::shared_ptr< Module > pModule)
 
bool addControlModule (boost::shared_ptr< AbsControlModule >cModule)
 
bool init ()
 
void run_all_threaded ()
 
void run_all_threaded_withpause ()
 
void pause ()
 
void play ()
 
void step ()
 
void stop ()
 
void term ()
 
void wait_for_all (bool ignoreStatus=false)
 
void interrupt_wait_for_all ()
 
void flushAllQueues (bool flushControlModuleQ=false)
 
const char * getStatus ()
 

Private Types

enum  Status { Status_ENUM =(MAKE_ENUM,X) }
 
typedef boost::shared_ptr< Moduleitem_type
 
typedef boost::container::deque< item_typecontainer_type
 

Private Member Functions

bool validate ()
 
bool checkCyclicDependency ()
 

Private Attributes

bool mPlay
 
Status myStatus
 
boost::shared_ptr< ModulecontrolModule = nullptr
 
std::string mName
 
container_type modules
 

Member Typedef Documentation

◆ container_type

boost::container::deque< item_type > PipeLine::container_type
private

◆ item_type

boost::shared_ptr<Module> PipeLine::item_type
private

Member Enumeration Documentation

◆ Status

enum PipeLine::Status
private
Enumerator
Status_ENUM 

Constructor & Destructor Documentation

◆ PipeLine()

PipeLine::PipeLine ( std::string name)
inline

◆ ~PipeLine()

PipeLine::~PipeLine ( )

Member Function Documentation

◆ addControlModule()

bool PipeLine::addControlModule ( boost::shared_ptr< AbsControlModule > cModule)

◆ appendModule()

bool PipeLine::appendModule ( boost::shared_ptr< Module > pModule)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ checkCyclicDependency()

bool PipeLine::checkCyclicDependency ( )
private
Here is the caller graph for this function:

◆ flushAllQueues()

void PipeLine::flushAllQueues ( bool flushControlModuleQ = false)

◆ getName()

std::string PipeLine::getName ( )
inline

◆ getStatus()

const char * PipeLine::getStatus ( )
Here is the caller graph for this function:

◆ init()

bool PipeLine::init ( )
Here is the call graph for this function:

◆ interrupt_wait_for_all()

void PipeLine::interrupt_wait_for_all ( )
Here is the call graph for this function:

◆ pause()

void PipeLine::pause ( )
Here is the caller graph for this function:

◆ play()

void PipeLine::play ( )

◆ run_all_threaded()

void PipeLine::run_all_threaded ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ run_all_threaded_withpause()

void PipeLine::run_all_threaded_withpause ( )
Here is the call graph for this function:

◆ step()

void PipeLine::step ( )

◆ stop()

void PipeLine::stop ( )
Here is the call graph for this function:

◆ term()

void PipeLine::term ( )
Here is the call graph for this function:

◆ validate()

bool PipeLine::validate ( )
private

◆ wait_for_all()

void PipeLine::wait_for_all ( bool ignoreStatus = false)
Here is the call graph for this function:

Member Data Documentation

◆ controlModule

boost::shared_ptr<Module> PipeLine::controlModule = nullptr
private

◆ mName

std::string PipeLine::mName
private

◆ modules

container_type PipeLine::modules
private

◆ mPlay

bool PipeLine::mPlay
private

◆ myStatus

Status PipeLine::myStatus
private

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