A.I.M.S


aims::BundleListener Class Reference

Serial processing of bundles. More...

#include <aims/fibers/bundles.h>

Inheritance diagram for aims::BundleListener:

Public Member Functions

virtual ~BundleListener ()
 

Protected Member Functions

virtual void bundleStarted (const BundleProducer &, const BundleInfo &)
 
virtual void bundleTerminated (const BundleProducer &, const BundleInfo &)
 
virtual void fiberStarted (const BundleProducer &, const BundleInfo &, const FiberInfo &)
 
virtual void fiberTerminated (const BundleProducer &, const BundleInfo &, const FiberInfo &)
 
virtual void fiberTerminated (const BundleProducer &, const BundleInfo &, const FiberInfo &, FiberPoint *, int &)
 
virtual void newFiberPoint (const BundleProducer &, const BundleInfo &, const FiberInfo &, const FiberPoint &)
 
virtual void noMoreBundle (const BundleProducer &)
 

Friends

class BundleProducer
 

Detailed Description

Serial processing of bundles.

BundleListener listens events from a BundleProducer object, typically emitted when a new bundle starts or ends, a fiber starts or ends etc.

To use it, BundleListener has to be subclassed and some of the following methods overloaded:

  • bundleStarted
  • bundleTerminated
  • fiberStarted
  • fiberTerminated
  • newFiberPoint
  • noMoreBundle

To connect the listener to a producer, use BundleProducer::addBundleListener.

Inherited classes may inherit both BundleListener and BundleProducer, if they are part of a processing chain.

Definition at line 152 of file bundles.h.

Constructor & Destructor Documentation

virtual aims::BundleListener::~BundleListener ( )
virtual

Member Function Documentation

virtual void aims::BundleListener::bundleStarted ( const BundleProducer ,
const BundleInfo  
)
protectedvirtual
virtual void aims::BundleListener::bundleTerminated ( const BundleProducer ,
const BundleInfo  
)
protectedvirtual
virtual void aims::BundleListener::fiberStarted ( const BundleProducer ,
const BundleInfo ,
const FiberInfo  
)
protectedvirtual
virtual void aims::BundleListener::fiberTerminated ( const BundleProducer ,
const BundleInfo ,
const FiberInfo  
)
protectedvirtual
virtual void aims::BundleListener::fiberTerminated ( const BundleProducer ,
const BundleInfo ,
const FiberInfo ,
FiberPoint ,
int &   
)
protectedvirtual
virtual void aims::BundleListener::newFiberPoint ( const BundleProducer ,
const BundleInfo ,
const FiberInfo ,
const FiberPoint  
)
protectedvirtual

Friends And Related Function Documentation

friend class BundleProducer
friend

Definition at line 156 of file bundles.h.


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