#include <stdio.h>
#include "vrpn_Configure.h"
#include "vrpn_Connection.h"
#include "vrpn_Shared.h"
#include "vrpn_Types.h"
类 | |
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_TextPrinter & | vrpn_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.
enum 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.
const int vrpn_MAX_BCADRS = 100 |
Internal value for number of BaseClass addresses