RflySimSDK v3.08
RflySimSDK说明文档
载入中...
搜索中...
未找到
vrpn_BaseClass.h 文件参考
#include <stdio.h>
#include "vrpn_Configure.h"
#include "vrpn_Connection.h"
#include "vrpn_Shared.h"
#include "vrpn_Types.h"
+ vrpn_BaseClass.h 的引用(Include)关系图:
+ 此图展示该文件被哪些文件直接或间接地引用了:

浏览该文件的源代码.

class  vrpn_TextPrinter
 
class  vrpn_TextPrinter::vrpn_TextPrinter_Watch_Entry
 Structure to hold the objects that are being watched. 更多...
 
class  vrpn_BaseClassUnique
 
class  vrpn_BaseClassUnique::SendTextMessageBoundCall
 
class  vrpn_BaseClass
 
class  vrpn_Callback_List< CALLBACK_STRUCT >
 
struct  vrpn_Callback_List< CALLBACK_STRUCT >::vrpn_CBS
 

枚举

enum  vrpn_TEXT_SEVERITY { vrpn_TEXT_NORMAL = 0 , vrpn_TEXT_WARNING = 1 , vrpn_TEXT_ERROR = 2 }
 

变量

const int vrpn_MAX_BCADRS = 100
 Internal value for number of BaseClass addresses
 
const unsigned vrpn_MAX_TEXT_LEN = 1024
 
class VRPN_API vrpn_BaseClass
 
VRPN_API vrpn_TextPrintervrpn_System_TextPrinter
 

详细描述

All types of client/server/peer objects in VRPN should be derived from the vrpn_BaseClass type described here. This includes Tracker, Button, Analog, Clock, Dial, ForceDevice, Sound, and Text; it should include any user-defined objects as well.

This class both implements code that will be shared by most (if not all) objects in the system and forms a skeleton for the definition of new objects by requiring certain virtual member functions to be defined.

See the VRPN web pages or another simple type (such as vrpn_Analog) for an example of how to create a new VRPN object type using this as a base class.

枚举类型说明

◆ vrpn_TEXT_SEVERITY

Since the sending of text messages has been pulled into the base class (so that every object can send error/warning/info messages this way), these definitions have been pulled in here as well.

变量说明

◆ vrpn_MAX_BCADRS

const int vrpn_MAX_BCADRS = 100

Internal value for number of BaseClass addresses