Code Search for Developers
 
 
  

FGLnode.h from Magnus at Krugle


Show FGLnode.h syntax highlighted

#ifndef Frank_FGLnode
#define Frank_FGLnode

#include "FObject.h"
class FGLnode;


typedef Boolean (*nodeFunc)(FGLnode *node);

class FGLnode:public FObject{

public:
	nodeFunc func;
	Boolean dirtyAbort;				// initialized to FALSE.  Set TRUE to abort the
									// node whether or not the GLvar is dirty.
	Boolean abort;					// initialized to FALSE, set TRUE to abort as
									// soon as the GLvar is clean.

	FGLnode(FObject* aSupervisor);
	virtual Boolean run(void);		// when you "run" the node it calls its func
									// repeatedly until timeout or func is FALSE.  
									// "run" the node again if run is TRUE
									// forget the node if run is FALSE
	virtual void nodeErr(int ID);
protected:
	Boolean GLvarIsClean;			// initialized to TRUE.  Subnodes must support
									// this flag in order to for the abort mechanism
									// to function properly.  
private:	
	static Boolean  goodbyeFunc(FGLnode *node);  

protected:
	short mailPerson;				// for internal communication
	
// OVERRIDE to customize your node's behavior
// at key control points

	virtual void wakeUp(void);			// called prior to each call to func
	virtual void auRevoir(void);		// called if func returns TRUE.  Default
										// auRevior supports the abort mechanism.
	virtual void goodbyeKiss(void);		// called if func returns FALSE
};
#endif




See more files for this project here

Magnus

Magnus is a special purpose mathematical package for Infinite Group Theory computations

Project homepage: http://sourceforge.net/projects/magnus
Programming language(s): C,C++
License: other

  FBlockManager.C
  FBlockManager.h
  FGLink.C
  FGLink.h
  FGLnode.C
  FGLnode.h
  FGLrecycleStack.C
  FGLrecycleStack.h
  FGLstack.C
  FGLstack.h
  FGLstepper.C
  FGLstepper.h
  FGLwalkNode.C
  FGLwalkNode.h
  FcleanUpNode.C
  FcleanUpNode.h
  FcloneNode.C
  FcloneNode.h
  FdebugNode.C
  FdebugNode.h
  FfoldNode.C
  FfoldNode.h
  FfoldStepper.C
  FfoldStepper.h
  FgrowNode.C
  FgrowNode.h
  FrandomRef.C
  FrandomRef.h
  FreducedFoldNode.C
  FreducedFoldNode.h
  FreducedVertexFolder.C
  FreducedVertexFolder.h
  FvertexFolder.C
  FvertexFolder.h
  GLfunctions.C
  GLfunctions.h
  GLref.h
  _FnameNode.cp_
  _FnameNode.h_
  _FrankNode.cp_
  _FrankNode.h_
  _FstrToGLvarNode.cp_
  _FstrToGLvarNode.h_
  debugGLink.C
  debugGLink.h