class Sp_Message

This class represents a message

Public Fields

[more]int what
The type determines how to manage it

Public Methods

[more] Sp_Message()
null constructor
[more] Sp_Message(int type)
constructor with type
[more]virtual ~Sp_Message()
destructor
[more]int AddInt(const char *name, int anInt)
Add a field named name containing an Int value
[more]int AddFloat(const char *name, float aFloat)
Add a field named name containing an float value
[more]int FindInt(const char *name, int *&)
find a field containing an Int value
[more]int FindFloat(const char *name, float *&)
find a field containing an Float value


Documentation

This class represents a message. It allows easy communication between keyboard, joy and progs.
o Sp_Message()
null constructor

o Sp_Message(int type)
constructor with type

ovirtual ~Sp_Message()
destructor

oint what
The type determines how to manage it. you must have an unique id for each class message

oint AddInt(const char *name, int anInt)
Add a field named name containing an Int value

oint AddFloat(const char *name, float aFloat)
Add a field named name containing an float value

oint FindInt(const char *name, int *&)
find a field containing an Int value

oint FindFloat(const char *name, float *&)
find a field containing an Float value


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.