AURobotServers  4
Public Member Functions | Protected Attributes | List of all members
UPush Class Reference

#include <upush.h>

Inheritance diagram for UPush:
Inheritance graph

Public Member Functions

int addPushCommand (UServerInMsg *msg)
 
void flushClientCmds (int clientIdx)
 
virtual void pushEvent (void *pushObject)
 
void setCmdExe (UCmdExe *executor)
 
 UPush ()
 
virtual ~UPush ()
 
- Public Member Functions inherited from UServerPushQueue
UServerPushElementget (int index)
 
UServerPushElementgetFreeQueueElement ()
 
UTime getNextExeTime ()
 
UServerPushElementgetNextTimedPushElement ()
 
int getPushCmdActiveCnt (int *cmdCnt, int *callCnt)
 
int getPushCmdCnt ()
 
void print (const char *preString)
 
void print (const char *preString, char *buff, int buffCnt)
 
int systemQueueflush (const int client, const char *attValue)
 
 UServerPushQueue ()
 

Protected Attributes

UCmdExecmdExe
 

Additional Inherited Members

- Static Public Member Functions inherited from UServerPushQueue
static bool doPushCall (UVarPool *vp, UServerPushElement *pe, const char *value)
 

Detailed Description

Functions to add, delete and use a push queue

Author
Christian Andersen

Constructor & Destructor Documentation

UPush::UPush ( )

Constructor

UPush::~UPush ( )
virtual

Destructor

Member Function Documentation

int UPush::addPushCommand ( UServerInMsg msg)
void UPush::flushClientCmds ( int  clientIdx)

Flush all pending commands from this client

References UServerPushQueue::systemQueueflush().

Referenced by setCmdExe().

void UPush::pushEvent ( void *  pushObject)
virtual
void UPush::setCmdExe ( UCmdExe executor)
inline

Set command executor reference for camera push functions

References addPushCommand(), cmdExe, and flushClientCmds().

Member Data Documentation

UCmdExe* UPush::cmdExe
protected

Pointer to push server queue

Referenced by addPushCommand(), pushEvent(), and setCmdExe().


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