3076dccb4b
- introdotto uso ObjUser per gruppi di macchina - prima versione prototipo delle forature - migliorie al calolo angoli e posizioni macchina.
40 lines
1.3 KiB
C++
40 lines
1.3 KiB
C++
//----------------------------------------------------------------------------
|
|
// EgalTech 2015-2015
|
|
//----------------------------------------------------------------------------
|
|
// File : Table.h Data : 25.05.15 Versione : 1.6e7
|
|
// Contenuto : Dichiarazione della classe Table.
|
|
//
|
|
//
|
|
//
|
|
// Modifiche : 25.05.15 DS Creazione modulo.
|
|
//
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
#pragma once
|
|
|
|
#include "Machine.h"
|
|
#include "/EgtDev/Include/EGkObjUser.h"
|
|
#include "/EgtDev/Include/EGkPoint3d.h"
|
|
|
|
//----------------------------------------------------------------------------
|
|
class Table : public IObjUser
|
|
{
|
|
public :
|
|
virtual Table* Clone( void) const ;
|
|
virtual const std::string& GetClassName( void) const ;
|
|
virtual bool Dump( std::string& sOut, const char* szNewLine = "\n") const ;
|
|
virtual bool SetOwner( int nId) ;
|
|
virtual int GetOwner( void) const ;
|
|
|
|
public :
|
|
Table( void) ;
|
|
bool Set( const std::string& sName, int nType) ;
|
|
const std::string& GetName( void) { return m_sName ; }
|
|
int GetType( void) { return m_nType ; }
|
|
|
|
private :
|
|
int m_nOwnerId ;
|
|
std::string m_sName ;
|
|
int m_nType ;
|
|
} ; |