Public Member Functions | Protected Attributes

Socket16 Class Reference

#include <sockets.h>

Inheritance diagram for Socket16:
Socket Parameter16

List of all members.

Public Member Functions

 Socket16 ()
 operator short () const
short * GetPointer ()
const short & operator= (const short value)
const short & operator+= (const short value)
const short & operator-= (const short value)
const short & operator*= (const short value)
const short & operator/= (const short value)
virtual const char * GetType ()
 Get the payload 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 raw data pointer and size.

Protected Attributes

short m_data

Constructor & Destructor Documentation

Socket16::Socket16 (  )  [inline]

Member Function Documentation

virtual void* Socket16::GetPayload ( int &  size  )  [inline, virtual]

Get raw data pointer and size.

Used mainly for backing up to non volatile memory

Reimplemented from Socket.

short* Socket16::GetPointer (  )  [inline]
virtual const char* Socket16::GetType (  )  [inline, virtual]

Get the payload type name.

mainly used by the module manager

Reimplemented from Socket.

Socket16::operator short (  )  const [inline]

Reimplemented in Parameter16.

const short& Socket16::operator*= ( const short  value  )  [inline]

Reimplemented in Parameter16.

const short& Socket16::operator+= ( const short  value  )  [inline]

Reimplemented in Parameter16.

const short& Socket16::operator-= ( const short  value  )  [inline]

Reimplemented in Parameter16.

const short& Socket16::operator/= ( const short  value  )  [inline]

Reimplemented in Parameter16.

const short& Socket16::operator= ( const short  value  )  [inline]

Reimplemented in Parameter16.

virtual void Socket16::Print ( class Print &  dest  )  [inline, virtual]

Print the contents of the socket to the given print destination.

Reimplemented from Socket.


Member Data Documentation

short Socket16::m_data [protected]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines