BuildDirs[$e]=$HOME/src/automotive-message-broker/build
CMakeDir=/usr/share/cmake-2.8/Modules
Current CMake Binary=file:///usr/bin/cmake
-CurrentBuildDir=file:///home/kev/src/automotive-message-broker/build
+CurrentBuildDir=file:///home/tripzero/src/automotive-message-broker/build
CurrentBuildType=Release
CurrentInstallDir=file:///usr/local
Extra Arguments=
set(amb_sources steeringwheelangleproperty.cpp accelerationproperty.cpp enginecoolantproperty.cpp engineoilproperty.cpp fuelrangeproperty.cpp fuellevelproperty.cpp chime.cpp hornproperty.cpp interiorlightstatusproperty.cpp lightstatusproperty.cpp wheelbrakeproperty.cpp cruisecontrolstatus.cpp transmissiongearstatus.cpp tripmeterproperty.cpp fueleconomyproperty.cpp vehiclepowermodeproperty.cpp enginespeedproperty.cpp runningstatusinterface.cpp vehiclespeed.cpp abstractdbusinterface.cpp abstractproperty.cpp dbusinterfacemanager.cpp debugout.cpp)
-set(amb_headers_install abstractproperty.h vehiclespeed.h hornproperty.h interiorlightstatusproperty.h lightstatusproperty.h wheelbrakeproperty.h cruisecontrolstatus.h transmissiongearstatus.h tripmeterproperty.h fueleconomyproperty.h vehiclepowermodeproperty.h enginespeedproperty.h chime.h)
+set(amb_headers_install abstractdbusinterface.h abstractproperty.h vehiclespeed.h hornproperty.h interiorlightstatusproperty.h lightstatusproperty.h wheelbrakeproperty.h cruisecontrolstatus.h transmissiongearstatus.h tripmeterproperty.h fueleconomyproperty.h vehiclepowermodeproperty.h enginespeedproperty.h chime.h)
include_directories( ${include_dirs} )
add_library(amb SHARED ${amb_sources})
#include "abstractproperty.h"
+#include "abstractdbusinterface.h"
AbstractProperty::AbstractProperty(string pn, string sig, Access access, AbstractDBusInterface* interface)
: mPropertyName(pn), mSignature(sig), mAccess(access), mInterface(interface)
{
interface->addProperty(this);
}
+
+void AbstractProperty::updateValue()
+{
+ mInterface->updateValue(this);
+}
#include <boost/any.hpp>
#include <glib.h>
-#include "abstractdbusinterface.h"
+class AbstractDBusInterface;
using namespace std;
void setValue(T val)
{
mValue = val;
- mInterface->updateValue(this);
+ updateValue();
}
template<typename T>
protected: ///methods:
-
+ void updateValue();
protected:
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix}
libdir=@LIB_INSTALL_DIR@
-includedir=@INCLUDE_INSTALL_DIR@
+includedir=@INCLUDE_INSTALL_DIR@/amb
-Name: nobdy2
-Description: nobdy2 is awesome
-Version: 0.0.1
+Name: automotive-message-broker
+Description:
+Version: @PROJECT_VERSION@
Requires: gio-2.0 glib-2.0
-Libs: -L${libdir} -lnobdy
+Libs: -L${libdir} -lamb
Cflags: -I${includedir}
\ No newline at end of file