Privacy
An open-source, flexible 3D physical simulation framework
mars::sim::NodeCOMSensor Class Reference

#include <NodeCOMSensor.h>

Public Member Functions

 NodeCOMSensor (interfaces::ControlCenter *control, IDListConfig config)
 
 ~NodeCOMSensor (void)
 
virtual int getAsciiData (char *data) const
 
virtual int getSensorData (interfaces::sReal **data) const
 
- Public Member Functions inherited from mars::sim::NodeArraySensor
 NodeArraySensor (interfaces::ControlCenter *control, IDListConfig config, bool initArray=true, bool registerReceiver=true)
 
virtual ~NodeArraySensor (void)
 
virtual void receiveData (const data_broker::DataInfo &info, const data_broker::DataPackage &package, int callbackParam)
 The DataBroker will call this method to notify the receiver of whenever the condition for which the receiver registered occur. More...
 
virtual configmaps::ConfigMap createConfig () const
 
- Public Member Functions inherited from mars::interfaces::SensorInterface
 SensorInterface (ControlCenter *center)
 
virtual ~SensorInterface ()
 
- Public Member Functions inherited from mars::interfaces::BaseSensor
 BaseSensor ()
 
virtual ~BaseSensor ()
 
 BaseSensor (unsigned long id, std::string name)
 
unsigned long getID () const
 
const std::string getName () const
 
void getCoreExchange (core_objects_exchange *obj) const
 
- Public Member Functions inherited from mars::data_broker::ReceiverInterface
 ReceiverInterface ()
 
virtual ~ReceiverInterface ()
 

Static Public Member Functions

static interfaces::BaseSensorinstanciate (interfaces::ControlCenter *control, interfaces::BaseConfig *config)
 
- Static Public Member Functions inherited from mars::sim::NodeArraySensor
static interfaces::BaseConfigparseConfig (interfaces::ControlCenter *control, configmaps::ConfigMap *config)
 
- Static Public Member Functions inherited from mars::interfaces::BaseSensor
static BaseConfigparseConfig (ControlCenter *control, configmaps::ConfigMap *config)
 

Additional Inherited Members

- Public Attributes inherited from mars::interfaces::BaseSensor
unsigned long id
 
std::string name
 
unsigned long updateRate
 
- Protected Attributes inherited from mars::sim::NodeArraySensor
std::string typeName
 
int countIDs
 
std::vector< double > doubleArray
 
IDListConfig config
 
- Protected Attributes inherited from mars::interfaces::SensorInterface
ControlCentercontrol
 

Detailed Description

Definition at line 41 of file NodeCOMSensor.h.

Constructor & Destructor Documentation

◆ NodeCOMSensor()

mars::sim::NodeCOMSensor::NodeCOMSensor ( interfaces::ControlCenter control,
IDListConfig  config 
)

Definition at line 49 of file NodeCOMSensor.cpp.

◆ ~NodeCOMSensor()

mars::sim::NodeCOMSensor::~NodeCOMSensor ( void  )
inline

Definition at line 45 of file NodeCOMSensor.h.

Member Function Documentation

◆ getAsciiData()

int mars::sim::NodeCOMSensor::getAsciiData ( char *  data) const
virtual

Reimplemented from mars::sim::NodeArraySensor.

Definition at line 55 of file NodeCOMSensor.cpp.

◆ getSensorData()

int mars::sim::NodeCOMSensor::getSensorData ( interfaces::sReal **  data) const
virtual

Reimplemented from mars::sim::NodeArraySensor.

Definition at line 61 of file NodeCOMSensor.cpp.

◆ instanciate()

BaseSensor * mars::sim::NodeCOMSensor::instanciate ( interfaces::ControlCenter control,
interfaces::BaseConfig config 
)
static

Definition at line 41 of file NodeCOMSensor.cpp.


The documentation for this class was generated from the following files: