VGServer::GraphParserCallbackAdapter Class Reference

A base callback class containing stubs to all the event functions which are called by the GraphParser. More...

#include <GraphParser.h>

List of all members.

Public Types

typedef std::vector< AnyTypeAnyTypeVector

Public Member Functions

void eventAnimationAddEdge (unsigned int, const AnyTypeVector &)
void eventAnimationAddVertex (unsigned int, const AnyTypeVector &)
ByteBuffereventAnimationDataBuffer ()
 if eventAnimationData() == false.
void eventAnimationDelEdge (unsigned int, const AnyTypeVector &)
void eventAnimationDelVertex (unsigned int, const AnyTypeVector &)
bool eventAnimationParseData ()
 eventAnimationData is a special function: if it returns true, the parser will parse the animation data block instantly and call appropriate functions below.
void eventAnimationSetEdge (unsigned int, const AnyTypeVector &, const AnyTypeVector &)
void eventAnimationSetVertex (unsigned int, const AnyTypeVector &, const AnyTypeVector &)
void eventEdge (const AnyTypeVector &)
void eventEdgeAttributes (const class AttributePropertiesList &)
void eventError (const std::string &)
void eventStartAnimation (unsigned int)
void eventStartAnimationFrame (unsigned int, unsigned int)
void eventStartEdgeBody (unsigned int)
void eventStartParse ()
void eventStartVertexBody (unsigned int)
void eventVertex (const AnyTypeVector &)
void eventVertexAttributes (const class AttributePropertiesList &)


Detailed Description

A base callback class containing stubs to all the event functions which are called by the GraphParser.

Callback classes can derive from this class so they dont have to implement all callback functions.

Definition at line 27 of file GraphParser.h.


Member Typedef Documentation

typedef std::vector<AnyType> VGServer::GraphParserCallbackAdapter::AnyTypeVector

Definition at line 30 of file GraphParser.h.


Member Function Documentation

void VGServer::GraphParserCallbackAdapter::eventAnimationAddEdge ( unsigned  int,
const AnyTypeVector  
) [inline]

Definition at line 100 of file GraphParser.h.

void VGServer::GraphParserCallbackAdapter::eventAnimationAddVertex ( unsigned  int,
const AnyTypeVector  
) [inline]

Definition at line 86 of file GraphParser.h.

ByteBuffer* VGServer::GraphParserCallbackAdapter::eventAnimationDataBuffer (  )  [inline]

if eventAnimationData() == false.

then the parser will call this function and put the animation data block into the returned buffer for later parsing.

Definition at line 73 of file GraphParser.h.

void VGServer::GraphParserCallbackAdapter::eventAnimationDelEdge ( unsigned  int,
const AnyTypeVector  
) [inline]

Definition at line 109 of file GraphParser.h.

void VGServer::GraphParserCallbackAdapter::eventAnimationDelVertex ( unsigned  int,
const AnyTypeVector  
) [inline]

Definition at line 95 of file GraphParser.h.

bool VGServer::GraphParserCallbackAdapter::eventAnimationParseData (  )  [inline]

eventAnimationData is a special function: if it returns true, the parser will parse the animation data block instantly and call appropriate functions below.

if it returns false, then the eventAnimationDataBuffer will be called.

Definition at line 65 of file GraphParser.h.

void VGServer::GraphParserCallbackAdapter::eventAnimationSetEdge ( unsigned  int,
const AnyTypeVector ,
const AnyTypeVector  
) [inline]

Definition at line 104 of file GraphParser.h.

void VGServer::GraphParserCallbackAdapter::eventAnimationSetVertex ( unsigned  int,
const AnyTypeVector ,
const AnyTypeVector  
) [inline]

Definition at line 90 of file GraphParser.h.

void VGServer::GraphParserCallbackAdapter::eventEdge ( const AnyTypeVector  )  [inline]

Definition at line 57 of file GraphParser.h.

void VGServer::GraphParserCallbackAdapter::eventEdgeAttributes ( const class AttributePropertiesList  )  [inline]

Definition at line 43 of file GraphParser.h.

void VGServer::GraphParserCallbackAdapter::eventError ( const std::string &   )  [inline]

Definition at line 35 of file GraphParser.h.

void VGServer::GraphParserCallbackAdapter::eventStartAnimation ( unsigned  int  )  [inline]

Definition at line 78 of file GraphParser.h.

void VGServer::GraphParserCallbackAdapter::eventStartAnimationFrame ( unsigned  int,
unsigned  int 
) [inline]

Definition at line 81 of file GraphParser.h.

void VGServer::GraphParserCallbackAdapter::eventStartEdgeBody ( unsigned int   )  [inline]

Definition at line 54 of file GraphParser.h.

void VGServer::GraphParserCallbackAdapter::eventStartParse (  )  [inline]

Definition at line 32 of file GraphParser.h.

void VGServer::GraphParserCallbackAdapter::eventStartVertexBody ( unsigned  int  )  [inline]

Definition at line 47 of file GraphParser.h.

void VGServer::GraphParserCallbackAdapter::eventVertex ( const AnyTypeVector  )  [inline]

Definition at line 50 of file GraphParser.h.

void VGServer::GraphParserCallbackAdapter::eventVertexAttributes ( const class AttributePropertiesList  )  [inline]

Definition at line 39 of file GraphParser.h.


The documentation for this class was generated from the following file:
Generated on Wed Sep 27 14:34:01 2006 for VGServer by  doxygen 1.4.7