www.pudn.com > Product_Submit2004.rar > def.h, change:2004-10-12,size:1812b


//
//  def.h
//  This file is generated by stubgen2.
//

//
// Copyright 2002 Sony Corporation 
//
// Permission to use, copy, modify, and redistribute this software for
// non-commercial use is hereby granted.
//
// This software is provided "as is" without warranty of any kind,
// either expressed or implied, including but not limited to the
// implied warranties of fitness for a particular purpose.
//

#ifndef _def_h_DEFINED
#define _def_h_DEFINED

//
//  Object name
//
const char* const objectName = "NUBOT";

//
//  Number of OObserver & OSubeject instances
//
const int numOfSubject  = 7;
const int numOfObserver = 7;

//
//  Service name
//
const char* const subjectService[numOfSubject] = 
{
	"NUBOT.CommandVector.OCommandVectorData.S",
	"NUBOT.SendString.char.S",
	"NUBOT.SendStringA.char.S",
	"NUBOT.SendStringB.char.S",
	"NUBOT.SendStringC.char.S",
	"NUBOT.SendRawImage.RawImage.S",
	"NUBOT.SendClassifiedImage.ClassifiedImage.S"
};

const char* const observerService[numOfObserver] = 
{
	"NUBOT.ProcessFrame.OFbkImageVectorData.O",
	"NUBOT.ProcessSensor.OSensorFrameVectorData.O",
	"NUBOT.ReceiveGameControl.RoboCupGameControlData.O",
	"NUBOT.ReceiveString.char.O",
	"NUBOT.ReceiveStringA.char.O",
	"NUBOT.ReceiveStringB.char.O",
	"NUBOT.ReceiveStringC.char.O"
};

//
//  OSubject Index
//
const int sbjCommandVector = 0;
const int sbjSendString = 1;
const int sbjSendStringA = 2;
const int sbjSendStringB = 3;
const int sbjSendStringC = 4;
const int sbjSendRawImage = 5;
const int sbjSendClassifiedImage = 6;

//
//  OObserver Index
//
const int obsProcessFrame = 0;
const int obsProcessSensor = 1;
const int obsReceiveGameControl = 2;
const int obsReceiveString = 3;
const int obsReceiveStringA = 4;
const int obsReceiveStringB = 5;
const int obsReceiveStringC = 6;


#endif // _def_h_DEFINED