OverSim
SessionMsg Class Reference

Class generated from applications/i3/i3Apps/I3SessionMessage.msg by opp_msgc. More...

#include <I3SessionMessage_m.h>

Public Member Functions

 SessionMsg (const char *name=NULL, int kind=0)
 SessionMsg (const SessionMsg &other)
virtual ~SessionMsg ()
SessionMsgoperator= (const SessionMsg &other)
virtual SessionMsgdup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual int getType () const
virtual void setType (int type)
virtual double getValue () const
virtual void setValue (double value)
virtual I3IdentifiergetSource ()
virtual const I3IdentifiergetSource () const
virtual void setSource (const I3Identifier &source)

Protected Member Functions

bool operator== (const SessionMsg &)

Protected Attributes

int type_var
double value_var
I3Identifier source_var

Private Member Functions

void copy (const SessionMsg &other)

Detailed Description

Class generated from applications/i3/i3Apps/I3SessionMessage.msg by opp_msgc.

packet SessionMsg
{
                int type enum(SessionMsgType);
                double value;
                I3Identifier source;
}

Definition at line 51 of file I3SessionMessage_m.h.

Constructor & Destructor Documentation

SessionMsg::SessionMsg ( const char *  name = NULL,
int  kind = 0 
)

Referenced by dup().

SessionMsg::SessionMsg ( const SessionMsg other)
virtual SessionMsg::~SessionMsg ( )
virtual

Member Function Documentation

void SessionMsg::copy ( const SessionMsg other)
private
virtual SessionMsg* SessionMsg::dup ( ) const
inlinevirtual

Definition at line 70 of file I3SessionMessage_m.h.

{return new SessionMsg(*this);}
virtual I3Identifier& SessionMsg::getSource ( )
virtual
virtual const I3Identifier& SessionMsg::getSource ( ) const
inlinevirtual

Definition at line 80 of file I3SessionMessage_m.h.

Referenced by getSource().

{return const_cast<SessionMsg*>(this)->getSource();}
virtual int SessionMsg::getType ( ) const
virtual
virtual double SessionMsg::getValue ( ) const
virtual
SessionMsg& SessionMsg::operator= ( const SessionMsg other)
bool SessionMsg::operator== ( const SessionMsg )
protected
virtual void SessionMsg::parsimPack ( cCommBuffer *  b)
virtual

Referenced by doPacking().

virtual void SessionMsg::parsimUnpack ( cCommBuffer *  b)
virtual

Referenced by doUnpacking().

virtual void SessionMsg::setSource ( const I3Identifier source)
virtual
virtual void SessionMsg::setType ( int  type)
virtual
virtual void SessionMsg::setValue ( double  value)
virtual

Member Data Documentation

I3Identifier SessionMsg::source_var
protected

Definition at line 56 of file I3SessionMessage_m.h.

int SessionMsg::type_var
protected

Definition at line 54 of file I3SessionMessage_m.h.

double SessionMsg::value_var
protected

Definition at line 55 of file I3SessionMessage_m.h.


The documentation for this class was generated from the following file: