Changes in / [20:30]

Show
Ignore:
Files:
106 added
94 modified

Legend:

Unmodified
Added
Removed
  • /ossieparser/trunk/ComponentSupportedInterface.h

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#ifndef COMPONENTSUPPORTEDINTERFACE_H 
    228#define COMPONENTSUPPORTEDINTERFACE_H 
  • /ossieparser/trunk/ossieparser.cpp

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
    126// ossieparser.cpp : Defines the entry point for the DLL application. 
    227// 
  • /ossieparser/trunk/SPDImplementation.h

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#ifndef SPDIMPLEMENTATION_H 
    228#define SPDIMPLEMENTATION_H 
  • /ossieparser/trunk/DCDInstantiationProperty.cpp

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#include "DCDInstantiationProperty.h" 
    228 
  • /ossieparser/trunk/ComponentInstantiation.cpp

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#include "ComponentInstantiation.h" 
    228 
  • /ossieparser/trunk/PRFSimpleProperty.h

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#ifndef PRFSIMPLEPROPERTY_H 
    228#define PRFSIMPLEPROPERTY_H 
  • /ossieparser/trunk/SPDUsesDevice.h

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#ifndef SPDUSESDEVICE_H 
    228#define SPDUSESDEVICE_H 
  • /ossieparser/trunk/ComponentAssemblyParser.h

    r18 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#ifndef COMPONENTASSEMBLYPARSER_H 
    228#define COMPONENTASSEMBLYPARSER_H 
  • /ossieparser/trunk/Port.cpp

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#include "Port.h" 
    228 
  • /ossieparser/trunk/DMDParser.h

    r18 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#ifndef DMDPARSER_H 
    228#define DMDPARSER_H 
  • /ossieparser/trunk/ExternalPort.cpp

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#include "ExternalPort.h" 
    228 
  • /ossieparser/trunk/DCDComponentInstantiation.h

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#ifndef DCDCOMPONENTINSTANTIATION_H 
    228#define DCDCOMPONENTINSTANTIATION_H 
  • /ossieparser/trunk/DCDConnectionParser.cpp

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#include "DCDConnectionParser.h" 
    228 
  • /ossieparser/trunk/UsesPort.h

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#ifndef USESPORT_H 
    228#define USESPORT_H 
  • /ossieparser/trunk/ComponentSupportedInterface.cpp

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#include "ComponentSupportedInterface.h" 
    228 
  • /ossieparser/trunk/SCDParser.h

    r18 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#ifndef SCDPARSER_H 
    228#define SCDPARSER_H 
  • /ossieparser/trunk/ComponentPlacement.h

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#ifndef COMPONENTPLACEMENT_H 
    228#define COMPONENTPLACEMENT_H 
  • /ossieparser/trunk/SADHostCollocation.h

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#ifndef SADHOSTCOLLOCATION_H 
    228#define SADHOSTCOLLOCATION_H 
  • /ossieparser/trunk/SADComponentInstantiation.h

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#ifndef SADCOMPONENTINSTANTIATION_H 
    228#define SADCOMPONENTINSTANTIATION_H 
  • /ossieparser/trunk/PRFParser.cpp

    r18 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#include "PRFParser.h" 
    228 
  • /ossieparser/trunk/DCDComponentPlacement.cpp

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#include "DCDComponentPlacement.h" 
    228 
  • /ossieparser/trunk/DCDInstantiationProperty.h

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#ifndef DCDINSTANTIATIONPROPERTY_H 
    228#define DCDINSTANTIATIONPROPERTY_H 
  • /ossieparser/trunk/SPDAuthor.h

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#ifndef SPDAUTHOR_H 
    228#define SPDAUTHOR_H 
  • /ossieparser/trunk/ComponentAssemblyParser.cpp

    r18 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#include "ComponentAssemblyParser.h" 
    228 
  • /ossieparser/trunk/DMDParser.cpp

    r18 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#include "DMDParser.h" 
    228 
  • /ossieparser/trunk/SADParser.cpp

    r18 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#include "SADParser.h" 
    228 
  • /ossieparser/trunk/Port.h

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#ifndef PORT_H 
    228#define PORT_H 
  • /ossieparser/trunk/ReadMe.txt

    r10 r30  
    1 ======================================================================== 
    2        DYNAMIC LINK LIBRARY : ossieparser 
    3 ======================================================================== 
     1 
     2- OSSIEParser 
     3 
     4This is a library that contains parsing for the SCA.  This library is needs to be available before OSSIECF can be built. 
     5 
     6Installation instructions: 
     7 
     8-make sure that ACE and The ACE ORB (TAO) are installed in your system 
     9-make sure that the Xerces XML parser is installed in your system 
     10-build this project 
    411 
    512 
    6 AppWizard has created this ossieparser DLL for you.   
    7  
    8 This file contains a summary of what you will find in each of the files that 
    9 make up your ossieparser application. 
    10  
    11 ossieparser.dsp 
    12     This file (the project file) contains information at the project level and 
    13     is used to build a single project or subproject. Other users can share the 
    14     project (.dsp) file, but they should export the makefiles locally. 
    15  
    16 ossieparser.cpp 
    17     This is the main DLL source file. 
    18  
    19 ossieparser.h 
    20     This file contains your DLL exports. 
    21  
    22 ///////////////////////////////////////////////////////////////////////////// 
    23 Other standard files: 
    24  
    25 StdAfx.h, StdAfx.cpp 
    26     These files are used to build a precompiled header (PCH) file 
    27     named ossieparser.pch and a precompiled types file named StdAfx.obj. 
    28  
    29  
    30 ///////////////////////////////////////////////////////////////////////////// 
    31 Other notes: 
    32  
    33 AppWizard uses "TODO:" to indicate parts of the source code you 
    34 should add to or customize. 
    35  
    36  
    37 ///////////////////////////////////////////////////////////////////////////// 
     13For more information, see http://www.mprg.org/research/ossie 
  • /ossieparser/trunk/ComponentPlacement.cpp

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#include "ComponentPlacement.h" 
    228 
  • /ossieparser/trunk/SADComponentInstantiation.cpp

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#include "SADComponentInstantiation.h" 
    228 
  • /ossieparser/trunk/ProvidesPort.cpp

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#include "ProvidesPort.h" 
    228 
  • /ossieparser/trunk/Connection.h

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#ifndef CONNECTION_H 
    228#define CONNECTION_H 
  • /ossieparser/trunk/SPDParser.h

    r18 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#ifndef SPDPARSER_H 
    228#define SPDPARSER_H 
  • /ossieparser/trunk/PRFParser.h

    r18 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#ifndef PRFPARSER_H 
    228#define PRFPARSER_H 
  • /ossieparser/trunk/SPDAuthor.cpp

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#include "SPDAuthor.h" 
    228 
  • /ossieparser/trunk/DCDComponentPlacement.h

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#ifndef DCDCOMPONENTPLACEMENT_H 
    228#define DCDCOMPONENTPLACEMENT_H 
  • /ossieparser/trunk/DCDParser.h

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#ifndef DCDPARSER_H 
    228#define DCDPARSER_H 
  • /ossieparser/trunk/FindBy.h

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#ifndef FINDBY_H 
    228#define FINDBY_H 
  • /ossieparser/trunk/orb_wrap.h

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#ifndef ORB_DEV_H 
    228#define ORB_DEV_H 
  • /ossieparser/trunk/SADComponentPlacement.h

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#ifndef SADCOMPONENTPLACEMENT_H 
    228#define SADCOMPONENTPLACEMENT_H 
  • /ossieparser/trunk/SADParser.h

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#ifndef SADPARSER_H 
    228#define SADPARSER_H 
  • /ossieparser/trunk/SPDImplementation.cpp

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#include "SPDImplementation.h" 
    228#include "SPDParser.h" 
  • /ossieparser/trunk/InstantiationProperty.h

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#ifndef INSTANTIATIONPROPERTY_H 
    228#define INSTANTIATIONPROPERTY_H 
  • /ossieparser/trunk/Connection.cpp

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#include "Connection.h" 
    228 
  • /ossieparser/trunk/SPDParser.cpp

    r18 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#include "SPDParser.h" 
    228#include "SPDImplementation.h" 
  • /ossieparser/trunk/ossieparser.h

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127 
    228// The following ifdef block is the standard way of creating macros which make exporting  
  • /ossieparser/trunk/ProvidesPort.h

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#ifndef PROVIDESPORT_H 
    228#define PROVIDESPORT_H 
  • /ossieparser/trunk/PRFSimpleProperty.cpp

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#include "PRFSimpleProperty.h" 
    228 
  • /ossieparser/trunk/SPDUsesDevice.cpp

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#include "SPDUsesDevice.h" 
    228 
  • /ossieparser/trunk/DCDParser.cpp

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#include "DCDParser.h" 
    228 
  • /ossieparser/trunk/FindBy.cpp

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#include "FindBy.h" 
    228 
  • /ossieparser/trunk/orb_wrap.cpp

    r20 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  orb_wrap.cpp - this file contains interfaces to make access to the orb simpler 
     22 
     23  Even though all code is original, the architecture of the OSSIE Parser is based  
     24  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     25  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     26 
     27*********************************************************************************/ 
     28 
    129#include "ORB_WRAP.h" 
    230 
  • /ossieparser/trunk/ComponentInstantiation.h

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#ifndef COMPONENTINSTANTIATION_H 
    228#define COMPONENTINSTANTIATION_H 
  • /ossieparser/trunk/DCDComponentInstantiation.cpp

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#include "DCDComponentInstantiation.h" 
    228 
  • /ossieparser/trunk/SADComponentPlacement.cpp

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#include "SADComponentPlacement.h" 
    228 
  • /ossieparser/trunk/UsesPort.cpp

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#include "UsesPort.h" 
    228 
  • /ossieparser/trunk/SCDParser.cpp

    r18 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#include "SCDParser.h" 
    228 
  • /ossieparser/trunk/InstantiationProperty.cpp

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#include "InstantiationProperty.h" 
    228 
  • /ossieparser/trunk/SADHostCollocation.cpp

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#include "SADHostCollocation.h" 
    228 
  • /ossieparser/trunk/DCDConnectionParser.h

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#ifndef DCDCONNECTIONPARSER_H 
    228#define DCDCONNECTIONPARSER_H 
  • /ossieparser/trunk/ExternalPort.h

    r10 r22  
     1/******************************************************************************* 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Parser. 
     6 
     7OSSIE Parser is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Parser is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Parser; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21  Even though all code is original, the architecture of the OSSIE Parser is based  
     22  on the architecture of the CRC's SCA Reference Implementation (SCARI) 
     23  see: http://www.crc.ca/en/html/rmsc/home/sdr/projects/scari 
     24 
     25*********************************************************************************/ 
     26 
    127#ifndef EXTERNALPORT_H 
    228#define EXTERNALPORT_H 
  • /ossiecf/trunk/FileManager_impl.h

    r8 r23  
     1/**************************************************************************** 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Core Framework. 
     6 
     7OSSIE Core Framework is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Core Framework is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Core Framework; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21****************************************************************************/ 
     22 
    123#ifndef __FILEMANAGER__IMPL 
    224#define __FILEMANAGER__IMPL 
  • /ossiecf/trunk/File_impl.h

    r8 r23  
     1/**************************************************************************** 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Core Framework. 
     6 
     7OSSIE Core Framework is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Core Framework is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Core Framework; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21****************************************************************************/ 
     22 
    123/* SCA */ 
    224#ifndef FILE_IMPL__H 
  • /ossiecf/trunk/Resource_impl.cpp

    r8 r23  
     1/**************************************************************************** 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Core Framework. 
     6 
     7OSSIE Core Framework is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Core Framework is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Core Framework; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21****************************************************************************/ 
     22 
    123#include "Resource_impl.h" 
    224 
     
    2547{ 
    2648        // set CF::Device::UsageType = ACTIVE; 
     49        //      generally, you'll overload this with some implementation that is dependent to your specific component 
    2750} 
    2851 
     
    3053{ 
    3154        // set CF::Device::UsageType = IDLE; 
     55        //      generally, you'll overload this with some implementation that is dependent to your specific component 
    3256} 
    3357 
  • /ossiecf/trunk/LoadableDevice_impl.h

    r17 r23  
    1 /* ************************************************************************************************ 
     1/**************************************************************************** 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Core Framework. 
     6 
     7OSSIE Core Framework is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Core Framework is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Core Framework; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
    221LOADABLEDEVICE_IMPL.H 
    322        Class defintion for LoadableDevice_impl. 
    423 
    5 OSSI:E, MPRG, Virginia Tech 
    624Craig Neely, Carlos Aguayo, 12 December 2003 
    7 ************************************************************************************************ */ 
     25 
     26****************************************************************************/ 
     27 
    828#ifndef LOADABLE_DEVICE_IMPL_H 
    929#define LOADABLE_DEVICE_IMPL_H 
  • /ossiecf/trunk/Port_impl.h

    r8 r23  
     1/**************************************************************************** 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Core Framework. 
     6 
     7OSSIE Core Framework is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Core Framework is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Core Framework; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21****************************************************************************/ 
     22 
    123#ifndef PORT_IMPL_H 
    224#define PORT_IMPL_H 
  • /ossiecf/trunk/FileSystem_impl.h

    r17 r23  
     1/**************************************************************************** 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Core Framework. 
     6 
     7OSSIE Core Framework is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Core Framework is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Core Framework; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21****************************************************************************/ 
     22 
    123/* SCA */ 
    224#ifndef __FILESYSTEM_IMPL__ 
  • /ossiecf/trunk/DeviceManager_impl.cpp

    r17 r23  
    1 /* ************************************************************************************************ 
    2         OSSI:E 
    3         MPRG 
    4         Virginia Tech 
    5  
     1/**************************************************************************** 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Core Framework. 
     6 
     7OSSIE Core Framework is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Core Framework is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Core Framework; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    620 
    721  Nov/10/03     C. Neely        Created 
    822                        C. Aguayo 
    9 ************************************************************************************************ */ 
     23 
     24****************************************************************************/ 
    1025 
    1126#include "DeviceManager_impl.h" 
     
    4661        delete _label; 
    4762        delete _deviceConfigurationProfile; 
    48         // this is where the loop would go. 
    49         /*for(int i = 0; i<_registeredDevices.length(); i++) 
    50         { 
    51                 CORBA::release(_registeredDevices[i]); 
    52         }*/ 
    53         //CORBA::release(_registeredDevices); 
    54 } 
    55  
     63} 
    5664 
    5765//Parsing constructor 
     
    5967{ 
    6068        init(); 
    61         /*CF::File_ptr _file = CF::File::_nil(); 
    62  
    63  
    64         try 
    65         { 
    66                 _file = _fileSys.open( DCDInput, true ); 
    67         } catch( CF::InvalidFileName& ) {printf("\nInvalid File Name Exception\n");} 
    68         */ 
    69  
    70         //if( !CORBA::is_nil( _file ) ) 
     69 
    7170        if( _fileSys.exists(DCDInput) ) 
    7271        { 
    73                 //_file->close(); 
    74  
    7572                //Get Device Manager attributes (deviceConfigurationProfile, identifier and label) 
    7673                //from DCD file 
    77                 //_deviceConfigurationProfile = new char[ strlen( _file->fileName() ) + 1 ]; 
    7874                _deviceConfigurationProfile = new char[ strlen(DCDInput) + 1 ]; 
    7975 
     
    9288                 
    9389                //parse filesystem names 
    94  
    9590                 
    9691#ifdef HARD_CODED_DEVICES 
    9792                         
    98                         //generate a set of properties to allocate and deallocate 
    99                         CF::Properties tempProperties; 
    100                         tempProperties.length(3); 
    101                         tempProperties[0].id = CORBA::string_dup("Capacity_1"); 
    102                         char* type = "short"; char* value = "2"; 
    103                         ORB_WRAP::anyType( type, value, tempProperties[0].value ); 
    104                         tempProperties[1].id = CORBA::string_dup("Capacity_2"); 
    105                         type = "long"; value = "200"; 
    106                         ORB_WRAP::anyType( type, value, tempProperties[1].value ); 
    107                         tempProperties[2].id = CORBA::string_dup("Capacity_3"); 
    108                         type = "ulong"; value = "1000000"; 
    109                         ORB_WRAP::anyType( type, value, tempProperties[2].value ); 
     93                //generate a set of properties to allocate and deallocate 
     94                CF::Properties tempProperties; 
     95                tempProperties.length(3); 
     96                tempProperties[0].id = CORBA::string_dup("Capacity_1"); 
     97                char* type = "short"; char* value = "2"; 
     98                ORB_WRAP::anyType( type, value, tempProperties[0].value ); 
     99                tempProperties[1].id = CORBA::string_dup("Capacity_2"); 
     100                type = "long"; value = "200"; 
     101                ORB_WRAP::anyType( type, value, tempProperties[1].value ); 
     102                tempProperties[2].id = CORBA::string_dup("Capacity_3"); 
     103                type = "ulong"; value = "1000000"; 
     104                ORB_WRAP::anyType( type, value, tempProperties[2].value ); 
    110105                         
    111106                //create labels, software profiles and properties for test devices 
     
    160155                } 
    161156                printf("\n\nHardcoded Devices Launched\n"); 
    162  
    163  
    164  
    165157#else 
    166158                //Parse local componenents from DCD files 
     
    217209                /*//Obtain DEPLY-ON components 
    218210                std::vector<DCDComponentPlacement> DeployOnComponentsVector = _DCDParser.getDeployOnComponents(); 
    219                  
    220211 
    221212                std::vector<char*> DPDList; 
     
    225216                        DPDList.push_back( DeployOnComponentsVector[i].getDPDFile() ); 
    226217                */ 
    227  
    228  
    229218#endif 
    230                  
    231219 
    232220                //get DomainManager reference 
     
    235223                //Register DeviceManager with DomainManager 
    236224                _dmnMgr->registerDeviceManager(this->_this()); 
    237                 //printf("\nRegistering with Domain Manager"); 
    238  
    239225        } 
    240226        else 
     
    250236        PortableServer::ObjectId_var oid=_root_poa->activate_object(this); 
    251237 
    252         //PortableServer::ObjectId_var oid2=_root_poa->activate_object(&_fileSys); 
    253          
    254238        CORBA::Object_var devMgrObjReference = _root_poa->id_to_reference(oid.in()); 
    255239         
     
    264248} 
    265249 
    266  
    267250void DeviceManager_impl::getDomainManagerReference(char* domainManagerName) 
    268251{ 
    269         printf("\nGetting Domain Manager Reference\n"); 
    270         //ORB_WRAP _orb_wrap; 
    271252        CORBAOBJ obj; 
    272         obj = _orb_wrap.lookup( domainManagerName);//_DCDParser.getDomainManagerName() ); 
     253        obj = _orb_wrap.lookup( domainManagerName); 
    273254        _dmnMgr = CF::DomainManager::_narrow(obj); 
    274  
    275         printf("\nGot Domain Manager Reference"); 
    276255} 
    277256 
     
    342321                _dmnMgr->registerDevice(registeringDevice, this->_this()); 
    343322        } 
    344                  
    345323 
    346324//The registerDevice operation shall write a FAILURE_ALARM log record to a 
     
    375353//registeredDevice is a nil CORBA object reference or does not exist in the DeviceManager’s 
    376354//registeredDevices attribute. 
    377  
    378355                /*writeLogRecord(FAILURE_ALARM,invalid reference input parameter.);*/ 
    379                  
    380356                throw( CF::InvalidObjectReference("Cannot unregister Device. registeringDevice is a nil reference.") ); 
    381357 
     
    386362//The unregisterDevice operation shall remove the input registeredDevice from the 
    387363//DeviceManager’s registeredDevices attribute.  
    388          
     364 
    389365        //Look for registeredDevice in _registeredDevices 
    390366        for(int i = 0; i<_registeredDevices.length();i++) 
     
    403379                                //registered with the DeviceManager and the DeviceManager is not shutting down. 
    404380                                if(_adminState == DEVMGR_REGISTERED) 
    405                                         { 
    406                                                 _dmnMgr->unregisterDevice( registeredDevice ); 
    407                                         } 
     381                                { 
     382                                        _dmnMgr->unregisterDevice( registeredDevice ); 
     383                                } 
    408384 
    409385                                CORBA::release(registeredDevice); 
     
    550526//element used to create the component. 
    551527} 
    552  
    553 #ifdef AUTOMATIC_TEST 
    554  
    555 void DeviceManager_impl::displayRegisteredDevices (void) 
    556 { 
    557          
    558         CF::Device_ptr myDev_ptr; 
    559         if(_registeredDevices.length() > 0) 
    560         { 
    561                 printf("\nDevices registered in %s Device Manager\n", this->label()); 
    562                 for (int i = 0; i < _registeredDevices.length(); i++) 
    563                 { 
    564                         myDev_ptr=CF::Device::_narrow(_registeredDevices[i]); 
    565                         printf( "\n  %s\n",myDev_ptr->label() ); 
    566                         //printf( "\n  %s\n",_registeredDevices[i]->label() ); 
    567                 } 
    568         } 
    569         else 
    570         { 
    571                 printf("\nThere are no registered devices in %s Device Manager\n", this->label()); 
    572         } 
    573 } 
    574  
    575  
    576 /*void deviceManagerAutomaticTest() //This function is not part of Device class 
    577 { 
    578         //ORB_WRAP* _orb_wrap = new ORB_WRAP(); 
    579         printf("\nAutomatic Test for Device Manager\n"); 
    580         //DeviceManager_impl deviceMgr; 
    581  
    582         char* dcd = "OSSIEDeviceManager_DCDv2.xml"; 
    583         DeviceManager_impl devMgr(dcd); 
    584         //printf("\nAutomatic Test for Device Manager DONE\n"); 
    585         devMgr.displayRegisteredDevices(); 
    586          
    587         // instantiate a device 
    588         char* label = "LABEL_TEST_EXEC_DEVICE"; 
    589         char* sProfile = "SOFTWARE_PROFILE_TEST_EXEC_DEVICE"; 
    590         ExecutableDevice_impl execDevice(label, sProfile); 
    591          
    592         printf("\nRegistering device\n"); 
    593         devMgr.registerDevice( execDevice._this() ); 
    594         devMgr.displayRegisteredDevices(); 
    595  
    596         //register the same device again 
    597         printf("\nRegistering the same device\n"); 
    598         devMgr.registerDevice( execDevice._this() ); 
    599         devMgr.displayRegisteredDevices(); 
    600          
    601         //unregister device 
    602         printf("\nUnregistering device\n"); 
    603         devMgr.unregisterDevice( execDevice._this() ); 
    604         devMgr.displayRegisteredDevices(); 
    605  
    606         //register device again 
    607         printf("\nRegistering device\n"); 
    608         devMgr.registerDevice( execDevice._this() ); 
    609         devMgr.displayRegisteredDevices(); 
    610          
    611         //Create another device 
    612         label = "LABEL_TEST_EXEC_DEVICE2"; 
    613         sProfile = "SOFTWARE_PROFILE_TEST_EXEC_DEVICE2"; 
    614         ExecutableDevice_impl execDevice2(label, sProfile); 
    615         //register new device 
    616         printf("\nRegistering device\n"); 
    617         devMgr.registerDevice( execDevice2._this() ); 
    618         devMgr.displayRegisteredDevices(); 
    619         //unregister device2 
    620         printf("\nUnregistering device\n"); 
    621         devMgr.unregisterDevice( execDevice._this() ); 
    622         devMgr.displayRegisteredDevices(); 
    623         //unregister device 
    624         printf("\nUnregistering device\n"); 
    625         devMgr.unregisterDevice( execDevice2._this() ); 
    626         devMgr.displayRegisteredDevices(); 
    627  
    628  
    629  
    630 }*/ 
    631  
    632 #endif 
  • /ossiecf/trunk/TestableObject_impl.cpp

    r8 r23  
     1/**************************************************************************** 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Core Framework. 
     6 
     7OSSIE Core Framework is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Core Framework is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Core Framework; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21****************************************************************************/ 
     22 
    123#include "TestableObject_impl.h" 
    224 
    3 void TestableObject_impl::runTest( unsigned int _number, CF::Properties& _props ) 
    4 { 
    5 } 
     25void TestableObject_impl::runTest( unsigned int _number, CF::Properties& _props ) { } 
  • /ossiecf/trunk/ApplicationFactory_impl.cpp

    r17 r23  
     1/**************************************************************************** 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Core Framework. 
     6 
     7OSSIE Core Framework is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Core Framework is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Core Framework; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21****************************************************************************/ 
     22 
    123#include "ApplicationFactory_impl.h" 
    224 
     
    1133ApplicationFactory_impl::ComponentInfo::ComponentInfo(const ComponentInfo& ComponentInfoCopy) 
    1234{ 
     35        // populate object with the component information 
    1336        this->name = new char[ strlen( ComponentInfoCopy.name ) + 1 ]; 
    1437        ACE_OS::strcpy( this->name, ComponentInfoCopy.name ); 
     
    3760ApplicationFactory_impl::ApplicationFactory_impl( const char* _softProfile ) 
    3861{ 
     62        // population application factory with the appropriate information 
    3963        this->_softwareProfile = new char[ strlen( _softProfile ) + 1 ]; 
    4064        ACE_OS::strcpy( this->_softwareProfile, _softProfile ); 
     
    4872        ACE_OS::strcpy( this->_identifier, _sadParser->getID() ); 
    4973         
    50         //Get reference to DomainManager 
     74        //Get reference to DomainManager (to register w/event channel) 
    5175        CORBAOBJ obj = _orb.lookup( "/DomainName/DomainManager" ); 
    5276 
     
    6185                                                                                                 const CF::DeviceAssignmentSequence& deviceAssignments ) 
    6286{ 
    63         //Create filesystem (we're assuming everything is in the same directory as the code): 
    64         //FileSystem_impl xml_fs("C:/Documents and Settings/rmenon/My Documents/SCA/chris/SCA_Application/"); 
    6587 
    6688        std::vector<SADComponentPlacement*>* ComponentsVector = _sadParser->getComponents(); 
    6789 
    6890        std::vector<char*> SPDList; 
    69  
    70         //std::vector<SPDParser> SPDFile; 
    7191 
    7292        //Get SPD file names from SAD: 
    7393        for(int i = 0; i < ComponentsVector->size(); i++) //Makes list of SPD files. 
    7494                SPDList.push_back( (*ComponentsVector)[i]->getSPDFile() ); 
    75  
    76 //BEGIN verifying each device assignment, for the specified component, against the component’s SPD implementation element 
    77  
    78         //for( i = 0; i < SPDList.size(); i++ ) //Open each SPD and check implementation id's 
    79         //{ 
    80                 //try  
    81                 //{  
    82                         //verifyDeviceAssignments( SPDList[ i ], deviceAssignments );  
    83                         verifyDeviceAssignments( SPDList, deviceAssignments );  
    84                 //} 
    85                 //catch( CORBA::Exception& ) { 
    86                 //      SPDParser _spdParser( SPDList[ i ] ); 
    87                 //      ComponentDependencies( &_spdParser ); 
    88                 //} 
    89         //} 
    90  
    91 //END verifying each device assignment, for the specified component, against the component’s SPD implementation element. 
    92  
    93         //Allocate capacity using DeviceAssignmentSequence from SPDs: 
    94         //## Need to make Properties of sufficient size later so it can handle all properties passed to allocateCapacity: 
    95         /*CF::DataType* dt= new CF::DataType; 
    96          
    97         dt->id = CORBA::string_dup("SIZE"); 
    98          
    99         CF::Properties capacities(2,1, dt,0);*/ 
    100  
     95         
     96        verifyDeviceAssignments( SPDList, deviceAssignments );  
     97 
     98        // allocate space for device assignment (assume maximum length of 10 - will make dynamic in later version) 
    10199        CF::DeviceAssignmentSequence* _availableDevs = new CF::DeviceAssignmentSequence(10); 
    102100 
     
    166164        } 
    167165 
    168  
    169166        CF::Resource_ptr _assemblyController; 
    170167 
     
    181178        int vector_access=0; 
    182179 
     180        // install the different components in the system 
    183181        for( i = 0; i < ComponentsVector->size(); i++ ) 
    184182        { 
     
    202200                if( (*ComponentInstantiationVector)[ 0 ]->isNamingService() ) 
    203201                { 
     202                        // this is for the naming-service based configuration 
     203                        //      it assumes that the component already exists (like a device) 
    204204                        char* _lookupName = (*ComponentInstantiationVector)[ 0 ]->getFindByNamingServiceName(); 
    205205 
     
    211211                        } while ( CORBA::is_nil( _obj ) ); 
    212212 
     213                        // check to see if the resource is the assembly controller 
     214                        //      either way, the resource is initialized and configured 
    213215                        if( _assemblyControllerProfile == (*ComponentInstantiationVector)[ 0 ] ) 
    214216                        { 
     
    232234                else if( (*ComponentInstantiationVector)[ 0 ]->isResourceFactoryRef() ) 
    233235                { 
     236                        // resource-factory based component instantiation 
    234237                        SADComponentInstantiation* _resourceFacInstantiation = NULL; 
    235238 
    236239                        int tmpCnt = 0; 
    237240 
     241                        // figure out which resource factory is used 
    238242                        while( _resourceFacInstantiation == NULL ) 
    239243                        { 
     
    250254                        CF::ResourceFactory_ptr _resourceFactory = CF::ResourceFactory::_narrow( _obj ); 
    251255 
     256                        // configure factory 
    252257                        std::vector<InstantiationProperty*>* _factoryInstantiationProps 
    253258                                = (*ComponentInstantiationVector)[0]->getFactoryProperties(); 
     
    265270                        char *value = LoadInfoVector[vector_access]->name; 
    266271 
     272                        // instantiate resource (mechanism for this is left up to the factory's implementation) 
    267273                        CF::Resource_ptr _resourceCreated = _resourceFactory->createResource( 
    268274                                LoadInfoVector[ vector_access ]->name, LoadInfoVector[ vector_access ]->parameters ); 
     
    271277                                throw CF::ApplicationFactory::CreateApplicationError(); 
    272278 
     279                        // check to see if the resource is the assembly controller 
     280                        //      either way, the resource is initialized and configured 
    273281                        if( ACE_OS::strcmp( _assemblyControllerProfile->getID(), (*ComponentInstantiationVector)[ 0 ]->getID() ) == 0 ) 
    274282                        { 
     
    330338                        _lookup = NULL; 
    331339                } 
    332                 delete _spdParser; 
    333                 delete _scdParser; 
    334340        } // end for() 
    335341 
    336342        std::vector<Connection*>* _connection = _sadParser->getConnections(); 
    337343 
     344        // create all resource connections 
    338345        for( int _numConnections = _connection->size() - 1; _numConnections >= 0; _numConnections-- ) 
    339346        { 
     
    345352 
    346353                FindBy* _findProvidesPortBy = NULL; 
    347  
    348                 //ComponentSupportInterface* _componentSuppInterface = NULL: 
    349354 
    350355                if( (*_connection)[ _numConnections ]->isProvidesPort() ) 
     
    352357                else if( (*_connection)[ _numConnections ]->isFindBy() ) 
    353358                        _findProvidesPortBy = (*_connection)[ _numConnections ]->getFindBy(); 
    354                 // else if( _connection[ _numConnections ]->isComponentSupportedInterface() ) 
    355359                else 
    356360                { 
     
    429433 
    430434        char** DependantFiles = (*SPDImpl)[0]->getSoftwareDependencies(); //Assuming only one implementation. 
    431 /*       
    432         if(DependantFiles != NULL) 
    433         { 
    434                 for(int i=0; i<TBD_Length; i++) //Iterate through dependancies. 
    435                 { 
    436                         SPDParser SPDFile2( DependantFiles[i] ); 
    437                         ComponentDependencies( &SPDFile2 ); 
    438                 } 
    439         } 
    440 */ 
     435 
    441436        //Open property file and get properties: 
    442437        char* PRFFileName = SPDFile->getPRFFile(); 
     
    508503                        } 
    509504                } 
    510                  
    511505                ComponentDependencies( &SPDFile, assignmentMatch ); 
    512                  
    513506        } 
    514  
    515          
    516          
    517 /*      char* _spdFileName ; 
    518         for (int i = 0; i < SPDList.size(); i++) 
    519         { 
    520                 _spdFileName = SPDList[i]; 
    521          
    522                 if( _spdFileName != NULL ) 
    523                 { 
    524  
    525                         char* SPDImplId = NULL; 
    526  
    527                          
    528  
    529                         //const CF::DeviceAssignmentType* deviceAssignmentType = _deviceAssignments.get_buffer(); 
    530  
    531                         SPDParser SPDFile( _spdFileName ); 
    532                          
    533                         //Get implementation ID's from SPD's and check against deviceAssignments: 
    534                         vector<SPDImplementation*>* SPDImpl = SPDFile.getImplementations(); 
    535                          
    536                         for( int k = 0; k < _deviceAssignments.length(); k++ ) 
    537                         {        
    538                                 for( int j = 0; j < SPDImpl->size(); j++ ) //Loop through deviceAssignmentSequence 
    539                                 { 
    540                                         SPDImplId = (*SPDImpl)[ j ]->getID(); //Assuming only one implementation per SPD. 
    541  
    542                                         if( ACE_OS_String::strcmp( SPDImplId, deviceAssignments[k].assignedDeviceId ) == 0 ) 
    543                                         { 
    544                                                 DeviceIdMatch = true; 
    545                                                 break; //Leave checking loop. 
    546                                         } 
    547  
    548                                         //deviceAssignmentType++; //Increments to next deviceAssignment 
    549                                 } 
    550  
    551                                 if( !DeviceIdMatch ) 
    552                                 { 
    553                                         //Cleanup anything if needed. 
    554                                         throw CF::ApplicationFactory::CreateApplicationError(); 
    555                                 } 
    556                         } 
    557  
    558                         ComponentDependencies( &SPDFile ); 
    559                 } 
    560         }*/ 
    561507} 
    562508 
     
    566512} 
    567513 
    568 void ApplicationFactoryEventHandler::push( const CORBA::Any& _any ) 
    569 { 
    570 } 
    571  
    572 void ApplicationFactoryEventHandler::disconnect_push_consumer() 
    573 { 
    574 } 
     514void ApplicationFactoryEventHandler::push( const CORBA::Any& _any ) { } 
     515 
     516void ApplicationFactoryEventHandler::disconnect_push_consumer() { } 
  • /ossiecf/trunk/Device_impl.cpp

    r16 r23  
    1 /* 
    2         OSSI:E 
    3         MPRG 
    4         Virginia Tech 
    5  
     1/**************************************************************************** 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Core Framework. 
     6 
     7OSSIE Core Framework is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Core Framework is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Core Framework; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    620 
    721  Oct/6/03      C. Neely        Created 
    822                        C. Aguayo 
    9 */ 
     23 
     24****************************************************************************/ 
    1025 
    1126#include "Device_impl.h" 
     
    486501CF::Device::OperationalType Device_impl::operationalState() { return _operationalState; } 
    487502 
    488 // TODO: actually return an AggregateDevice type // 
     503// TODO: actually return an AggregateDevice type - aggregate devices are not supported by this version // 
    489504CF::AggregateDevice_ptr Device_impl::compositeDevice() { return NULL; } 
    490505 
     
    494509        printf("\nInitialize from Device_impl\n"); 
    495510} 
    496  
    497  
    498 #ifdef AUTOMATIC_TEST 
    499  
    500 void Device_impl::displayProperties() 
    501 { 
    502         printf("\nCurrent Capacities: \n"); 
    503         CF::Properties capacities; 
    504         query(capacities); 
    505         for(int i = 0; i < capacities.length(); i++) 
    506         { 
    507                 printf("%s ",capacities[i].id); 
    508  
    509                 CORBA::TypeCode_var tc = capacities[i].value.type(); 
    510                 switch( tc->kind() ) 
    511                 { 
    512                 case CORBA::tk_ulong: 
    513                         { 
    514                                 CORBA::ULong cap; 
    515                                 capacities[i].value >>= cap; 
    516                                 printf("%u\n",cap); 
    517                                 break; 
    518                         } 
    519                 case CORBA::tk_long: 
    520                         { 
    521                                 CORBA::Long cap; 
    522                                 capacities[i].value >>= cap; 
    523                                 printf("%u\n",cap); 
    524                                 break; 
    525                         } 
    526                 case CORBA::tk_short: 
    527                         { 
    528                                 CORBA::Short cap; 
    529                                 capacities[i].value >>= cap; 
    530                                 printf("%u\n",cap); 
    531                                 break; 
    532                         } 
    533                 case CORBA::tk_string: 
    534                         { 
    535                                 char* cap; 
    536                                 capacities[i].value >>= cap; 
    537                                 printf("%s\n",cap); 
    538                                 break; 
    539                         } 
    540  
    541                 default: 
    542                         { 
    543                                 printf("Unknown CORBA Type\n"); 
    544                                 break; 
    545                         } 
    546  
    547  
    548                 } 
    549         } 
    550         return; 
    551 } 
    552 void Device_impl::displayProperties(CF::Properties& capacities) 
    553 { 
    554         printf("\nInput Properties: \n"); 
    555         for(int i = 0; i < capacities.length(); i++) 
    556         { 
    557                 printf("%s ",capacities[i].id); 
    558  
    559                 CORBA::TypeCode_var tc = capacities[i].value.type(); 
    560                 switch( tc->kind() ) 
    561                 { 
    562                 case CORBA::tk_ulong: 
    563                         { 
    564                                 CORBA::ULong cap; 
    565                                 capacities[i].value >>= cap; 
    566                                 printf("%u\n",cap); 
    567                                 break; 
    568                         } 
    569                 case CORBA::tk_long: 
    570                         { 
    571                                 CORBA::Long cap; 
    572                                 capacities[i].value >>= cap; 
    573                                 printf("%u\n",cap); 
    574                                 break; 
    575                         } 
    576                 case CORBA::tk_short: 
    577                         { 
    578                                 CORBA::Short cap; 
    579                                 capacities[i].value >>= cap; 
    580                                 printf("%u\n",cap); 
    581                                 break; 
    582                         } 
    583                 case CORBA::tk_string: 
    584                         { 
    585                                 char* cap; 
    586                                 capacities[i].value >>= cap; 
    587                                 printf("%s\n",cap); 
    588                                 break; 
    589                         } 
    590  
    591                 default: 
    592                         { 
    593                                 printf("Unknown CORBA Type\n"); 
    594                                 break; 
    595                         } 
    596  
    597  
    598                 } 
    599         } 
    600         return; 
    601 } 
    602  
    603 void Device_impl::displayAttributes() 
    604 { 
    605         printf("\n_label: %s\n",_label); 
    606         printf("_Software Profile: %s\n",_softwareProfile); 
    607         printf("_usageState is "); 
    608         switch(_usageState) 
    609         { 
    610         case CF::Device::UsageType::IDLE: 
    611                 { 
    612                         printf("IDLE\n"); 
    613                         break; 
    614                 } 
    615         case CF::Device::UsageType::ACTIVE: 
    616                 { 
    617                         printf("ACTIVE\n"); 
    618                         break; 
    619                 } 
    620         case CF::Device::UsageType::BUSY: 
    621                 { 
    622                         printf("BUSY\n"); 
    623                         break; 
    624                 } 
    625         } 
    626                  
    627  
    628         printf("_operationalState is "); 
    629         switch(_operationalState) 
    630         { 
    631         case CF::Device::OperationalType::ENABLED: 
    632                 { 
    633                         printf("ENABLED\n"); 
    634                         break; 
    635                 } 
    636         case CF::Device::OperationalType::DISABLED: 
    637                 { 
    638                         printf("DISABLED\n"); 
    639                         break; 
    640                 } 
    641         } 
    642         printf("_adminState is "); 
    643         switch(_adminState) 
    644         { 
    645         case CF::Device::AdminType::LOCKED: 
    646                 { 
    647                         printf("LOCKED\n"); 
    648                         break; 
    649                 } 
    650         case CF::Device::AdminType::SHUTTING_DOWN: 
    651                 { 
    652                         printf("SHUTTING_DOWN\n"); 
    653                         break; 
    654                 } 
    655         case CF::Device::AdminType::UNLOCKED: 
    656                 { 
    657                         printf("UNLOCKED\n"); 
    658                         break; 
    659                 } 
    660         } 
    661         return; 
    662 } 
    663  
    664  
    665  
    666  
    667 /*void deviceAutomaticTest() //This function is not part of Device class 
    668 { 
    669         printf("\nAutomatic Test for Device\n"); 
    670  
    671         //generate a known set of properties 
    672         CF::Properties capacities; 
    673         capacities.length(4); 
    674         CORBA::Any anyVar; 
    675          
    676         capacities[0].id = CORBA::string_dup("Capacity_1"); 
    677         char * type = "short"; 
    678         char * value = "6"; 
    679         //printf("type is %s and value is %s\n",type,value); 
    680         ORB_WRAP::anyType( type, value, anyVar); 
    681         capacities[0].value = anyVar; 
    682          
    683         capacities[1].id = CORBA::string_dup("Capacity_2"); 
    684         type = "long"; value = "600"; 
    685         //printf("type is %s and value is %s\n",type,value); 
    686         ORB_WRAP::anyType( type, value, anyVar); 
    687         capacities[1].value = anyVar; 
    688          
    689         capacities[2].id = CORBA::string_dup("Capacity_3"); 
    690         type = "ulong"; value = "3000000"; 
    691         //printf("type is %s and value is %s\n",type,value); 
    692         ORB_WRAP::anyType( type, value, anyVar); 
    693         capacities[2].value = anyVar; 
    694  
    695         capacities[3].id = CORBA::string_dup("Capacity_4"); 
    696         type = "ulong"; value = "21"; 
    697         //printf("type is %s and value is %s\n",type,value); 
    698         ORB_WRAP::anyType( type, value, anyVar); 
    699         capacities[3].value = anyVar; 
    700  
    701          
    702         //Instantiate a device 
    703         char * label = "LABEL_TEST_DEVICE"; 
    704         char * sProfile = "SOFTWARE_PROFILE_TEST_DEVICE"; 
    705         Device_impl testDevice(label, sProfile, capacities ); 
    706         testDevice.displayAttributes(); 
    707         testDevice.displayProperties(); 
    708  
    709         //generate a set of properties to allocate and deallocate 
    710         CF::Properties allDeall; 
    711         allDeall.length(3); 
    712          
    713         allDeall[0].id = CORBA::string_dup("Capacity_1"); 
    714         type = "short"; value = "2"; 
    715         ORB_WRAP::anyType( type, value, anyVar ); 
    716         allDeall[0].value = anyVar; 
    717          
    718         allDeall[1].id = CORBA::string_dup("Capacity_2"); 
    719         type = "long"; value = "200"; 
    720         ORB_WRAP::anyType( type, value, anyVar ); 
    721         allDeall[1].value = anyVar; 
    722          
    723         allDeall[2].id = CORBA::string_dup("Capacity_3"); 
    724         type = "ulong"; value = "1000000"; 
    725         ORB_WRAP::anyType( type, value, anyVar ); 
    726         allDeall[2].value = anyVar; 
    727         printf("\nCapacities for allocate and deallocate\n"); 
    728         testDevice.displayProperties(allDeall); 
    729  
    730  
    731         //allocate 
    732         printf("\nallocate\n"); 
    733         testDevice.allocateCapacity(allDeall); 
    734         testDevice.displayProperties(); 
    735         //allocate 
    736         printf("\nallocate\n"); 
    737         testDevice.allocateCapacity(allDeall); 
    738         testDevice.displayProperties(); 
    739         //deallocate 
    740         printf("\ndeallocate\n"); 
    741         testDevice.deallocateCapacity(allDeall); 
    742         testDevice.displayProperties(); 
    743         //allocate 
    744         printf("\nallocate\n"); 
    745         testDevice.allocateCapacity(allDeall); 
    746         testDevice.displayProperties(); 
    747         //allocate full capacity 
    748         printf("\nallocate\n"); 
    749         testDevice.allocateCapacity(allDeall); 
    750         testDevice.displayProperties(); 
    751         printf("\nShould be busy\n"); 
    752         testDevice.displayAttributes(); 
    753         //deallocate full capacity 
    754         testDevice.deallocateCapacity(allDeall); 
    755         testDevice.deallocateCapacity(allDeall); 
    756         testDevice.deallocateCapacity(allDeall); 
    757         testDevice.displayProperties(); 
    758         printf("\nShould be idle\n"); 
    759         testDevice.displayAttributes(); 
    760  
    761         //deallocate more than allowed 
    762         //testDevice.deallocateCapacity(allDeall); 
    763  
    764         //allocate wrong id 
    765         //allDeall[0].id = CORBA::string_dup("CapacT_1"); 
    766         //testDevice.deallocateCapacity(allDeall); 
    767  
    768         //allocate wrong valueType 
    769         //type = "ulong"; value = "2"; 
    770         //allDeall[0].value = ORB_WRAP::anyType( type.c_str(), value.c_str() ); 
    771         //testDevice.allocateCapacity(allDeall); 
    772  
    773         //allocate more than allowed 
    774         //type = "short"; value = "8"; 
    775         //allDeall[0].value = ORB_WRAP::anyType( type.c_str(), value.c_str() ); 
    776         //testDevice.allocateCapacity(allDeall); 
    777  
    778         //deallocates too much 
    779         //printf("\nallocate\n"); 
    780         //testDevice.allocateCapacity(allDeall); 
    781         //testDevice.displayProperties(); 
    782         //type = "short"; value = "4"; 
    783         //allDeall[0].value = ORB_WRAP::anyType( type.c_str(), value.c_str() ); 
    784         //testDevice.deallocateCapacity(allDeall); 
    785  
    786         //deallocate wrong id 
    787         //printf("\nallocate\n"); 
    788         //testDevice.allocateCapacity(allDeall); 
    789         //testDevice.displayProperties(); 
    790         //allDeall[0].id = CORBA::string_dup("CapacT_1"); 
    791         //testDevice.deallocateCapacity(allDeall); 
    792  
    793         //deallocate wrong value type 
    794         //printf("\nallocate\n"); 
    795         //testDevice.allocateCapacity(allDeall); 
    796         //testDevice.displayProperties(); 
    797         //type = "ulong"; value = "2"; 
    798         //allDeall[0].value = ORB_WRAP::anyType( type.c_str(), value.c_str() ); 
    799         //testDevice.deallocateCapacity(allDeall); 
    800  
    801  
    802         return; 
    803 }*/ 
    804  
    805 #endif 
    806  
  • /ossiecf/trunk/PropertySet_impl.cpp

    r17 r23  
     1/**************************************************************************** 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Core Framework. 
     6 
     7OSSIE Core Framework is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Core Framework is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Core Framework; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21****************************************************************************/ 
     22 
    123#include "PropertySet_impl.h" 
    224 
     
    7799 
    78100        for( int j = 0; j < numProperties; j++ ) { 
    79 //              configProperties[j] = getProperty( CORBA::string_dup( validProperties[j].id ) ); 
    80101                configProperties[j] = getProperty( CORBA::string_dup( validProperties[j].id ) ); 
    81102        } 
  • /ossiecf/trunk/ExecutableDevice_impl.cpp

    r17 r23  
    1 /* ************************************************************************************************ 
     1/**************************************************************************** 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Core Framework. 
     6 
     7OSSIE Core Framework is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Core Framework is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Core Framework; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
    221EXECUTABLEDEVICE_IMPL.CPP 
    322        Functions for class ExecutableDevice_impl. Provides a mechanism to execute and terminate 
    423        processes on the device. 
    524 
    6 OSSI:E, MPRG, Virginia Tech 
    725Craig Neely, Carlos Aguayo, 12 December 2003 
    8 ************************************************************************************************ */ 
    9  
     26 
     27****************************************************************************/ 
    1028 
    1129/* INCLUDED FILES ********************************************************************************* 
     
    316334        printf("\nInitialize from ExecutableDevice_impl\n"); 
    317335} 
    318  
    319  
    320 /* TESTING FUNCTIONS ****************************************************************************** 
    321 ************************************************************************************************ */ 
    322 #ifdef AUTOMATIC_TEST 
    323  
    324  
    325 /* displayProcessIdList *************************************************************************** 
    326         - displays all entries in the process ID list 
    327 ************************************************************************************************ */ 
    328 void ExecutableDevice_impl::displayProcessIdList() 
    329 { 
    330         printf("\nThere are %d processes running\n",processIdList.size()); 
    331         std::vector<ProcessIdNode>::iterator p = processIdList.begin(); 
    332  
    333         while (p != processIdList.end()) 
    334         { 
    335                 printf("PID %d\n",p->processId); 
    336                 p++; 
    337         } 
    338 } 
    339  
    340  
    341 /* executableDeviceAutomaticTest ****************************************************************** 
    342         - terminates a process on the machine 
    343 ************************************************************************************************ */ 
    344 /*void executableDeviceAutomaticTest() 
    345 { 
    346         // instantiate a device 
    347         char* label = "LABEL_TEST_EXEC_DEVICE"; 
    348         char* sProfile = "SOFTWARE_PROFILE_TEST_EXEC_DEVICE"; 
    349         ExecutableDevice_impl execDevice(label, sProfile); 
    350         execDevice.displayProcessIdList(); 
    351  
    352         char* process = "process1.exe"; 
    353  
    354         // generate options and parameters 
    355         CF::Properties options; 
    356         options.length(2); 
    357         CORBA::Any anyVar; 
    358          
    359         options[0].id = CORBA::string_dup("STACK_SIZE"); 
    360         char* type = "ulong"; 
    361         char* value = "1"; 
    362         ORB_WRAP::anyType( type, value, anyVar); 
    363         options[0].value = anyVar; 
    364          
    365         options[1].id = CORBA::string_dup("PRIORITY"); 
    366         type = "ulong"; value = "2"; 
    367         ORB_WRAP::anyType( type, value, anyVar); 
    368         options[1].value = anyVar; 
    369                  
    370         printf("\nOptions\n"); 
    371         execDevice.displayProperties(options); 
    372          
    373         CF::Properties parameters; 
    374         parameters.length(2); 
    375          
    376         parameters[0].id = CORBA::string_dup("Parameter1"); 
    377         type = "string"; value = "1"; 
    378         ORB_WRAP::anyType( type, value, anyVar); 
    379         parameters[0].value = anyVar; 
    380          
    381         parameters[1].id = CORBA::string_dup("Parameter2"); 
    382         type = "string"; value = "2"; 
    383         ORB_WRAP::anyType( type, value, anyVar); 
    384         parameters[1].value = anyVar; 
    385                  
    386         printf("\nParameters\n"); 
    387         execDevice.displayProperties(parameters); 
    388  
    389         ProcessID_Type termPID; 
    390  
    391         // execute 
    392         execDevice.execute(process, options, parameters); 
    393         execDevice.displayProcessIdList(); 
    394  
    395         // execute 
    396         termPID = execDevice.execute(process, options, parameters); 
    397         execDevice.displayProcessIdList(); 
    398  
    399         // execute 
    400         execDevice.execute(process, options, parameters); 
    401         execDevice.displayProcessIdList(); 
    402  
    403         getch(); 
    404  
    405         // terminate 
    406         execDevice.terminate(termPID); 
    407         execDevice.displayProcessIdList(); 
    408  
    409         // execute 
    410         execDevice.execute(process, options, parameters); 
    411         execDevice.displayProcessIdList(); 
    412  
    413         // terminate 
    414         execDevice.terminate(1); 
    415         execDevice.displayProcessIdList(); 
    416  
    417         // terminate 
    418         execDevice.terminate(2); 
    419         execDevice.displayProcessIdList(); 
    420  
    421         // terminate 
    422         execDevice.terminate(3); 
    423         execDevice.displayProcessIdList(); 
    424 }*/ 
    425  
    426 #endif 
  • /ossiecf/trunk/Application_impl.cpp

    r8 r23  
     1/**************************************************************************** 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Core Framework. 
     6 
     7OSSIE Core Framework is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Core Framework is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Core Framework; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21****************************************************************************/ 
     22 
    123#include "Application_impl.h" 
    224 
     
    93115void Application_impl::start() 
    94116{ 
    95         // TODO: implement all of this 
    96117        assemblyController->start(); 
    97118} 
     
    100121void Application_impl::stop() 
    101122{ 
    102         // TODO: implement all of this 
    103123        assemblyController->stop(); 
    104124} 
     
    107127void Application_impl::initialize() 
    108128{ 
    109         // TODO: implement all of this 
    110129        assemblyController->initialize(); 
    111130} 
     
    114133void Application_impl::releaseObject() 
    115134{ 
    116         // TODO: implement all of this 
    117135        assemblyController=CF::Resource::_nil(); 
    118136        sadParser = new SADParser( sadProfile ); 
    119137 
     138        // break all connections in the application 
    120139        std::vector<Connection*>* _connection = sadParser->getConnections(); 
    121140 
     
    140159                _port->disconnectPort( CORBA::string_dup( (*_connection)[ _numConnections ]->getID() ) ); 
    141160        } 
    142  
     161         
     162        // release all resources 
    143163        std::vector<SADComponentPlacement*>* ComponentsVector = sadParser->getComponents(); 
    144  
    145164        for( int _numComponentVector = 0; _numComponentVector < ComponentsVector->size(); _numComponentVector++ ) 
    146165        { 
     
    212231 
    213232CF::DeviceAssignmentSequence* Application_impl::componentDevices()      { return this->appComponentDevices; } 
    214  
    215  
  • /ossiecf/trunk/LifeCycle_impl.h

    r8 r23  
     1/**************************************************************************** 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Core Framework. 
     6 
     7OSSIE Core Framework is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Core Framework is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Core Framework; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21****************************************************************************/ 
     22 
    123#ifndef LIFECYCLE_IMPL_H 
    224#define LIFECYCLE_IMPL_H 
  • /ossiecf/trunk/DomainManager_impl.h

    r17 r23  
     1/**************************************************************************** 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Core Framework. 
     6 
     7OSSIE Core Framework is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Core Framework is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Core Framework; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21****************************************************************************/ 
     22 
    123#ifndef __DOMAINMANAGER_IMPL__ 
    224#define __DOMAINMANAGER_IMPL__ 
    325 
     26#include "CosEvent/CEC_EventChannel.h" 
     27 
     28#include "CosEvent/CEC_ConsumerAdmin.h" 
     29 
     30#include "CosEvent/CEC_Default_Factory.h" 
     31 
    432#include "CFS.h" 
    533 
     
    1341 
    1442#include "CosEventChannelAdminS.h" 
    15  
    16 #include "CosEvent/CEC_EventChannel.h" 
    17  
    18 #include "CosEvent/CEC_ConsumerAdmin.h" 
    19  
    20 #include "CosEvent/CEC_Default_Factory.h" 
    2143 
    2244#include "FileManager_impl.h" 
  • /ossiecf/trunk/FileManager_impl.cpp

    r8 r23  
     1/**************************************************************************** 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Core Framework. 
     6 
     7OSSIE Core Framework is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Core Framework is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Core Framework; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21****************************************************************************/ 
     22 
    123#include "FileManager_impl.h" 
    224 
     
    7799        _mt.fs = _fileSystem; 
    78100 
    79 //      lookUp[ numMounts ].mountPoint = CORBA::string_dup( mountPoint ); 
    80 //      lookUp[ numMounts ].fs = (CF::FileSystem_ptr) _fileSystem; 
    81  
    82101        lookUp[ numMounts ] = _mt; 
    83102 
     
    86105        if( ACE_OS::strcmp( mountPoint, "/test" ) == 0 ) 
    87106                ACE_OS::printf( "%d\n", mountPoint ); 
    88  
    89 //      ACE_OS::printf( "mounted %s\n", lookUp[ numMounts-1 ].mountPoint ); 
    90107} 
    91108 
     
    250267CF::File_ptr FileManager_impl::open(const char* fileName, CORBA::Boolean read_Only) 
    251268{ 
    252 //      char* _fullPath = new char[ strlen( root ) + strlen( fileName ) + 1 ]; 
    253  
    254 //      ACE_OS::strcpy( _fullPath, root ); 
    255 //      ACE_OS::strcat( _fullPath, fileName ); 
    256  
    257269        try 
    258270        { 
    259                 //CF::FileManager::MountType _mt = getMountTypeByFile( _fullPath ); 
    260271                CF::FileManager::MountType _mt = getMountType( getRelName( fileName ) ); 
    261  
    262                 //delete _fullPath; 
    263                 //_fullPath = NULL; 
    264  
    265272                return _mt.fs->open( fileName, read_Only ); 
    266273        } catch( CF::InvalidFileName& _ifn ) {  
    267                 //delete _fullPath; 
    268                 //_fullPath = NULL; 
    269274                throw _ifn;  
    270275        } 
     
    382387CF::FileManager::MountType& FileManager_impl::getMountTypeByFile( const char* _fullPath ) 
    383388{ 
    384 //      if( FileSystem_impl::exists( _fullPath ) ) 
    385 //              return (CF::FileManager::MountType&)lookUp[ 0 ]; 
    386  
    387389        for( int i = 0; i < numMounts; i++ ) 
    388390        { 
     
    410412 
    411413CF::FileManager::MountSequence* FileManager_impl::getMounts() { return &lookUp; } 
    412  
  • /ossiecf/trunk/PortSupplier_impl.h

    r8 r23  
     1/**************************************************************************** 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Core Framework. 
     6 
     7OSSIE Core Framework is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Core Framework is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Core Framework; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21****************************************************************************/ 
     22 
    123#ifndef PORTSUPPLIER_IMPL_H 
    224#define PORTSUPPLIER_IMPL_H 
  • /ossiecf/trunk/ossiecf.h

    r8 r23  
     1/**************************************************************************** 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Core Framework. 
     6 
     7OSSIE Core Framework is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Core Framework is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Core Framework; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21****************************************************************************/ 
     22 
    123 
    224// The following ifdef block is the standard way of creating macros which make exporting  
  • /ossiecf/trunk/File_impl.cpp

    r8 r23  
     1/**************************************************************************** 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Core Framework. 
     6 
     7OSSIE Core Framework is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Core Framework is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Core Framework; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21****************************************************************************/ 
     22 
    123/* SCA */ 
    224 
  • /ossiecf/trunk/LoadableDevice_impl.cpp

    r17 r23  
    1 /* ************************************************************************************************ 
     1/**************************************************************************** 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Core Framework. 
     6 
     7OSSIE Core Framework is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Core Framework is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Core Framework; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
    221LOADABLEDEVICE_IMPL.CPP 
    322        Functions for class LoadableDevice_impl. Provides a mechanism to load and unload 
    423        software on the device. 
    524 
    6 OSSI:E, MPRG, Virginia Tech 
    725Craig Neely, Carlos Aguayo, 12 December 2003 
    8 ************************************************************************************************ */ 
    9  
     26 
     27****************************************************************************/ 
    1028 
    1129/* INCLUDED FILES ********************************************************************************* 
     
    157175                        } 
    158176                        return; 
    159                          
    160177                } 
    161178        } 
     
    186203        printf("\nInitialize from LoadableDevice_impl\n"); 
    187204} 
    188  
    189  
    190 /* TESTING FUNCTIONS ****************************************************************************** 
    191 ************************************************************************************************ */ 
    192 #ifdef AUTOMATIC_TEST 
    193  
    194  
    195 /* displayLoadedFiles ***************************************************************************** 
    196         - prints the list of loaded files to the console (not currently implemented) 
    197 ************************************************************************************************ */ 
    198 void LoadableDevice_impl::displayLoadedFiles() 
    199 { 
    200         printf("\nDisplaying Loaded Files\n\n"); 
    201         for(int i = 0; i<loadedFiles.size();i++) 
    202         { 
    203                 printf("%s has been loaded %d time(s)\n",loadedFiles[i].fileId,loadedFiles[i].counter); 
    204         } 
    205  
    206 } 
    207  
    208  
    209 /* loadableDeviceAutomaticTest ******************************************************************** 
    210         - tests the loadableDevice class 
    211 ************************************************************************************************ */ 
    212 /*void loadableDeviceAutomaticTest() 
    213 { 
    214         printf("\n\nAutomatic Test LoadableDevice\n"); 
    215         char* label = "LABEL_TEST_LOAD_DEVICE"; 
    216         char* sProfile = "SOFTWARE_PROFILE_TEST_LOAD_DEVICE"; 
    217  
    218         LoadableDevice_impl loadDevice(label, sProfile); 
    219  
    220         loadDevice.displayLoadedFiles(); 
    221 }*/ 
    222  
    223 #endif 
  • /ossiecf/trunk/FileSystem_impl.cpp

    r17 r23  
     1/**************************************************************************** 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Core Framework. 
     6 
     7OSSIE Core Framework is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Core Framework is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Core Framework; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21****************************************************************************/ 
     22 
    123/* SCA */ 
    224 
     
    135157CF::FileSystem::FileInformationSequence* FileSystem_impl::list(const char* pattern)/*throws FileException , InvalidFileName*/ 
    136158{ 
    137 //      char* sptr = strchr(pattern,ROOT_DIR ); 
    138  
    139 //      if ((sptr-pattern)!=0) 
    140 //              throw CF::InvalidFileName(); 
    141                  
    142159        CF::FileSystem::FileInformationType* fitBuf = new CF::FileSystem::FileInformationType[ MAX_FILES ]; 
    143160 
     
    312329 
    313330                char* _pwf = appendFileName( _root, dp->d_name ); 
    314                 //char* _pwf = appendFileName( "", dp->d_name ); 
    315331 
    316332                ACE_OS::stat( _pwf, &fileStats ); 
     
    326342                if( _pattern == NULL ) 
    327343                { 
    328                         //_fit->name = CORBA::string_dup( _pwf ); 
    329344                        _fit->name = CORBA::string_dup( dp->d_name ); 
    330345 
     
    352367                else if( _pattern != NULL && ACE_OS::strstr( _pwf, _pattern ) != NULL ) 
    353368                {  
    354 //                      ACE_OS::printf( "%s\n", _pwf ); 
    355  
    356369                        _fit->name = CORBA::string_dup( dp->d_name ); 
    357370 
     
    385398        _fit = _first; 
    386399} 
    387  
  • /ossiecf/trunk/Resource_impl.h

    r8 r23  
     1/**************************************************************************** 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Core Framework. 
     6 
     7OSSIE Core Framework is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Core Framework is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Core Framework; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21****************************************************************************/ 
     22 
    123#ifndef RESOURCE_IMPL_H 
    224#define RESOURCE_IMPL_H 
  • /ossiecf/trunk/LifeCycle_impl.cpp

    r8 r23  
     1/**************************************************************************** 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Core Framework. 
     6 
     7OSSIE Core Framework is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Core Framework is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Core Framework; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21****************************************************************************/ 
     22 
    123#include "LifeCycle_impl.h" 
    224 
  • /ossiecf/trunk/DeviceManager_impl.h

    r17 r23  
     1/**************************************************************************** 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Core Framework. 
     6 
     7OSSIE Core Framework is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Core Framework is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Core Framework; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21****************************************************************************/ 
     22 
    123#ifndef DEVICE_MANAGER_IMPL_H 
    224#define DEVICE_MANAGER_IMPL_H 
  • /ossiecf/trunk/TestableObject_impl.h

    r8 r23  
     1/**************************************************************************** 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Core Framework. 
     6 
     7OSSIE Core Framework is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Core Framework is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Core Framework; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21****************************************************************************/ 
     22 
    123#ifndef TESTABLEOBJECT_IMPL_H 
    224#define TESTABLEOBJECT_IMPL_H 
  • /ossiecf/trunk/ApplicationFactory_impl.h

    r8 r23  
     1/**************************************************************************** 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Core Framework. 
     6 
     7OSSIE Core Framework is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Core Framework is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Core Framework; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21****************************************************************************/ 
     22 
    123#ifndef APPLICATIONFACTORY_H 
    224#define APPLICATIONFACTORY_H 
  • /ossiecf/trunk/DomainManager_impl.cpp

    r17 r23  
     1/**************************************************************************** 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Core Framework. 
     6 
     7OSSIE Core Framework is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Core Framework is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Core Framework; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21****************************************************************************/ 
     22 
    123/* SCA */ 
    224/* Include files */ 
     
    729DomainManager_impl::~DomainManager_impl()  
    830{ 
    9         /*CosNaming::Name _name; 
    10         _name.length(1); 
    11         _name[0].id = CORBA::string_dup( "/DomainName" );*/ 
    12  
    13         /*for (int i=0; i<_deviceManagers.length(); i++) { 
    14                 _deviceManagers[i]->shutdown(); 
    15         }*/ 
    16  
    1731        destroyEventChannels(); 
    1832 
     
    3145        nc->unbind(_name); 
    3246 
    33         //CosNaming::NamingContext_ptr nc = _orb_wrap->getNamingContext(); 
    34          
    35         //nc->unbind(_name); 
    3647        nc->destroy(); 
    3748 
    3849        /************************************************** 
    3950        *       Save current state for configuration recall   * 
     51        *       this is not supported by this version             * 
    4052        **************************************************/ 
    41  
    42 //      delete _fileMgr; 
    43 //      _fileMgr = NULL; 
    44  
    45         //delete _domainManagerProfile; 
    46         //_domainManagerProfile = NULL; 
    4753} 
    4854 
     
    8187        ORB_WRAP::getCosName( _name, "/DomainName" ); 
    8288 
    83         //CosNaming::NamingContext_ptr nc=NULL; 
    84  
    8589        CosNaming::NamingContext_ptr nc = _orb_wrap->getNamingContext(); 
    8690         
     
    9397        nc->rebind(_dmnName, domain_manager_objReference.in()); 
    9498 
     99        // Create file manager 
    95100        FileManager_impl* _fileMgrImpl = new FileManager_impl(); 
    96101 
    97         //_root_poa->activate_object( _fileMgrImpl ); //Now the activation is done at the filemanager constructor 
    98  
    99102        _fileMgr = _fileMgrImpl->_this(); 
    100103 
    101104        char* DMDInput = NULL; 
    102105 
     106        //      find available DMD 
    103107        CF::FileSystem::FileInformationSequence* _dmdProfiles 
    104108                = _fileMgr->list( "_DMD.xml" ); 
     
    150154        /******************** 
    151155        *       Create services * 
     156        * (not supported)       * 
    152157        ********************/ 
    153158} 
     
    167172void DomainManager_impl::registerDeviceManager(CF::DeviceManager_ptr deviceMgr)  
    168173{ 
    169         //printf("\n\n\nRegistering Device Manager\n"); 
    170         //printf("Yeahhhh It Works!!!!!!!\n\n\n"); 
    171174        //      make sure that the pointer is valid 
    172175        if( CORBA::is_nil(deviceMgr) ) 
     
    180183         
    181184        addDeviceMgr(deviceMgr); 
    182  
    183185 
    184186        //The registerDeviceManager operation shall, upon successful DeviceManager registration, send 
     
    199201        _objAddedEvent1.sourceName = CORBA::string_dup( deviceMgr->label() ); 
    200202 
    201         //_objAddedEvent1.sourceIOR = deviceMgr; 
    202  
    203203        _objAddedEvent1.sourceCategory = StandardEvent::DEVICE_MANAGER; 
    204204 
     
    217217        _fileMgr->mount( mountPoint, deviceMgr->fileSys() ); 
    218218 
    219  
    220219        //      add all devices under device manager to registereddevice att. 
    221220        //      associate input deviceMgr with registeredDevices 
    222221        addDeviceMgrDevices(deviceMgr); 
    223222 
    224          
    225223        //      add all services under device manager to registeredservices 
    226224        //      associate input deviceMgr with registeredservices 
    227225        addDeviceMgrServices(deviceMgr); 
    228226 
    229          
    230227        //NOTE: The SCA V2.2 describes that all service connections should be established at this point. 
    231228        //That step has been performed by the registerDevice operation (called by addDeviceMgrDevices) and by 
     
    320317        //Write log record upon successful registration of Device Manager 
    321318        /*writeLogRecord(ADMINISTRATIVE_EVENT, successful unregistration of DeviceManager);*/ 
    322  
    323319 
    324320        //The unregisterDeviceManager operation shall, upon successful unregistration, send an event to 
     
    403399        } 
    404400 
    405  
    406401        //Verify that input is a registered DeviceManager 
    407402        if( !deviceMgrIsRegistered(registeredDeviceMgr) ) 
     
    438433        _objAddedEvent.producerId = CORBA::string_dup( this->_identifier ); 
    439434 
    440         //_objAddedEvent.sourceId = CORBA::string_dup( registeringDevice->identifier() );//Devices dont have identifiers 
    441  
    442435        _objAddedEvent.sourceName = CORBA::string_dup( registeringDevice->label() ); 
    443  
    444         //_objAddedEvent.sourceIOR = registeringDevice; 
    445436 
    446437        _objAddedEvent.sourceCategory = StandardEvent::DEVICE; 
     
    458449        //No other sanity test is performed. In the event of any internal error that impedes a succesful registration,  
    459450        // a FAILURE_ALARM log record should be written and the RegisterError exception should be raised 
    460  
    461         displayRegisteredDevices(); 
    462451} 
    463452 
     
    491480        else 
    492481        { 
    493                  
    494482                //add registeringDevice to DomainManager's registeredDevices 
    495483                _registeredDevices.push_back(newDeviceNode); 
     
    609597bool DomainManager_impl::deviceIsRegistered(CF::Device_ptr registeredDevice) 
    610598{ 
    611          
    612  
    613599        for(int i = 0; i<_registeredDevices.size();i++) 
    614600        { 
     
    621607        } 
    622608        return false; 
    623  
    624          
    625          
    626 /*      vector<DeviceNode*>::iterator p = _registeredDevices.begin(); 
    627         //check if device is already registered 
    628         while(p!=_registeredDevices.end()) 
    629         { 
    630                 DeviceNode* _tmp = *p; 
    631  
    632                 if( strcmp(registeredDevice->label(), _tmp->devicePtr->label()) ) 
    633                 { 
    634                         return true; //registeredDevice is registered 
    635                 } 
    636                 else 
    637                 { 
    638                         p++; 
    639                 } 
    640         } 
    641         //If this part is reached, registeredDevice is not registered 
    642         return false;*/ 
    643  
    644609} 
    645610         
     
    657622        return false; 
    658623} 
    659  
    660  
    661  
    662624 
    663625void DomainManager_impl::establishServiceConnections() 
     
    682644 
    683645} 
    684  
    685646 
    686647void DomainManager_impl::sendEventToOutgoingChannel( CORBA::Any& _event ) 
     
    914875    // Connect to the Push supplier: Raises AlreadyConnected 
    915876    supplier->connect_push_consumer(consumer); 
    916  
    917 //      cout << "Connected to the Event Channel" << endl; 
    918 /*       
    919         CORBA::String_var eventData = CORBA::string_dup("Hello World!!"); 
    920         CORBA::Any any; 
    921         any <<= eventData; 
    922  
    923         consumer->push (any); 
    924 */ 
    925877} 
    926878 
     
    11221074    nc->unbind(_name); 
    11231075 
    1124     //delete _idmEventChannel; 
    1125  
    11261076    _idmEventChannel = NULL; 
    11271077 
     
    11311081 
    11321082    nc->unbind(_name); 
    1133  
    1134     //delete _odmEventChannel; 
    11351083 
    11361084    _odmEventChannel = NULL; 
     
    11801128} 
    11811129 
    1182 /* 
    1183 void DomainManager_impl::disconnect_push_consumer() 
     1130DomainManagerEventHandler::DomainManagerEventHandler( DomainManager_impl* _dmn ) 
     1131{ 
     1132        _dmnMgr = _dmn; 
     1133} 
     1134 
     1135void DomainManagerEventHandler::push( const CORBA::Any& _any ) 
     1136{ 
     1137        _dmnMgr->_applications[ 0 ] = CF::Application::_nil(); 
     1138} 
     1139 
     1140void DomainManagerEventHandler::disconnect_push_consumer() 
    11841141{ 
    11851142        CORBAOBJ _obj = ORB_WRAP::orb->resolve_initial_references( "POACurrent" ); 
     
    11931150        _poa->deactivate_object( _oid ); 
    11941151} 
    1195  
    1196 void DomainManager_impl::push( const CORBA::Any& _data ) 
    1197 { 
    1198 } 
    1199 */ 
    1200  
    1201 DomainManagerEventHandler::DomainManagerEventHandler( DomainManager_impl* _dmn ) 
    1202 { 
    1203         _dmnMgr = _dmn; 
    1204 } 
    1205  
    1206 void DomainManagerEventHandler::push( const CORBA::Any& _any ) 
    1207 { 
    1208         _dmnMgr->_applications[ 0 ] = CF::Application::_nil(); 
    1209 } 
    1210  
    1211 void DomainManagerEventHandler::disconnect_push_consumer() 
    1212 { 
    1213         CORBAOBJ _obj = ORB_WRAP::orb->resolve_initial_references( "POACurrent" ); 
    1214  
    1215         PortableServer::Current_var _current = PortableServer::Current::_narrow( _obj ); 
    1216  
    1217         PortableServer::POA_var _poa = _current->get_POA(); 
    1218  
    1219         PortableServer::ObjectId_var _oid = _current->get_object_id(); 
    1220  
    1221         _poa->deactivate_object( _oid ); 
    1222 } 
    1223  
    1224 #ifdef AUTOMATIC_TEST 
    1225  
    1226 void DomainManager_impl::displayAttributes(void) 
    1227 { 
    1228         printf("\n\nDomain Manager Identifier: %s \n", _identifier); 
    1229         printf("\nDomain Manager Profile: %s \n\n", _domainManagerProfile); 
    1230 } 
    1231  
    1232 void DomainManager_impl::displayDeviceManagers(void) 
    1233 { 
    1234         //CF::DeviceManager_ptr myDevMgr_ptr; 
    1235         if(_deviceManagers.length() > 0) 
    1236         { 
    1237                 printf("\nDevice Managers registered in %s Domain Manager\n", this->identifier()); 
    1238                 for (int i = 0; i < _deviceManagers.length(); i++) 
    1239                 { 
    1240                         printf( "\n  %s\n", _deviceManagers[i]->label()); 
    1241                 } 
    1242         } 
    1243         else 
    1244         { 
    1245                 printf("\nThere are no Device Managers registered in %s Domain Manager\n", this->identifier()); 
    1246         } 
    1247  
    1248 } 
    1249  
    1250 void DomainManager_impl::displayRegisteredDevices(void) 
    1251 { 
    1252          
    1253         //CF::DeviceManager_ptr myDevMgr_ptr; 
    1254         if(_registeredDevices.size() > 0) 
    1255         { 
    1256                 printf("\nDevices registered in %s Domain Manager\n", this->identifier()); 
    1257                 for (int i = 0; i < _registeredDevices.size(); i++) 
    1258                 { 
    1259                         printf( "\n  %s\n", _registeredDevices[i]->devicePtr->label()); 
    1260                 } 
    1261         } 
    1262         else 
    1263         { 
    1264                 printf("\nThere are no registered Devices in %s Domain Manager\n", this->identifier()); 
    1265         } 
    1266  
    1267 } 
    1268  
    1269  
    1270 /*void domainManagerAutomaticTest(void) 
    1271 { 
    1272         printf("\nDomain Manager Automatic Test\n"); 
    1273         //Create a DomainManager Instance 
    1274         DomainManager_impl* dmnMgr = new DomainManager_impl( "DomainManager_DMD.xml" ); 
    1275         //DomainManager_impl dmnMgr( "DomainManager_DMD.xml" ); 
    1276         //print Attributes 
    1277         dmnMgr->displayAttributes(); 
    1278         dmnMgr->displayDeviceManagers(); 
    1279  
    1280         //Instatiate a Device Manager 
    1281         DeviceManager_impl* devMgr = new DeviceManager_impl("OSSIEDeviceManager_DCDv2.xml"); //This constructor will register 
    1282         DeviceManager_impl* devMgr2 = new DeviceManager_impl();                                                 //itself with the DmnMgr 
    1283         //DeviceManager_impl devMgr; 
    1284         devMgr->displayRegisteredDevices(); 
    1285  
    1286         printf("\nRegistering Device Manager\n"); 
    1287         //CF::DeviceManager_ptr thisMgr = devMgr->_this(); 
    1288         dmnMgr->registerDeviceManager( devMgr2->_this() ); 
    1289         //CF::DeviceManager_ptr thisMgr2 = devMgr->_this(); 
    1290         dmnMgr->displayDeviceManagers(); 
    1291         dmnMgr->displayRegisteredDevices(); 
    1292  
    1293  
    1294         printf("\nUnregistering Device Manager\n"); 
    1295         dmnMgr->unregisterDeviceManager( devMgr->_this() ); 
    1296         dmnMgr->displayDeviceManagers(); 
    1297         dmnMgr->displayRegisteredDevices(); 
    1298          
    1299         //printf("\nRegistering 2 Device Managers\n"); 
    1300         //dmnMgr->registerDeviceManager( devMgr->_this() ); 
    1301         //dmnMgr->registerDeviceManager( devMgr2->_this() ); 
    1302         //dmnMgr->displayDeviceManagers(); 
    1303  
    1304         printf("\nDomain Manager Automatic Test DONE!!\n"); 
    1305 }*/ 
    1306  
    1307 #endif 
  • /ossiecf/trunk/Device_impl.h

    r17 r23  
     1/**************************************************************************** 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Core Framework. 
     6 
     7OSSIE Core Framework is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Core Framework is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Core Framework; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21****************************************************************************/ 
     22 
    123#ifndef DEVICE_IMPL_H 
    224#define DEVICE_IMPL_H 
  • /ossiecf/trunk/PropertySet_impl.h

    r8 r23  
     1/**************************************************************************** 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Core Framework. 
     6 
     7OSSIE Core Framework is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Core Framework is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Core Framework; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21****************************************************************************/ 
     22 
    123#ifndef PROPERTYSET_IMPL_H 
    224#define PROPERTYSET_IMPL_H 
  • /ossiecf/trunk/ExecutableDevice_impl.h

    r17 r23  
    1 /* ************************************************************************************************ 
     1/**************************************************************************** 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Core Framework. 
     6 
     7OSSIE Core Framework is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Core Framework is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Core Framework; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
    221EXECUTABLEDEVICE_IMPL.H 
    322        Class defintion for ExecutableDevice_impl. 
    423 
    5 OSSI:E, MPRG, Virginia Tech 
    624Craig Neely, Carlos Aguayo, 12 December 2003 
    7 ************************************************************************************************ */ 
     25 
     26****************************************************************************/ 
     27 
    828#ifndef EXECUTABLE_DEVICE_IMPL_H 
    929#define EXECUTABLE_DEVICE_IMPL_H 
  • /ossiecf/trunk/PortSupplier_impl.cpp

    r8 r23  
     1/**************************************************************************** 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Core Framework. 
     6 
     7OSSIE Core Framework is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Core Framework is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Core Framework; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21****************************************************************************/ 
     22 
    123#include "PortSupplier_impl.h" 
    224 
  • /ossiecf/trunk/Application_impl.h

    r8 r23  
     1/**************************************************************************** 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Core Framework. 
     6 
     7OSSIE Core Framework is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Core Framework is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Core Framework; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21****************************************************************************/ 
     22 
    123#ifndef APPLICATION_H 
    224#define APPLICATION_H 
  • /ossiecf/trunk/ossiecf.cpp

    r8 r23  
     1/**************************************************************************** 
     2 
     3Copyright 2004, Virginia Polytechnic Institute and State University 
     4 
     5This file is part of the OSSIE Core Framework. 
     6 
     7OSSIE Core Framework is free software; you can redistribute it and/or modify 
     8it under the terms of the Lesser GNU General Public License as published by 
     9the Free Software Foundation; either version 2.1 of the License, or 
     10(at your option) any later version. 
     11 
     12OSSIE Core Framework is distributed in the hope that it will be useful, 
     13but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15Lesser GNU General Public License for more details. 
     16 
     17You should have received a copy of the Lesser GNU General Public License 
     18along with OSSIE Core Framework; if not, write to the Free Software 
     19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     20 
     21****************************************************************************/ 
     22 
    123// ossiecf.cpp : Defines the entry point for the DLL application. 
    224// 
     
    2042    return TRUE; 
    2143} 
    22  
    23 /* 
    24 // This is an example of an exported variable 
    25 OSSIECF_API int nOssiecf=0; 
    26  
    27 // This is an example of an exported function. 
    28 OSSIECF_API int fnOssiecf(void) 
    29 { 
    30         return 42; 
    31 } 
    32  
    33 // This is the constructor of a class that has been exported. 
    34 // see ossiecf.h for the class definition 
    35 COssiecf::COssiecf() 
    36 {  
    37         return;  
    38 } 
    39 */