RflySimSDK v3.05
RflySimSDK说明文档
载入中...
搜索中...
未找到
vrpn_Imager_Stream_Buffer类 参考
+ 类 vrpn_Imager_Stream_Buffer 继承关系图:
+ vrpn_Imager_Stream_Buffer 的协作图:

Public 成员函数

 vrpn_Imager_Stream_Buffer (const char *name, const char *imager_server_name, vrpn_Connection *c)
 
virtual void mainloop (void)
 
- Public 成员函数 继承自 vrpn_Auxiliary_Logger_Server
 vrpn_Auxiliary_Logger_Server (const char *name, vrpn_Connection *c)
 
- Public 成员函数 继承自 vrpn_Auxiliary_Logger
 vrpn_Auxiliary_Logger (const char *name, vrpn_Connection *c)
 
- Public 成员函数 继承自 vrpn_BaseClass
 vrpn_BaseClass (const char *name, vrpn_Connection *c=NULL)
 
- Public 成员函数 继承自 vrpn_BaseClassUnique
vrpn_ConnectionconnectionPtr ()
 Returns a pointer to the connection this object is using
 
- Public 成员函数 继承自 vrpn_Imager_Server
 vrpn_Imager_Server (const char *name, vrpn_Connection *c, vrpn_int32 nCols, vrpn_int32 nRows, vrpn_int32 nDepth=1)
 
int add_channel (const char *name, const char *units="unsigned8bit", vrpn_float32 minVal=0, vrpn_float32 maxVal=255, vrpn_float32 scale=1, vrpn_float32 offset=0)
 
bool send_begin_frame (const vrpn_uint16 cMin, const vrpn_uint16 cMax, const vrpn_uint16 rMin, const vrpn_uint16 rMax, const vrpn_uint16 dMin=0, const vrpn_uint16 dMax=0, const struct timeval *time=NULL)
 
bool send_end_frame (const vrpn_uint16 cMin, const vrpn_uint16 cMax, const vrpn_uint16 rMin, const vrpn_uint16 rMax, const vrpn_uint16 dMin=0, const vrpn_uint16 dMax=0, const struct timeval *time=NULL)
 
bool send_discarded_frames (const vrpn_uint16 count=0, const struct timeval *time=NULL)
 
bool send_region_using_base_pointer (vrpn_int16 chanIndex, vrpn_uint16 cMin, vrpn_uint16 cMax, vrpn_uint16 rMin, vrpn_uint16 rMax, const vrpn_uint8 *data, vrpn_uint32 colStride, vrpn_uint32 rowStride, vrpn_uint16 nRows=0, bool invert_rows=false, vrpn_uint32 depthStride=0, vrpn_uint16 dMin=0, vrpn_uint16 dMax=0, const struct timeval *time=NULL)
 
bool send_region_using_base_pointer (vrpn_int16 chanIndex, vrpn_uint16 cMin, vrpn_uint16 cMax, vrpn_uint16 rMin, vrpn_uint16 rMax, const vrpn_uint16 *data, vrpn_uint32 colStride, vrpn_uint32 rowStride, vrpn_uint16 nRows=0, bool invert_rows=false, vrpn_uint32 depthStride=0, vrpn_uint16 dMin=0, vrpn_uint16 dMax=0, const struct timeval *time=NULL)
 
bool send_region_using_base_pointer (vrpn_int16 chanIndex, vrpn_uint16 cMin, vrpn_uint16 cMax, vrpn_uint16 rMin, vrpn_uint16 rMax, const vrpn_float32 *data, vrpn_uint32 colStride, vrpn_uint32 rowStride, vrpn_uint16 nRows=0, bool invert_rows=false, vrpn_uint32 depthStride=0, vrpn_uint16 dMin=0, vrpn_uint16 dMax=0, const struct timeval *time=NULL)
 
bool send_region_using_first_pointer (vrpn_int16 chanIndex, vrpn_uint16 cMin, vrpn_uint16 cMax, vrpn_uint16 rMin, vrpn_uint16 rMax, const vrpn_uint8 *data, vrpn_uint32 colStride, vrpn_uint32 rowStride, vrpn_uint16 nRows=0, bool invert_rows=false, vrpn_uint32 depthStride=0, vrpn_uint16 dMin=0, vrpn_uint16 dMax=0, const struct timeval *time=NULL)
 
bool send_region_using_first_pointer (vrpn_int16 chanIndex, vrpn_uint16 cMin, vrpn_uint16 cMax, vrpn_uint16 rMin, vrpn_uint16 rMax, const vrpn_uint16 *data, vrpn_uint32 colStride, vrpn_uint32 rowStride, vrpn_uint16 nRows=0, bool invert_rows=false, vrpn_uint32 depthStride=0, vrpn_uint16 dMin=0, vrpn_uint16 dMax=0, const struct timeval *time=NULL)
 
bool send_region_using_first_pointer (vrpn_int16 chanIndex, vrpn_uint16 cMin, vrpn_uint16 cMax, vrpn_uint16 rMin, vrpn_uint16 rMax, const vrpn_float32 *data, vrpn_uint32 colStride, vrpn_uint32 rowStride, vrpn_uint16 nRows=0, bool invert_rows=false, vrpn_uint32 depthStride=0, vrpn_uint16 dMin=0, vrpn_uint16 dMax=0, const struct timeval *time=NULL)
 
bool set_resolution (vrpn_int32 nCols, vrpn_int32 nRows, vrpn_int32 nDepth=1)
 
bool send_description (void)
 
- Public 成员函数 继承自 vrpn_Imager
 vrpn_Imager (const char *name, vrpn_Connection *c=NULL)
 
vrpn_int32 nRows (void) const
 
vrpn_int32 nCols (void) const
 
vrpn_int32 nDepth (void) const
 
vrpn_int32 nChannels (void) const
 

Protected 成员函数

virtual void handle_request_logging (const char *local_in_logfile_name, const char *local_out_logfile_name, const char *remote_in_logfile_name, const char *remote_out_logfile_name)
 
virtual void handle_request_logging_status ()
 
virtual void handle_dropped_last_connection (void)
 
virtual void handle_got_first_connection (void)
 
void logging_thread_func (void)
 
bool stop_logging_thread (void)
 
vrpn_Connectionopen_new_log_connection (const char *local_in_logfile_name, const char *local_out_logfile_name, const char *remote_in_logfile_name, const char *remote_out_logfile_name)
 
bool setup_handlers_for_logging_connection (vrpn_Connection *c)
 
bool teardown_handlers_for_logging_connection (vrpn_Connection *c)
 
bool make_new_logging_connection (const char *local_in_logfile_name, const char *local_out_logfile_name, const char *remote_in_logfile_name, const char *remote_out_logfile_name)
 
int handle_server_messages (const vrpn_HANDLERPARAM &p)
 
bool transcode_and_send (const vrpn_HANDLERPARAM &p)
 
vrpn_int32 transcode_type (vrpn_int32 type)
 
- Protected 成员函数 继承自 vrpn_Auxiliary_Logger_Server
bool send_report_logging (const char *local_in_logfile_name, const char *local_out_logfile_name, const char *remote_in_logfile_name, const char *remote_out_logfile_name)
 
- Protected 成员函数 继承自 vrpn_Auxiliary_Logger
virtual int register_types (void)
 
bool pack_log_message_of_type (vrpn_int32 type, const char *local_in_logfile_name, const char *local_out_logfile_name, const char *remote_in_logfile_name, const char *remote_out_logfile_name)
 
bool unpack_log_message_from_buffer (const char *buf, vrpn_int32 buflen, char **local_in_logfile_name, char **local_out_logfile_name, char **remote_in_logfile_name, char **remote_out_logfile_name)
 
- Protected 成员函数 继承自 vrpn_BaseClass
virtual int init (void)
 
virtual int register_senders (void)
 
- Protected 成员函数 继承自 vrpn_BaseClassUnique
int register_autodeleted_handler (vrpn_int32 type, vrpn_MESSAGEHANDLER handler, void *userdata, vrpn_int32 sender=vrpn_ANY_SENDER)
 
int send_text_message (const char *msg, struct timeval timestamp, vrpn_TEXT_SEVERITY type=vrpn_TEXT_NORMAL, vrpn_uint32 level=0)
 Sends a NULL-terminated text message from the device d_sender_id
 
SendTextMessageBoundCall send_text_message (vrpn_TEXT_SEVERITY type=vrpn_TEXT_NORMAL)
 
void server_mainloop (void)
 
void client_mainloop (void)
 
- Protected 成员函数 继承自 vrpn_Imager
virtual int register_types (void)
 

静态 Protected 成员函数

static int VRPN_CALLBACK static_handle_request_logging (void *userdata, vrpn_HANDLERPARAM p)
 
static int VRPN_CALLBACK static_handle_throttle_message (void *userdata, vrpn_HANDLERPARAM p)
 
static int VRPN_CALLBACK static_handle_got_first_connection (void *userdata, vrpn_HANDLERPARAM p)
 
static void static_logging_thread_func (vrpn_ThreadData &threadData)
 
static void VRPN_CALLBACK handle_image_description (void *pvISB, const struct timeval msg_time)
 
static int VRPN_CALLBACK static_handle_server_messages (void *pvISB, vrpn_HANDLERPARAM p)
 
- 静态 Protected 成员函数 继承自 vrpn_Auxiliary_Logger_Server
static int VRPN_CALLBACK static_handle_dropped_last_connection (void *userdata, vrpn_HANDLERPARAM p)
 
static int VRPN_CALLBACK static_handle_request_logging (void *userdata, vrpn_HANDLERPARAM p)
 
static int VRPN_CALLBACK static_handle_request_logging_status (void *userdata, vrpn_HANDLERPARAM p)
 
- 静态 Protected 成员函数 继承自 vrpn_BaseClassUnique
static int encode_text_message_to_buffer (char *buf, vrpn_TEXT_SEVERITY severity, vrpn_uint32 level, const char *msg)
 
static int decode_text_message_from_buffer (char *msg, vrpn_TEXT_SEVERITY *severity, vrpn_uint32 *level, const char *buf)
 Decodes the body of the text message from a buffer from the connection
 
- 静态 Protected 成员函数 继承自 vrpn_Imager_Server
static int VRPN_CALLBACK handle_ping_message (void *userdata, vrpn_HANDLERPARAM p)
 
static int VRPN_CALLBACK handle_throttle_message (void *userdata, vrpn_HANDLERPARAM p)
 
static int VRPN_CALLBACK handle_last_drop_message (void *userdata, vrpn_HANDLERPARAM p)
 

Protected 属性

vrpn_int32 got_first_connection_m_id
 
vrpn_Imager_Stream_Shared_State d_shared_state
 
vrpn_Threadd_logging_thread
 
char * d_imager_server_name
 
bool d_ready_to_drop_old_connection
 
vrpn_Connectiond_log_connection
 
vrpn_Imager_Remoted_imager_remote
 
vrpn_int32 d_server_description_m_id
 
vrpn_int32 d_server_begin_frame_m_id
 
vrpn_int32 d_server_end_frame_m_id
 
vrpn_int32 d_server_discarded_frames_m_id
 
vrpn_int32 d_server_regionu8_m_id
 
vrpn_int32 d_server_regionu12in16_m_id
 
vrpn_int32 d_server_regionu16_m_id
 
vrpn_int32 d_server_regionf32_m_id
 
vrpn_int32 d_server_text_m_id
 
vrpn_int32 d_server_ping_m_id
 
vrpn_int32 d_server_pong_m_id
 
vrpn_uint16 d_server_dropped_due_to_throttle
 
vrpn_int32 d_server_frames_to_send
 
- Protected 属性 继承自 vrpn_Auxiliary_Logger_Server
vrpn_int32 dropped_last_connection_m_id
 
- Protected 属性 继承自 vrpn_Auxiliary_Logger
vrpn_int32 request_logging_m_id
 
vrpn_int32 report_logging_m_id
 
vrpn_int32 request_logging_status_m_id
 
- Protected 属性 继承自 vrpn_BaseClassUnique
vrpn_Connectiond_connection
 Connection that this object talks to
 
char * d_servicename
 
vrpn_int32 d_sender_id
 part
 
vrpn_int32 d_text_message_id
 ID for text messages
 
vrpn_int32 d_ping_message_id
 Ask the server if they are there
 
vrpn_int32 d_pong_message_id
 Server telling that it is there
 
- Protected 属性 继承自 vrpn_Imager_Server
bool d_description_sent
 
vrpn_int32 d_frames_to_send
 
vrpn_uint16 d_dropped_due_to_throttle
 
- Protected 属性 继承自 vrpn_Imager
vrpn_int32 d_nRows
 
vrpn_int32 d_nCols
 
vrpn_int32 d_nDepth
 
vrpn_int32 d_nChannels
 
vrpn_Imager_Channel d_channels [vrpn_IMAGER_MAX_CHANNELS]
 
vrpn_int32 d_description_m_id
 
vrpn_int32 d_begin_frame_m_id
 
vrpn_int32 d_end_frame_m_id
 
vrpn_int32 d_discarded_frames_m_id
 
vrpn_int32 d_throttle_frames_m_id
 
vrpn_int32 d_regionu8_m_id
 
vrpn_int32 d_regionu12in16_m_id
 
vrpn_int32 d_regionu16_m_id
 
vrpn_int32 d_regionf32_m_id
 

额外继承的成员函数

- Public 属性 继承自 vrpn_BaseClassUnique
bool shutup
 

成员函数说明

◆ handle_dropped_last_connection()

virtual void handle_dropped_last_connection ( void )
protectedvirtual

◆ handle_request_logging()

virtual void handle_request_logging ( const char * local_in_logfile_name,
const char * local_out_logfile_name,
const char * remote_in_logfile_name,
const char * remote_out_logfile_name )
protectedvirtual

◆ handle_request_logging_status()

virtual void handle_request_logging_status ( )
protectedvirtual

◆ mainloop()

virtual void mainloop ( void )
virtual

Called once through each main loop iteration to handle updates. Remote object mainloop() should call client_mainloop() and then call d_connection->mainloop(). Server object mainloop() should service the device and then call server_mainloop(), but should not normally call d_connection->mainloop().

重载 vrpn_Auxiliary_Logger_Server .


该类的文档由以下文件生成: