23#ifndef _PLUGINS_OPENPRS_ASPECT_OPENPRS_INIFIN_H_
24#define _PLUGINS_OPENPRS_ASPECT_OPENPRS_INIFIN_H_
26#include <aspect/inifins/inifin.h>
27#include <plugins/openprs/aspect/openprs.h>
35class OpenPRSKernelManager;
36class OpenPRSServerProxy;
37class OpenPRSMessagePasserProxy;
48 void prepare(
const std::string & fawkes_host,
49 unsigned short fawkes_port,
57 std::string fawkes_host_;
58 unsigned short fawkes_port_;
64 float kernel_timeout_sec_;
Aspect initializer/finalizer base class.
LockPtr<> is a reference-counting shared lockable smartpointer.
OpenPRSAspect initializer/finalizer.
void prepare(const std::string &fawkes_host, unsigned short fawkes_port, LockPtr< OpenPRSKernelManager > &openprs_kernel_mgr, OpenPRSServerProxy *openprs_server_proxy, OpenPRSMessagePasserProxy *openprs_mp_proxy)
Prepare OpenPRS aspect initializer.
void set_kernel_timeout(float timeout_sec)
Set timeout for kernel creation.
~OpenPRSAspectIniFin()
Destructor.
OpenPRSAspectIniFin()
Constructor.
virtual void init(Thread *thread)
Initialize thread.
virtual void finalize(Thread *thread)
Finalize thread.
OpenPRS communication wrapper.
Proxy for the OpenPRS server communication.
Thread class encapsulation of pthreads.
Fawkes library namespace.