blob: 8f5e5ea4edeef2347804224356f1955074bfd303 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
/*
* ControlLoader.cpp
*
* Created on: Oct 25, 2011
* Author: christian
*/
#include "ControlLoader.h"
#include "pluginTemplate.h"
#include <string>
ControlLoader::ControlLoader()
{
ControlSendInterface* (*createFunc)();
std::string libPath="/home/christian/workspace/gitserver/build/plugins/control/libPluginControlInterface.so";
createFunc = getCreateFunction<ControlSendInterface*()>(libPath);
if (!createFunc) {
//DLT_LOG(AudioManager,DLT_LOG_INFO, DLT_STRING("Entry point of Communicator not found"));
}
//mControler = createFunc();
if (!mControler) {
//DLT_LOG(AudioManager,DLT_LOG_INFO, DLT_STRING("RoutingPlugin initialization failed. Entry Function not callable"));
}
}
ControlLoader::~ControlLoader()
{
}
ControlSendInterface *ControlLoader::returnControl()
{
return mControler;
}
|