iceoryx_doc
1.0.1
|
Public Member Functions | |
PoshRuntimeSingleProcess (const RuntimeName_t &name) noexcept | |
![]() | |
RuntimeName_t | getInstanceName () const noexcept |
get the name that was used to register with RouDi More... | |
void | shutdown () noexcept |
initiates the shutdown of the runtime to unblock all potentially blocking publisher with the SubscriberTooSlowPolicy::WAIT_FOR_SUBSCRIBER option set | |
cxx::expected< InstanceContainer, FindServiceError > | findService (const capro::ServiceDescription &serviceDescription) noexcept |
find all services that match the provided service description More... | |
bool | offerService (const capro::ServiceDescription &serviceDescription) noexcept |
offer the provided service, sends the offer from application to RouDi daemon More... | |
void | stopOfferService (const capro::ServiceDescription &serviceDescription) noexcept |
stop offering the provided service More... | |
PublisherPortUserType::MemberType_t * | getMiddlewarePublisher (const capro::ServiceDescription &service, const popo::PublisherOptions &publisherOptions=popo::PublisherOptions(), const PortConfigInfo &portConfigInfo=PortConfigInfo()) noexcept |
request the RouDi daemon to create a publisher port More... | |
SubscriberPortUserType::MemberType_t * | getMiddlewareSubscriber (const capro::ServiceDescription &service, const popo::SubscriberOptions &subscriberOptions=popo::SubscriberOptions(), const PortConfigInfo &portConfigInfo=PortConfigInfo()) noexcept |
request the RouDi daemon to create a subscriber port More... | |
popo::InterfacePortData * | getMiddlewareInterface (const capro::Interfaces interface, const NodeName_t &nodeName={""}) noexcept |
request the RouDi daemon to create an interface port More... | |
popo::ApplicationPortData * | getMiddlewareApplication () noexcept |
request the RouDi daemon to create an application port More... | |
popo::ConditionVariableData * | getMiddlewareConditionVariable () noexcept |
request the RouDi daemon to create a condition variable More... | |
NodeData * | createNode (const NodeProperty &nodeProperty) noexcept |
request the RouDi daemon to create a node More... | |
const std::atomic< uint64_t > * | getServiceRegistryChangeCounter () noexcept |
requests the serviceRegistryChangeCounter from the shared memory More... | |
bool | sendRequestToRouDi (const IpcMessage &msg, IpcMessage &answer) noexcept |
send a request to the RouDi daemon and get the response currently each request is followed by a response More... | |
PoshRuntime (const PoshRuntime &)=delete | |
PoshRuntime & | operator= (const PoshRuntime &)=delete |
PoshRuntime (PoshRuntime &&)=delete | |
PoshRuntime & | operator= (PoshRuntime &&)=delete |
Additional Inherited Members | |
![]() | |
static PoshRuntime & | getInstance () noexcept |
returns active runtime More... | |
static PoshRuntime & | initRuntime (const RuntimeName_t &name) noexcept |
creates the runtime with given name More... | |
![]() | |
using | factory_t = PoshRuntime &(*)(cxx::optional< const RuntimeName_t * >) |
![]() | |
PoshRuntime (cxx::optional< const RuntimeName_t * > name, const bool doMapSharedMemoryIntoThread=true) noexcept | |
![]() | |
static PoshRuntime & | defaultRuntimeFactory (cxx::optional< const RuntimeName_t * > name) noexcept |
static RuntimeName_t & | defaultRuntimeInstanceName () noexcept |
static factory_t & | getRuntimeFactory () noexcept |
gets current runtime factory. If the runtime factory is not yet initialized it is set to defaultRuntimeFactory. More... | |
static void | setRuntimeFactory (const factory_t &factory) noexcept |
sets runtime factory, terminates if given factory is empty More... | |
static PoshRuntime & | getInstance (cxx::optional< const RuntimeName_t * > name) noexcept |
creates the runtime or returns the already existing one -> Singleton More... | |