OverSim
GameAPISnowMessage Class Reference

Class generated from common/CommonMessages.msg by opp_msgc. More...

#include <CommonMessages_m.h>

Inheritance diagram for GameAPISnowMessage:
GameAPIMessage BaseOverlayMessage OverSimMessage OverSimMessage_Base

Public Member Functions

 GameAPISnowMessage (const char *name=NULL, int kind=0)
 GameAPISnowMessage (const GameAPISnowMessage &other)
virtual ~GameAPISnowMessage ()
GameAPISnowMessageoperator= (const GameAPISnowMessage &other)
virtual GameAPISnowMessagedup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual NodeHandlegetSrc ()
virtual const NodeHandlegetSrc () const
virtual void setSrc (const NodeHandle &src)
virtual Vector2DgetStart ()
virtual const Vector2DgetStart () const
virtual void setStart (const Vector2D &start)
virtual Vector2DgetEnd ()
virtual const Vector2DgetEnd () const
virtual void setEnd (const Vector2D &end)
virtual int getTimeSec () const
virtual void setTimeSec (int timeSec)
virtual int getTimeUsec () const
virtual void setTimeUsec (int timeUsec)
- Public Member Functions inherited from GameAPIMessage
 GameAPIMessage (const char *name=NULL, int kind=0)
 GameAPIMessage (const GameAPIMessage &other)
virtual ~GameAPIMessage ()
GameAPIMessageoperator= (const GameAPIMessage &other)
virtual int getCommand () const
virtual void setCommand (int command)
- Public Member Functions inherited from BaseOverlayMessage
 BaseOverlayMessage (const char *name=NULL, int kind=0)
 BaseOverlayMessage (const BaseOverlayMessage &other)
virtual ~BaseOverlayMessage ()
BaseOverlayMessageoperator= (const BaseOverlayMessage &other)
virtual int getType () const
virtual void setType (int type)
virtual int getStatType () const
virtual void setStatType (int statType)
- Public Member Functions inherited from OverSimMessage
 OverSimMessage (const char *name=NULL, int kind=0)
 OverSimMessage (const OverSimMessage &other)
OverSimMessageoperator= (const OverSimMessage &other)
- Public Member Functions inherited from OverSimMessage_Base
virtual ~OverSimMessage_Base ()

Protected Member Functions

bool operator== (const GameAPISnowMessage &)
- Protected Member Functions inherited from GameAPIMessage
bool operator== (const GameAPIMessage &)
- Protected Member Functions inherited from BaseOverlayMessage
bool operator== (const BaseOverlayMessage &)

Protected Attributes

NodeHandle src_var
Vector2D start_var
Vector2D end_var
int timeSec_var
int timeUsec_var
- Protected Attributes inherited from GameAPIMessage
int command_var
- Protected Attributes inherited from BaseOverlayMessage
int type_var
int statType_var

Private Member Functions

void copy (const GameAPISnowMessage &other)

Detailed Description

Class generated from common/CommonMessages.msg by opp_msgc.

packet GameAPISnowMessage extends GameAPIMessage
{
    NodeHandle src;
    Vector2D start;
    Vector2D end;
    int timeSec;
    int timeUsec;
}

Definition at line 2560 of file CommonMessages_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

GameAPISnowMessage::GameAPISnowMessage ( const GameAPISnowMessage other)
virtual GameAPISnowMessage::~GameAPISnowMessage ( )
virtual

Member Function Documentation

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

Reimplemented from GameAPIMessage.

Definition at line 2581 of file CommonMessages_m.h.

{return new GameAPISnowMessage(*this);}
virtual Vector2D& GameAPISnowMessage::getEnd ( )
virtual
virtual const Vector2D& GameAPISnowMessage::getEnd ( ) const
inlinevirtual

Definition at line 2593 of file CommonMessages_m.h.

Referenced by getEnd().

{return const_cast<GameAPISnowMessage*>(this)->getEnd();}
virtual NodeHandle& GameAPISnowMessage::getSrc ( )
virtual
virtual const NodeHandle& GameAPISnowMessage::getSrc ( ) const
inlinevirtual

Definition at line 2587 of file CommonMessages_m.h.

Referenced by getSrc().

{return const_cast<GameAPISnowMessage*>(this)->getSrc();}
virtual Vector2D& GameAPISnowMessage::getStart ( )
virtual
virtual const Vector2D& GameAPISnowMessage::getStart ( ) const
inlinevirtual

Definition at line 2590 of file CommonMessages_m.h.

Referenced by getStart().

{return const_cast<GameAPISnowMessage*>(this)->getStart();}
virtual int GameAPISnowMessage::getTimeSec ( ) const
virtual
virtual int GameAPISnowMessage::getTimeUsec ( ) const
virtual
GameAPISnowMessage& GameAPISnowMessage::operator= ( const GameAPISnowMessage other)
bool GameAPISnowMessage::operator== ( const GameAPISnowMessage )
protected
virtual void GameAPISnowMessage::parsimPack ( cCommBuffer *  b)
virtual

Reimplemented from GameAPIMessage.

Referenced by doPacking().

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

Reimplemented from GameAPIMessage.

Referenced by doUnpacking().

virtual void GameAPISnowMessage::setEnd ( const Vector2D end)
virtual
virtual void GameAPISnowMessage::setSrc ( const NodeHandle src)
virtual
virtual void GameAPISnowMessage::setStart ( const Vector2D start)
virtual
virtual void GameAPISnowMessage::setTimeSec ( int  timeSec)
virtual
virtual void GameAPISnowMessage::setTimeUsec ( int  timeUsec)
virtual

Member Data Documentation

Vector2D GameAPISnowMessage::end_var
protected

Definition at line 2565 of file CommonMessages_m.h.

NodeHandle GameAPISnowMessage::src_var
protected

Definition at line 2563 of file CommonMessages_m.h.

Vector2D GameAPISnowMessage::start_var
protected

Definition at line 2564 of file CommonMessages_m.h.

int GameAPISnowMessage::timeSec_var
protected

Definition at line 2566 of file CommonMessages_m.h.

int GameAPISnowMessage::timeUsec_var
protected

Definition at line 2567 of file CommonMessages_m.h.


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