clientproxy.h
connection_t ConnectReadSignal(T aSubscriber)
Connect a read signal to this proxy.
Definition clientproxy.h:376
bool IsValid() const
Proxy has any information.
Definition clientproxy.h:197
uint32_t GetIndex() const
Get device index.
Definition clientproxy.h:243
int HasCapability(uint32_t aType, uint32_t aSubtype)
Request capabilities of device.
std::string GetInterfaceStr() const
Get Interface Name.
Definition clientproxy.h:258
void SetReplaceRule(bool aReplace, int aType=-1, int aSubtype=-1)
Set a replace rule for this proxy on the server.
uint32_t GetInterface() const
Get Interface Code.
Definition clientproxy.h:251
int SetDblProp(char *aProperty, double aValue)
Set a double property.
double GetElapsedTime() const
Returns the time between the current data time and the time of the last data sample [s].
Definition clientproxy.h:228
int GetStrProp(char *aProperty, char **aValue)
Request a string property.
double GetDataTime() const
Returns the received timestamp of the last data sample [s].
Definition clientproxy.h:224
void DisconnectReadSignal(connection_t aSubscriber)
Disconnect a signal from this proxy.
Definition clientproxy.h:390
int GetDblProp(char *aProperty, double *aValue)
Request a double property.
int GetBoolProp(char *aProperty, bool *aValue)
Request a boolean property.
std::string GetDriverName() const
Get the underlying driver's name.
Definition clientproxy.h:221
int SetBoolProp(char *aProperty, bool aValue)
Set a boolean property.
int GetIntProp(char *aProperty, int32_t *aValue)
Request an integer property.
int SetStrProp(char *aProperty, char *aValue)
Set a string property.
int SetIntProp(char *aProperty, int32_t aValue)
Set an integer property.
PlayerClient * GetPlayerClient() const
Get a pointer to the Player Client.
Definition clientproxy.h:235
The PlayerClient is used for communicating with the player server.
Definition playerclient.h:121
mutex_t mMutex
A mutex for handling synchronization.
Definition playerclient.h:181
Definition playerclient.h:96
double lasttime
Data timestamp from the previous data.
Definition playerc.h:888
char drivername[PLAYER_MAX_DRIVER_STRING_LEN]
The driver name.
Definition playerc.h:878
double datatime
Data timestamp, i.e., the time at which the data was generated (s).
Definition playerc.h:885
uint16_t interf
The interface provided by the device; must be one of PLAYER_*_CODE.
Definition player.h:153