Sockets of various types. More...
#include <sockets.h>
Public Member Functions | |
| operator T () const | |
| Get the socket value. | |
| T * | GetPointer () |
| Get a pointer to the payload data. | |
| const T & | operator= (const T value) |
| Assignment. | |
| const T & | operator+= (const T value) |
| Assignment by addition. | |
| const T & | operator-= (const T value) |
| Assignment by subtraction. | |
| const T & | operator*= (const T value) |
| Assignment by multiplication. | |
| const T & | operator/= (const T value) |
| Assignment by division. | |
| virtual const char * | GetType () |
| Get the class type name. | |
| virtual void | Print (class Print &dest) |
| Print the contents of the socket to the given print destination. | |
| virtual void * | GetPayload (int &size) |
| Get the underlying data as raw memory. | |
Protected Attributes | |
| T | m_data |
Sockets of various types.
Currently defined are:
Get the underlying data as raw memory.
Returns a pointer to the data and sets size to the size of the data
Reimplemented from Socket.
Reimplemented in ParameterT< T >.
Get a pointer to the payload data.
Returns a pointer to the underlying data type.
Reimplemented in ParameterT< T >.
Get the class type name.
For example Socket8 would return "Socket8"
Reimplemented from Socket.
Reimplemented in ParameterT< T >.
Get the socket value.
Reimplemented in ParameterT< T >.
Assignment by multiplication.
Reimplemented in ParameterT< T >.
Assignment by addition.
Reimplemented in ParameterT< T >.
Assignment by subtraction.
Reimplemented in ParameterT< T >.
Assignment by division.
Reimplemented in ParameterT< T >.
Assignment.
Reimplemented in ParameterT< T >.
Print the contents of the socket to the given print destination.
Reimplemented from Socket.
Reimplemented in ParameterT< T >.
1.7.0