Hello,
I'm using gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu4) , and I'm using slice2cpp without any flags (except the first time that I used --impl to generate a stub implementation)
Here is the full Slice definition:
Code:
module OpenROCS {
module Support {
module Talon {
struct MInfo {
double cvel;
double cpos;
double dpos;
int raw;
};
enum ImageType {RAW, BIAS, DARK, FLAT};
enum ScanStatus {NEW, DONE, FAIL};
module Telescope {
enum TelStatus {STOPPED, HUNTING, TRACKING, SLEWING, HOMING, LIMITING};
interface TelescopeInterface {
TelStatus getStatus();
MInfo getHAInfo();
MInfo getDecInfo();
MInfo getFocusInfo();
MInfo getFilterInfo(out string filter);
void getCurrentRAHADec(out double ra, out double ha, out double dec);
void getCurrentAltAz(out double alt, out double az);
void getDesiredRAHADec(out double ra, out double ha, out double dec);
void getDesiredAltAz(out double alt, out double az);
int getLights();
};
};
module Camera {
enum CamStatus {IDLE, EXPOSING, READING};
enum CoolerStatus {OFF, AT, RAMPINGUP, RAMPINGDOWN, ERROR};
interface CameraInterface {
idempotent int getTemp();
idempotent int getTargetTemp();
idempotent void setTargetTemp(int temp);
CamStatus getStatus();
CoolerStatus getCoolerStatus();
};
};
module Dome {
enum DomeStatus {ABSENT, STOPPED, ROTATING, HOMING};
enum ShutterStatus {SHABSENT, SHIDLE, SHOPENING, SHCLOSING, SHOPEN, SHCLOSED};
interface DomeInterface {
double getCurrentAz();
double getTargetAz();
DomeStatus getDomeStatus();
ShutterStatus getShutterStatus();
};
};
interface Scan {
ImageType getImageType();
ScanStatus getStatus();
bool isRunning();
void getSubimage(out int sx, out int sy, out int sw, out int sh);
void getBinning(out int bx, out int by);
double getDuration();
string getTitle();
string getComment();
string getObserver();
long startTime();
string getScheduleFile();
string getImageFile();
};
module Cover {
enum CoverStatus {ABSENT, IDLE, OPENING, CLOSING, OPEN, CLOSED};
interface CoverInterface {
CoverStatus getStatus();
};
};
};
};
};
Again, thank you for everything!