Home2L - C/C++ API  v1.2-2-ga4fe (2023-04-15)
Smart Tools for a Private Home
Friends | List of all members
CRcEvent Class Reference

Description

Events delivered by a subscriber or to a driver.

Definition at line 1573 of file resources.H.

#include "resources.H"

Friends

class CRcEventProcessor
 

Setting attributes ...

void Clear ()
 
void Set (ERcEventType _type=rceNone, CResource *_resource=NULL, CRcValueState *_valueState=NULL, void *_data=NULL)
 Set event attributes. More...
 
void SetType (ERcEventType _type)
 
void SetResource (CResource *_resource)
 
void SetValueState (CRcValueState *_valueState)
 
void SetData (void *_data)
 

Getting attributes ...

ERcEventType Type ()
 
CResourceResource ()
 
CRcValueStateValueState ()
 Get the value/state attribute of the event. See Set() for further details.
 
void * Data ()
 

Stringification ...

const char * ToStr (CString *ret)
 Get a readable string.
 

Member Function Documentation

◆ Set()

void CRcEvent::Set ( ERcEventType  _type = rceNone,
CResource _resource = NULL,
CRcValueState _valueState = NULL,
void *  _data = NULL 
)

Set event attributes.

The semantics of the '_valueState' parameter are:


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