summaryrefslogtreecommitdiff
path: root/CIAO/DAnCE/Plan_Generator/PCVisitor.h
diff options
context:
space:
mode:
Diffstat (limited to 'CIAO/DAnCE/Plan_Generator/PCVisitor.h')
-rw-r--r--CIAO/DAnCE/Plan_Generator/PCVisitor.h128
1 files changed, 0 insertions, 128 deletions
diff --git a/CIAO/DAnCE/Plan_Generator/PCVisitor.h b/CIAO/DAnCE/Plan_Generator/PCVisitor.h
deleted file mode 100644
index 2560c95e68c..00000000000
--- a/CIAO/DAnCE/Plan_Generator/PCVisitor.h
+++ /dev/null
@@ -1,128 +0,0 @@
-/* -*- C++ -*- */
-
-//========================================================================
-/**
- * file PCVisitor.h
- *
- * $Id$
- *
- * This file contains a number of Visitor classes which are used to
- * traverse the PackageConfiguration element defined in the
- * PackagingData.idl
- *
- * author Stoyan Paunov <spaunov@isis.vanderbilt.edu>
- * Shanshan Jiang <shanshan.jiang@vanderbilt.edu>
- */
-//========================================================================
-
-#ifndef PC_VISITOR_H
-#define PC_VISITOR_H
-
-#include /**/ "ace/pre.h"
-#include "PCVisitorBase.h" //for the base visitor
-
-//===========================================================================
-/**
- * class PCVisitor
- *
- * This class is is the actual implementation for the PackageConfiguration
- * Visitor. It derives from PCVisitorBase and overloads the functions which
- * deal with single elements. Sequences are handled in the base class.
- */
-//===========================================================================
-
-
-class PCVisitor : public PCVisitorBase
-{
-public:
- //constructor
- PCVisitor (Deployment::DeploymentPlan &plan,
- Deployment::PackageConfiguration &pc,
- bool modify);
-
- ///Entry point to protected Visitor functions
- int Visit ();
-
-protected:
- /// A whole slew of overloaded routines for different IDL
- /// data types part of the PackageConfiguration.
-
- virtual
- void Visit (Deployment::PackageConfiguration &pc);
-
- //ComponentPackageDescription descendents
- virtual
- void Visit (Deployment::ComponentPackageDescription &cpd);
-
- virtual
- void Visit (Deployment::ComponentInterfaceDescription &cid);
-
- virtual
- void Visit (Deployment::PackagedComponentImplementation &pci);
-
- virtual
- void Visit (Deployment::ComponentImplementationDescription &cid);
-
- virtual
- void Visit (Deployment::ComponentAssemblyDescription &cad);
-
- virtual
- void Visit (Deployment::SubcomponentInstantiationDescription &sid);
-
- virtual
- void Visit (Deployment::MonolithicImplementationDescription &mid);
-
- virtual
- void Visit (Deployment::NamedImplementationArtifact &nia);
-
- virtual
- void Visit (Deployment::ImplementationArtifactDescription &iad);
-
- //ComponentPackageReference descendents
- virtual
- void Visit (Deployment::ComponentPackageReference &cpr);
-
- //properties
- virtual
- void Visit (Deployment::AssemblyPropertyMapping &apm);
-
- virtual
- void Visit (Deployment::Property &property);
-
- //requirements & capabilities
- virtual
- void Visit (Deployment::Requirement &requirement);
-
- virtual
- void Visit (Deployment::Capability &capability);
-
- virtual
- void Visit (Deployment::ImplementationRequirement &ir);
-
- virtual
- void Visit (Deployment::ImplementationDependency &id);
-
- //ports and connections
- virtual
- void Visit (Deployment::AssemblyConnectionDescription &acd);
-
- virtual
- void Visit (Deployment::SubcomponentPortEndpoint &spe);
-
- virtual
- void Visit (Deployment::ComponentExternalPortEndpoint &cepe);
-
-protected:
- void update_execParameter (Deployment::ImplementationArtifactDescription& iad,
- Deployment::ArtifactDeploymentDescription& add);
-
-private:
- Deployment::DeploymentPlan& plan_;
- Deployment::PackageConfiguration& pc_;
- bool modify_;
- int last_impl_index_;
-};
-
-#include /**/ "ace/post.h"
-
-#endif /* PC_VISITOR_H */