Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Examples  

cluster::ClusterPlugin Class Reference

#include <ClusterPlugin.h>

List of all members.

Public Methods

 ClusterPlugin ()
virtual ~ClusterPlugin ()
virtual vpr::GUID getPluginGUID ()=0
 Get the GUID associated with this plugin. More...

virtual void handlePacket (Packet *packet, ClusterNode *node)=0
 Handle a incoming packet. More...

virtual void recoverFromLostNode (ClusterNode *lostNode)
 Virtual function used to inform all plugins that the ClusterNetwork has lost its connection to the given ClusterNode. More...

void setActive (bool active)
bool isActive ()
virtual void preDraw ()=0
virtual void postPostFrame ()=0
virtual std::string getPluginName ()=0
virtual void sendRequests ()
virtual void addSerializableObject (vpr::SerializableObject *object)
virtual bool isPluginReady ()
virtual bool createBarrier ()
virtual bool configCanHandle (jccl::ConfigElementPtr element)=0
virtual bool configAdd (jccl::ConfigElementPtr element)=0
virtual bool configRemove (jccl::ConfigElementPtr element)=0


Constructor & Destructor Documentation

cluster::ClusterPlugin::ClusterPlugin  
 

Definition at line 39 of file ClusterPlugin.cpp.

00040    {
00041       mActive = false;
00042    }

cluster::ClusterPlugin::~ClusterPlugin   [virtual]
 

Definition at line 44 of file ClusterPlugin.cpp.

00045    {
00046       ClusterManager::instance()->removePlugin(this);
00047    }


Member Function Documentation

virtual vpr::GUID cluster::ClusterPlugin::getPluginGUID   [pure virtual]
 

Get the GUID associated with this plugin.

virtual void cluster::ClusterPlugin::handlePacket Packet   packet,
ClusterNode   node
[pure virtual]
 

Handle a incoming packet.

virtual void cluster::ClusterPlugin::recoverFromLostNode ClusterNode   lostNode [inline, virtual]
 

Virtual function used to inform all plugins that the ClusterNetwork has lost its connection to the given ClusterNode.

Definition at line 77 of file ClusterPlugin.h.

00078    {
00079       boost::ignore_unused_variable_warning(lostNode);
00080    }

void cluster::ClusterPlugin::setActive bool    active
 

Definition at line 49 of file ClusterPlugin.cpp.

00050    {
00051       mActive = active;
00052    }

bool cluster::ClusterPlugin::isActive  
 

Definition at line 53 of file ClusterPlugin.cpp.

00054    {
00055       return(mActive);
00056    }

virtual void cluster::ClusterPlugin::preDraw   [pure virtual]
 

virtual void cluster::ClusterPlugin::postPostFrame   [pure virtual]
 

virtual std::string cluster::ClusterPlugin::getPluginName   [pure virtual]
 

virtual void cluster::ClusterPlugin::sendRequests   [inline, virtual]
 

Definition at line 90 of file ClusterPlugin.h.

00091    {;}

virtual void cluster::ClusterPlugin::addSerializableObject vpr::SerializableObject *    object [inline, virtual]
 

Definition at line 93 of file ClusterPlugin.h.

00094    {            \
00095       boost::ignore_unused_variable_warning(object);
00096       vprASSERT(false && "Adding a serializableObject is not supported by this plugin.");
00097    }

virtual bool cluster::ClusterPlugin::isPluginReady   [inline, virtual]
 

Definition at line 99 of file ClusterPlugin.h.

00100    {
00101       return true;
00102    }

virtual bool cluster::ClusterPlugin::createBarrier   [inline, virtual]
 

Definition at line 104 of file ClusterPlugin.h.

00105    {
00106       return false;
00107    }

virtual bool cluster::ClusterPlugin::configCanHandle jccl::ConfigElementPtr    element [pure virtual]
 

virtual bool cluster::ClusterPlugin::configAdd jccl::ConfigElementPtr    element [pure virtual]
 

virtual bool cluster::ClusterPlugin::configRemove jccl::ConfigElementPtr    element [pure virtual]
 


The documentation for this class was generated from the following files:
Generated on Sun May 2 14:26:44 2004 for Gadgeteer by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002