Frobby  0.9.5
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
MsmIndependenceSplit Class Reference
Inheritance diagram for MsmIndependenceSplit:
TermConsumer Task

Classes

struct  RightConsumer
 

Public Member Functions

TaskgetLeftEvent ()
 
TermConsumergetLeftConsumer ()
 
TermConsumergetRightConsumer ()
 
const ProjectiongetLeftProjection ()
 
const ProjectiongetRightProjection ()
 
void reset (TermConsumer *consumer, IndependenceSplitter &splitter)
 
- Public Member Functions inherited from TermConsumer
virtual ~TermConsumer ()
 
virtual void consumeRing (const VarNames &names)
 Tell the consumer which ring is being used. More...
 
virtual void beginConsumingList ()
 Tell the consumer that the ideals that are consumed until the next call to doneConsumingList are to be considered as one list of ideals, rather than as a number of separate ideals. More...
 
virtual void doneConsumingList ()
 Must be called once after each time beginConsumingList has been called. More...
 
void consume (const Ideal &ideal)
 This is a non-virtual utility method that calls the other methods to achieve its effect of calling beginConsuming, then consuming all generators, and then calling doneConsuming. More...
 
- Public Member Functions inherited from Task
virtual ~Task ()
 

Private Member Functions

virtual void run (TaskEngine &engine)
 Does whatever work this task represents. More...
 
virtual void dispose ()
 Called when the task is no longer used but run has not and will not be called. More...
 
virtual void beginConsuming ()
 Tell the consumer to begin consuming an ideal. More...
 
virtual void doneConsuming ()
 Must be called once after each time beginConsuming has been called. More...
 
virtual void consume (const Term &term)
 Consume a term. More...
 

Private Attributes

MsmIndependenceSplit::RightConsumer _rightConsumer
 
TermConsumer_consumer
 
Projection _leftProjection
 
Projection _rightProjection
 
Term _tmpTerm
 

Detailed Description

Definition at line 178 of file MsmStrategy.cpp.

Member Function Documentation

◆ beginConsuming()

virtual void MsmIndependenceSplit::beginConsuming ( )
inlineprivatevirtual

Tell the consumer to begin consuming an ideal.

It is required to call this method before calling consume().

Implements TermConsumer.

Definition at line 221 of file MsmStrategy.cpp.

◆ consume()

virtual void MsmIndependenceSplit::consume ( const Term term)
inlineprivatevirtual

Consume a term.

Implements TermConsumer.

Definition at line 227 of file MsmStrategy.cpp.

◆ dispose()

virtual void MsmIndependenceSplit::dispose ( )
inlineprivatevirtual

Called when the task is no longer used but run has not and will not be called.

This can happen from a destructor being called due to an exception, so dispose must not throw an exception under any circumstances.

Implements Task.

Definition at line 217 of file MsmStrategy.cpp.

◆ doneConsuming()

virtual void MsmIndependenceSplit::doneConsuming ( )
inlineprivatevirtual

Must be called once after each time beginConsuming has been called.

Implements TermConsumer.

Definition at line 224 of file MsmStrategy.cpp.

◆ getLeftConsumer()

TermConsumer* MsmIndependenceSplit::getLeftConsumer ( )
inline

Definition at line 184 of file MsmStrategy.cpp.

◆ getLeftEvent()

Task* MsmIndependenceSplit::getLeftEvent ( )
inline

Definition at line 180 of file MsmStrategy.cpp.

◆ getLeftProjection()

const Projection& MsmIndependenceSplit::getLeftProjection ( )
inline

Definition at line 192 of file MsmStrategy.cpp.

◆ getRightConsumer()

TermConsumer* MsmIndependenceSplit::getRightConsumer ( )
inline

Definition at line 188 of file MsmStrategy.cpp.

◆ getRightProjection()

const Projection& MsmIndependenceSplit::getRightProjection ( )
inline

Definition at line 196 of file MsmStrategy.cpp.

◆ reset()

void MsmIndependenceSplit::reset ( TermConsumer consumer,
IndependenceSplitter splitter 
)
inline

Definition at line 200 of file MsmStrategy.cpp.

◆ run()

virtual void MsmIndependenceSplit::run ( TaskEngine engine)
inlineprivatevirtual

Does whatever work this task represents.

The parameter can be used to schedule additional tasks.

Implements Task.

Definition at line 213 of file MsmStrategy.cpp.

Member Data Documentation

◆ _consumer

TermConsumer* MsmIndependenceSplit::_consumer
private

Definition at line 251 of file MsmStrategy.cpp.

◆ _leftProjection

Projection MsmIndependenceSplit::_leftProjection
private

Definition at line 253 of file MsmStrategy.cpp.

◆ _rightConsumer

MsmIndependenceSplit::RightConsumer MsmIndependenceSplit::_rightConsumer
private

◆ _rightProjection

Projection MsmIndependenceSplit::_rightProjection
private

Definition at line 254 of file MsmStrategy.cpp.

◆ _tmpTerm

Term MsmIndependenceSplit::_tmpTerm
private

Definition at line 256 of file MsmStrategy.cpp.


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