#include <CorbaDeploymentComponent.hpp>

Public Member Functions | |
| CorbaDeploymentComponent (const std::string &name, const std::string &siteFile="") | |
| bool | createAliasServer (const std::string &tc, const std::string &alias, bool use_naming) |
| bool | createServer (const std::string &tc, bool use_naming) |
| virtual | ~CorbaDeploymentComponent () |
Public Member Functions inherited from OCL::DeploymentComponent | |
| bool | addPeer (const std::string &from, const std::string &target) |
| bool | aliasPeer (const std::string &from, const std::string &target, const std::string &alias) |
| bool | cleanupComponent (RTT::TaskContext *instance) |
| bool | cleanupComponent (const std::string &comp_name) |
| bool | cleanupComponents () |
| bool | cleanupComponentsGroup (const int group) |
| void | clearConfiguration () |
| bool | configure (const std::string &name) |
| bool | configureComponent (RTT::TaskContext *instance) |
| bool | configureComponent (const std::string &comp_name) |
| bool | configureComponents () |
| bool | configureComponentsGroup (const int group) |
| bool | configureFromFile (const std::string &name, const std::string &filename) |
| bool | connect (const std::string &one, const std::string &other, ConnPolicy policy) |
| bool | connectOperations (const std::string &required, const std::string &provided) |
| bool | connectPeers (const std::string &one, const std::string &other) |
| bool | connectPorts (const std::string &one, const std::string &other) |
| bool | connectPorts (const std::string &one, const std::string &one_port, const std::string &other, const std::string &other_port) |
| bool | connectServices (const std::string &one, const std::string &other) |
| bool | createConnectionMapFromPortsTag (RTT::Property< RTT::PropertyBag > &comp, RTT::TaskContext *c, const bool ignoreNonexistentPorts) |
| bool | createDataPortConnections (const bool skipUnconnected) |
| bool | createStream (const std::string &component, const std::string &port, ConnPolicy policy) |
| DeploymentComponent (std::string name="Deployer", std::string siteFile="") | |
| void | displayComponentTypes () const |
| std::vector< std::string > | getComponentTypes () const |
| const RTT::FactoryMap & | getFactories () const |
| bool | import (const std::string &package) |
| void | kickOut (const std::string &config_file) |
| bool | kickOutAll () |
| bool | kickOutComponent (const std::string &comp_name) |
| bool | kickOutGroup (const int group) |
| bool | kickStart (const std::string &file_name) |
| bool | kickStart2 (const std::string &configurationfile, const bool doStart, bool &loadOk, bool &configureOk, bool &startOk) |
| bool | loadComponent (const std::string &name, const std::string &type) |
| bool | loadComponents (const std::string &config_file) |
| bool | loadComponentsInGroup (const std::string &config_file, const int group) |
| bool | loadConfiguration (const std::string &config_file) |
| bool | loadConfigurationString (const std::string &config_text) |
| bool | loadLibrary (const std::string &name) |
| bool | loadService (const std::string &component, const std::string &service) |
| RTT::TaskContext * | myGetPeer (std::string name) |
| void | path (const std::string &path) |
| bool | reloadLibrary (const std::string &filepath) |
| bool | runScript (const std::string &file_name) |
| bool | setActivity (const std::string &comp_name, double period, int priority, int scheduler) |
| bool | setActivityOnCPU (const std::string &comp_name, double period, int priority, int scheduler, unsigned int cpu_nr) |
| bool | setFileDescriptorActivity (const std::string &comp_name, double timeout, int priority, int scheduler) |
| bool | setMasterSlaveActivity (const std::string &comp_name, const std::string &master_name) |
| bool | setNamedActivity (const std::string &comp_name, const std::string &act_type, double period, int priority, int scheduler, const std::string &master_name="") |
| bool | setNamedActivity (const std::string &comp_name, const std::string &act_type, double period, int priority, int scheduler, unsigned cpu_affinity, const std::string &master_name="") |
| bool | setPeriodicActivity (const std::string &comp_name, double period, int priority, int scheduler) |
| bool | setSequentialActivity (const std::string &comp_name) |
| bool | setSlaveActivity (const std::string &comp_name, double period) |
| bool | setWaitPeriodPolicy (const std::string &comp_name, int policy) |
| void | shutdownDeployment () |
| bool | startComponent (RTT::TaskContext *instance) |
| bool | startComponent (const std::string &comp_name) |
| bool | startComponents () |
| bool | startComponentsGroup (const int group) |
| bool | stopComponent (RTT::TaskContext *instance) |
| bool | stopComponent (const std::string &comp_name) |
| bool | stopComponents () |
| bool | stopComponentsGroup (const int group) |
| bool | stream (const std::string &port, ConnPolicy policy) |
| bool | unloadComponent (const std::string &name) |
| bool | unloadComponents () |
| bool | unloadComponentsGroup (const int group) |
| bool | waitForInterrupt () |
| bool | waitForSignal (int signumber) |
| bool | waitForSignals (int *sigs, std::size_t sig_count) |
| ~DeploymentComponent () | |
Public Member Functions inherited from RTT::TaskContext | |
| bool | addAttribute (const std::string &name, T &attr) |
| bool | addAttribute (base::AttributeBase &a) |
| bool | addAttribute (base::AttributeBase &a) |
| bool | addAttribute (const std::string &name, T &attr) |
| bool | addConstant (const std::string &name, const T &attr) |
| bool | addConstant (const std::string &name, const T &attr) |
| base::InputPortInterface & | addEventPort (const std::string &name, base::InputPortInterface &port, SlotFunction callback=SlotFunction()) |
| base::InputPortInterface & | addEventPort (base::InputPortInterface &port, SlotFunction callback=SlotFunction()) |
| Operation< Signature > & | addOperation (Operation< Signature > &op) |
| Operation< Signature > & | addOperation (Operation< Signature > &op) |
| Operation< typename internal::GetSignature< Func >::Signature > & | addOperation (const std::string name, Func func, Service *serv, ExecutionThread et=ClientThread) |
| Operation< Signature > & | addOperation (const std::string name, Signature *func, ExecutionThread et=ClientThread) |
| Operation< typename internal::GetSignature< Func >::Signature > & | addOperation (const std::string name, Func func, Service *serv, ExecutionThread et=ClientThread) |
| Operation< Signature > & | addOperation (const std::string name, Signature *func, ExecutionThread et=ClientThread) |
| virtual bool | addPeer (TaskContext *peer, std::string alias="") |
| virtual bool | addPeer (TaskContext *peer, std::string alias="") |
| base::PortInterface & | addPort (const std::string &name, base::PortInterface &port) |
| base::PortInterface & | addPort (base::PortInterface &port) |
| Property< T > & | addProperty (const std::string &name, T &attr) |
| bool | addProperty (base::PropertyBase &pb) |
| Property< T > & | addProperty (const std::string &name, T &attr) |
| bool | addProperty (base::PropertyBase &pb) |
| ConfigurationInterface * | attributes () |
| ConfigurationInterface * | attributes () |
| virtual void | clear () |
| virtual bool | connectPeers (TaskContext *peer) |
| virtual bool | connectPeers (TaskContext *peer) |
| virtual bool | connectPorts (TaskContext *peer) |
| virtual bool | connectServices (TaskContext *peer) |
| virtual bool | connectServices (TaskContext *peer) |
| virtual void | disconnect () |
| virtual void | disconnect () |
| virtual void | disconnectPeers (const std::string &name) |
| virtual void | disconnectPeers (const std::string &name) |
| base::ActivityInterface * | getActivity () |
| T * | getActivity () |
| base::AttributeBase * | getAttribute (const std::string &name) const |
| base::AttributeBase * | getAttribute (const std::string &name) const |
| virtual const std::string & | getName () const |
| OperationInterfacePart * | getOperation (std::string name) |
| OperationInterfacePart * | getOperation (std::string name) |
| virtual TaskContext * | getPeer (const std::string &peer_name) const |
| virtual TaskContext * | getPeer (const std::string &peer_name) const |
| virtual PeerList | getPeerList () const |
| virtual PeerList | getPeerList () const |
| base::PortInterface * | getPort (const std::string &name) const |
| base::PropertyBase * | getProperty (const std::string &name) const |
| base::PropertyBase * | getProperty (const std::string &name) const |
| boost::shared_ptr< ServiceType > | getProvider (const std::string &name) |
| boost::shared_ptr< ServiceType > | getProvider (const std::string &name) |
| virtual bool | hasPeer (const std::string &peer_name) const |
| virtual bool | hasPeer (const std::string &peer_name) const |
| bool | loadService (const std::string &service_name) |
| bool | loadService (const std::string &service_name) |
| OperationInterface * | operations () |
| OperationInterface * | operations () |
| DataFlowInterface * | ports () |
| const DataFlowInterface * | ports () const |
| PropertyBag * | properties () |
| PropertyBag * | properties () |
| Service::shared_ptr | provides (const std::string &service_name) |
| Service::shared_ptr | provides () |
| Service::shared_ptr | provides () |
| Service::shared_ptr | provides (const std::string &service_name) |
| virtual bool | ready () |
| virtual void | removePeer (const std::string &name) |
| virtual void | removePeer (TaskContext *peer) |
| virtual void | removePeer (TaskContext *peer) |
| virtual void | removePeer (const std::string &name) |
| ServiceRequester::shared_ptr | requires (const std::string &service_name) |
| ServiceRequester::shared_ptr | requires (const std::string &service_name) |
| ServiceRequester::shared_ptr | requires () |
| ServiceRequester::shared_ptr | requires () |
| bool | setActivity (base::ActivityInterface *new_act) |
| virtual bool | start () |
| virtual bool | stop () |
| TaskContext (const std::string &name, TaskState initial_state=Stopped) | |
| virtual | ~TaskContext () |
Public Member Functions inherited from RTT::base::TaskCore | |
| virtual bool | activate () |
| virtual bool | activate () |
| virtual bool | cleanup () |
| virtual bool | cleanup () |
| virtual bool | configure () |
| virtual bool | configure () |
| const ExecutionEngine * | engine () const |
| ExecutionEngine * | engine () |
| virtual void | error () |
| virtual void | error () |
| virtual unsigned | getCpuAffinity () const |
| virtual unsigned | getCpuAffinity () const |
| unsigned int | getCycleCounter () const |
| unsigned int | getIOCounter () const |
| virtual Seconds | getPeriod () const |
| virtual Seconds | getPeriod () const |
| virtual TaskState | getTargetState () const |
| virtual TaskState | getTaskState () const |
| unsigned int | getTimeOutCounter () const |
| unsigned int | getTriggerCounter () const |
| virtual bool | inException () const |
| virtual bool | inException () const |
| virtual bool | inFatalError () const |
| virtual bool | inFatalError () const |
| virtual bool | inRunTimeError () const |
| virtual bool | inRunTimeError () const |
| virtual bool | isActive () const |
| virtual bool | isActive () const |
| virtual bool | isConfigured () const |
| virtual bool | isConfigured () const |
| virtual bool | isRunning () const |
| virtual bool | isRunning () const |
| virtual bool | recover () |
| virtual bool | recover () |
| virtual bool | setCpuAffinity (unsigned cpu) |
| virtual bool | setCpuAffinity (unsigned cpu) |
| virtual bool | setPeriod (Seconds s) |
| virtual bool | setPeriod (Seconds s) |
| TaskCore (TaskState initial_state=Stopped, const std::string &name=std::string()) | |
| virtual bool | trigger () |
| virtual bool | trigger () |
| virtual bool | update () |
| virtual bool | update () |
| virtual | ~TaskCore () |
Protected Member Functions | |
| virtual bool | componentLoaded (RTT::TaskContext *c) |
| virtual void | componentUnloaded (RTT::TaskContext *c) |
Protected Member Functions inherited from OCL::DeploymentComponent | |
| bool | configureHook () |
| base::PortInterface * | stringToPort (std::string const &names) |
| Service::shared_ptr | stringToService (std::string const &names) |
| ServiceRequester::shared_ptr | stringToServiceRequester (std::string const &names) |
| bool | unloadComponentImpl (CompMap::iterator cit) |
Protected Member Functions inherited from RTT::TaskContext | |
| virtual void | dataOnPortCallback (base::PortInterface *port) |
| virtual bool | dataOnPortHook (base::PortInterface *port) |
| void | forceActivity (base::ActivityInterface *new_act) |
Protected Member Functions inherited from RTT::base::TaskCore | |
| virtual bool | breakUpdateHook () |
| virtual void | cleanupHook () |
| virtual void | errorHook () |
| virtual void | exception () |
| virtual void | exceptionHook () |
| virtual void | fatal () |
| virtual bool | startHook () |
| virtual void | stopHook () |
| virtual void | updateHook () |
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.
|
virtual |
Definition at line 92 of file CorbaDeploymentComponent.cpp.
|
protectedvirtual |
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 122 of file CorbaDeploymentComponent.cpp.
|
protectedvirtual |
Removes the CORBA server for this component.
| c | a valid TaskContext object. |
Reimplemented from OCL::DeploymentComponent.
Definition at line 145 of file CorbaDeploymentComponent.cpp.
| bool OCL::CorbaDeploymentComponent::createAliasServer | ( | const std::string & | tc, |
| const std::string & | alias, | ||
| bool | use_naming | ||
| ) |
Creates a ControlTask CORBA server for a given peer TaskContext.
Definition at line 110 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 98 of file CorbaDeploymentComponent.cpp.