//## begin module%1.4%.codegen_version preserve=yes
//   Read the documentation to learn more about C++ code generator
//   versioning.
//## end module%1.4%.codegen_version

//## begin module%3D86D35E02D0.cm preserve=no
//	  %X% %Q% %Z% %W%
//## end module%3D86D35E02D0.cm

//## begin module%3D86D35E02D0.cp preserve=no
//## end module%3D86D35E02D0.cp

//## Module: Broadcaster%3D86D35E02D0; Pseudo Package body
//## Source file: C:\Program Files\Rational\Rose\C++\source\Broadcaster.cpp

//## begin module%3D86D35E02D0.additionalIncludes preserve=no
//## end module%3D86D35E02D0.additionalIncludes

//## begin module%3D86D35E02D0.includes preserve=yes
//## end module%3D86D35E02D0.includes

// Broadcaster
#include "Broadcaster.h"
//## begin module%3D86D35E02D0.additionalDeclarations preserve=yes
//## end module%3D86D35E02D0.additionalDeclarations


// Class Broadcaster

Broadcaster::Broadcaster (char* name, int stackSize, int priority, int id)
  //## begin Broadcaster::Broadcaster%3D9EBF96038E.hasinit preserve=no
      : haveClusterPoint(false),
        senderIsMe(false),
        clusterPointDicoveryTime(0),
        myID(-1),
        mySendersID(-1)
  //## end Broadcaster::Broadcaster%3D9EBF96038E.hasinit
  //## begin Broadcaster::Broadcaster%3D9EBF96038E.initialization preserve=yes
  ,Thread(name,stackSize,priority,id)
  //## end Broadcaster::Broadcaster%3D9EBF96038E.initialization
{
  //## begin Broadcaster::Broadcaster%3D9EBF96038E.body preserve=yes
  radio = Radio::getRadio();
  drive = Drive::getDrive();
  //## end Broadcaster::Broadcaster%3D9EBF96038E.body
}





//## Other Operations (implementation)
bool Broadcaster::setClusterPoint (double x, double y)
{
  //## begin Broadcaster::setClusterPoint%3D9EC2090118.body preserve=yes
  return false;
  //## end Broadcaster::setClusterPoint%3D9EC2090118.body
}

void Broadcaster::broadcast ()
{
  //## begin Broadcaster::broadcast%3D996A2E021C.body preserve=yes
  //## end Broadcaster::broadcast%3D996A2E021C.body
}

void Broadcaster::processNextMessage ()
{
  //## begin Broadcaster::processNextMessage%3D996A410032.body preserve=yes
  //## end Broadcaster::processNextMessage%3D996A410032.body
}

bool Broadcaster::mySenderInactive ()
{
  //## begin Broadcaster::mySenderInactive%3D9BEAA20258.body preserve=yes
  return false;
  //## end Broadcaster::mySenderInactive%3D9BEAA20258.body
}

bool Broadcaster::getHaveClusterPoint ()
{
  //## begin Broadcaster::getHaveClusterPoint%3D9D3F8C038E.body preserve=yes
  return false;
  //## end Broadcaster::getHaveClusterPoint%3D9D3F8C038E.body
}

// Additional Declarations
  //## begin Broadcaster%3D86D35E02D0.declarations preserve=yes
  //## end Broadcaster%3D86D35E02D0.declarations

//## begin module%3D86D35E02D0.epilog preserve=yes
//## end module%3D86D35E02D0.epilog
