TOBI SignalServer
0.1
|
Data Structures | |
struct | shared_memory_struct |
Public Member Functions | |
KinectShmReader (ticpp::Iterator< ticpp::Element > hw) | |
Constructor. | |
virtual | ~KinectShmReader () |
Destructor. | |
virtual SampleBlock< double > | getAsyncData () |
Method to achieve asynchronous data acquisition (method is non-blocking). | |
virtual void | run () |
Method to start data acquisition. | |
virtual void | stop () |
Method to stop data acquisition. | |
Private Member Functions | |
virtual void | setDeviceSettings (ticpp::Iterator< ticpp::Element >const &father) |
Set configuration listed in the <device_settings> section in the XML file. | |
virtual void | setChannelSettings (ticpp::Iterator< ticpp::Element >const &father) |
Set configuration listed in the <channel_settings> section in the XML file. | |
virtual SampleBlock< double > | getSyncData () |
Method to achieve synchronous data acquisition. | |
Private Attributes | |
boost::uint32_t | old_frame_id_ |
boost::posix_time::ptime | last_change_ |
bool | connected_ |
bool | event_reset_needed_ |
std::vector< double > | KinectShmReader_data_ |
SampleBlock< double > | data_ |
Data object representing the last available samples from the SineGenerator. | |
SampleBlock< double > | empty_block_ |
boost::interprocess::shared_memory_object * | shared_memory_obj_ |
boost::interprocess::mapped_region * | region_ |
struct tobiss::KinectShmReader::shared_memory_struct * | shared_memory_ |
Static Private Attributes | |
static const long | TIMEOUT = 100 |
static const char * | SHARED_MEMORY_NAME = "MotionSensingSharedMemory" |
static const HWThreadBuilderTemplateRegistratorWithoutIOService < KinectShmReader > | FACTORY_REGISTRATOR_ |