#include "VehicleCommand.h"

const char *VehicleCommandName = "VehicleCommand";

VehicleCommand::VehicleCommand( MessageQueue::Access access )
     : MessageQueue( VehicleCommandName,
                     sizeof( Command ),
                     5,
                     access,
                     False )
{

}

VehicleCommand::~VehicleCommand()
{

}

//===============================================================
int VehicleCommand::read( Command *cmd )
{
     return MessageQueue::read((void *)cmd);
}

int VehicleCommand::write( Command *cmd )
{
     return MessageQueue::write((void *)cmd);
}


//===============================================================

