22 #ifndef RESOURCE_IMPL_H 23 #define RESOURCE_IMPL_H 33 #include "ossie/logging/loghelpers.h" 34 #include "ossie/ossieSupport.h" 35 #include "ossie/prop_helpers.h" 36 #include "ossie/Containers.h" 37 #include "ossie/PropertyMap.h" 38 #include "ossie/Autocomplete.h" 41 #ifdef BEGIN_AUTOCOMPLETE_IGNORE 42 public virtual POA_CF::Resource,
59 start_component(boost::bind(&Resource_impl::make_component<T>,boost::ref(component),_1,_2), argc, argv);
74 void start () throw (CF::Resource::StartError, CORBA::SystemException);
75 void stop () throw (CF::Resource::StopError, CORBA::SystemException);
76 void initialize () throw (CF::LifeCycle::InitializeError, CORBA::SystemException);
77 void releaseObject() throw (CORBA::SystemException, CF::LifeCycle::ReleaseError);
78 char*
identifier () throw (CORBA::SystemException);
79 CORBA::Boolean
started() throw (CORBA::SystemException);
129 component =
new T(identifier.c_str(), name.c_str());
135 typedef boost::function<Resource_impl* (const std::string&, const std::string&)> ctor_type;
137 std::string currentWorkingDirectory;
138 redhawk::DomainManagerContainer *_domMgr;
std::string _parent_id
Definition: Resource_impl.h:104
omni_condition component_running
Definition: Resource_impl.h:118
static void start_component(T *&component, int argc, char *argv[])
Definition: Resource_impl.h:50
virtual void constructor()
virtual void setCurrentWorkingDirectory(std::string &cwd)
std::string naming_service_name
Definition: Resource_impl.h:103
redhawk::DomainManagerContainer * getDomainManager()
Definition: Resource_impl.h:92
Definition: Logging_impl.h:31
Definition: TestableObject_impl.h:32
Definition: Resource_impl.h:40
void setParentId(const std::string &parentid)
Definition: Resource_impl.h:71
std::string _softwareProfile
Definition: Resource_impl.h:115
virtual std::string & getCurrentWorkingDirectory()
std::string _identifier
Definition: Resource_impl.h:99
bool _started
Definition: Resource_impl.h:111
virtual void setAdditionalParameters(std::string &softwareProfile, std::string &application_registrar_ior, std::string &nic)
Definition: PropertySet_impl.h:39
Definition: PortSupplier_impl.h:37
omni_mutex component_running_mutex
Definition: Resource_impl.h:117
Definition: LifeCycle_impl.h:35