#include <CorbaDeploymentComponent.hpp>
Public Member Functions | |
CorbaDeploymentComponent (const std::string &name, const std::string &siteFile="") | |
bool | createServer (const std::string &tc, bool use_naming) |
virtual | ~CorbaDeploymentComponent () |
Protected Member Functions | |
virtual bool | componentLoaded (RTT::TaskContext *c) |
virtual void | componentUnloaded (RTT::TaskContext *c) |
Definition at line 37 of file CorbaDeploymentComponent.hpp.
OCL::CorbaDeploymentComponent::CorbaDeploymentComponent | ( | const std::string & | name, |
const std::string & | siteFile = "" |
||
) |
Definition at line 79 of file CorbaDeploymentComponent.cpp.
OCL::CorbaDeploymentComponent::~CorbaDeploymentComponent | ( | ) | [virtual] |
Definition at line 91 of file CorbaDeploymentComponent.cpp.
bool OCL::CorbaDeploymentComponent::componentLoaded | ( | RTT::TaskContext * | c | ) | [protected, virtual] |
Check if c is a proxy or a local object. If it is a local object, make it a server.
Reimplemented from OCL::DeploymentComponent.
Definition at line 110 of file CorbaDeploymentComponent.cpp.
void OCL::CorbaDeploymentComponent::componentUnloaded | ( | RTT::TaskContext * | c | ) | [protected, virtual] |
Removes the CORBA server for this component.
c | a valid TaskContext object. |
Reimplemented from OCL::DeploymentComponent.
Definition at line 133 of file CorbaDeploymentComponent.cpp.
bool OCL::CorbaDeploymentComponent::createServer | ( | const std::string & | tc, |
bool | use_naming | ||
) |
Creates a ControlTask CORBA server for a given peer TaskContext.
Definition at line 97 of file CorbaDeploymentComponent.cpp.