63 lines
No EOL
1.8 KiB
C++
63 lines
No EOL
1.8 KiB
C++
|
|
/*************************************************************************
|
|
*
|
|
* This file is part of the ACT library
|
|
*
|
|
* Copyright (c) 2024 Fabian Posch
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version 2
|
|
* of the License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
* Boston, MA 02110-1301, USA.
|
|
*
|
|
**************************************************************************
|
|
*/
|
|
|
|
#ifndef __AGENT_ARTIFACT__
|
|
#define __AGENT_ARTIFACT__
|
|
|
|
#include <cluster/artifact.hpp>
|
|
#include <cluster/db_artifact.hpp>
|
|
|
|
class DBSimArtifact : public db::DBArtifact {
|
|
|
|
public:
|
|
|
|
DBSimArtifact(
|
|
const db::uuid_t& id,
|
|
const db::uuid_t& source_pass,
|
|
const db::uuid_t& target_artifact,
|
|
const db::uuid_t& design,
|
|
const db::uuid_t& source_config
|
|
);
|
|
|
|
/**
|
|
* @brief The UUID of the design this simulation uses
|
|
*/
|
|
const db::uuid_t& design = design_;
|
|
|
|
/**
|
|
* @brief The UUID of the simulator configuration
|
|
*/
|
|
const db::uuid_t& source_config = source_config_;
|
|
|
|
private:
|
|
|
|
db::uuid_t design_;
|
|
db::uuid_t source_config_;
|
|
};
|
|
|
|
class DBSimConfigArtifact : public DBSimArtifact, public pl::SimConfigArtifact {};
|
|
class DBSimOutputArtifact : public DBSimArtifact, public pl::SimOutputArtifact {};
|
|
|
|
#endif |