OpenCOVER
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Static Public Attributes | List of all members
opencover::coVrbRegistryAccess Class Reference

#include <coVrbRegistryAccess.h>

Collaboration diagram for opencover::coVrbRegistryAccess:
Collaboration graph
[legend]

Public Member Functions

 coVrbRegistryAccess (int id)
 construct a registry access path to the controller More...
 
void setID (int id)
 
void subscribeClass (const char *clName, int ID, coVrbRegEntryObserver *ob)
 
coVrbRegEntrysubscribeVar (const char *cl, int ID, const char *var, coVrbRegEntryObserver *ob)
 
void unsubscribeClass (const char *cl, int ID)
 
void unsubscribeVar (const char *cl, int ID, const char *var)
 
void createVar (const char *cl, const char *var, int flag=0)
 
void setVar (const char *cl, const char *var, const char *val)
 
void destroyVar (const char *cl, const char *var)
 
void updateVRB ()
 
void update (covise::TokenBuffer &tb, int reason)
 
virtual ~coVrbRegistryAccess ()
 
void sendMsg (covise::TokenBuffer &tb, int message_type)
 
int getID ()
 

Static Public Attributes

static coVrbRegistryAccessinstance
 

Detailed Description

Registry access cl

Author
Dirk Rantzau
Date
15.07.98

Constructor & Destructor Documentation

opencover::coVrbRegistryAccess::coVrbRegistryAccess ( int  id)

construct a registry access path to the controller

virtual opencover::coVrbRegistryAccess::~coVrbRegistryAccess ( )
virtual

Member Function Documentation

void opencover::coVrbRegistryAccess::createVar ( const char *  cl,
const char *  var,
int  flag = 0 
)
void opencover::coVrbRegistryAccess::destroyVar ( const char *  cl,
const char *  var 
)
int opencover::coVrbRegistryAccess::getID ( )
inline
void opencover::coVrbRegistryAccess::sendMsg ( covise::TokenBuffer &  tb,
int  message_type 
)
void opencover::coVrbRegistryAccess::setID ( int  id)
void opencover::coVrbRegistryAccess::setVar ( const char *  cl,
const char *  var,
const char *  val 
)
void opencover::coVrbRegistryAccess::subscribeClass ( const char *  clName,
int  ID,
coVrbRegEntryObserver ob 
)

Subscribe to all variables in a registry cl

registry cl module ID of interest, 0 for all observer cl to be attached for updates

coVrbRegEntry* opencover::coVrbRegistryAccess::subscribeVar ( const char *  cl,
int  ID,
const char *  var,
coVrbRegEntryObserver ob 
)
void opencover::coVrbRegistryAccess::unsubscribeClass ( const char *  cl,
int  ID 
)

Unsubscribe from a registry cl (previously subscribed with subscribecl)

registry cl module ID of interest, 0 for all

void opencover::coVrbRegistryAccess::unsubscribeVar ( const char *  cl,
int  ID,
const char *  var 
)
void opencover::coVrbRegistryAccess::update ( covise::TokenBuffer &  tb,
int  reason 
)
void opencover::coVrbRegistryAccess::updateVRB ( )

if a VRB connected, resend local variables and subscriptions.

Member Data Documentation

coVrbRegistryAccess* opencover::coVrbRegistryAccess::instance
static

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