OSCCCallable Class Reference

Takes an 'old' OSC C function and calls it. More...

#include <OSCCCallable.h>

Inheritance diagram for OSCCCallable:

[legend]
Collaboration diagram for OSCCCallable:
[legend]
List of all members.

Public Member Functions

void setFunction (methodCallback function, void *context)
 Sets the function.
virtual void call (const std::string &data, Transmit *const reply)
 Process data, then use reply to send a response.
virtual std::string getDocumentation ()
virtual void setDocumentation (std::string documentation)
virtual std::string getTypeSignature ()
virtual void setTypeSignature (std::string typeSignature)
virtual std::string getName ()

Protected Member Functions

methodCallback getFunction ()
void * getContext ()

Protected Attributes

std::string myDocumentation
std::string myTypeSignature

Detailed Description

Takes an 'old' OSC C function and calls it.

Author:
Daniel Holth

Clinton McChesney


Member Function Documentation

std::string OSCCallable::getName  )  [virtual, inherited]
 

Returns:
a string which identifies this object (incl. type).

void OSCCCallable::setFunction methodCallback  function,
void *  context
[inline]
 

Sets the function.

Parameters:
function Pointer to an OSC-Kit classic function
Precondition:
None
Postcondition:
Function will be called when this->call() is called.


The documentation for this class was generated from the following files:
Generated on Thu Mar 2 23:51:36 2006 for libOSC++ by  doxygen 1.4.6