trastoamcs.kdevelop: trastoamcs/src/tstatuscontrol_amcs.hpp Source File

Main Page | Directories | File List

# tstatuscontrol_amcs.hpp

    00001 #ifndef TSTATUSCONTROL_AMCS_H
    00002 #define TSTATUSCONTROL_AMCS_H
    00003 #include "tconnection_amcs.hpp"
    00004 #include "tmessages_amcs.hpp"
    00005 #include "tvsp_amcs.hpp"
    00006 #include "tstatuscontrol_amcs.hpp"
    00007 #include <sys/socket.h>
    00008 #include <arpa/inet.h>
    00009 #include <stdlib.h>
    00010 #include <string>
    00011 #include <unistd.h>
    00012 #include <iostream>
    00013 #include <netinet/in.h>
    00014
    00015 class TStatusControl_AMCS{
    00016 public:
    00017
    00018         //Attributes Declaration
    00019         TConnection_AMCS amcsConnection;
    00020         TClientAMCS clientBulletinAndEvent;
    00021         TVSP_AMCS vspSettings;
    00022         int timeoutAMCSMultiplier;
    00023
    00024
    00025         TStatusControl_AMCS();
    00026
    00027         ~TStatusControl_AMCS();
    00028
    00029         //Launch method
    00030         //this is used to launch the object and sequence of process
    00031         bool Launch();
    00032
    00033         //Status Monitor Method
    00034         //Method responsible for checking periodically the bulletin and send appropriate messages
    00035         bool statusMonitor(int i);
    00036
    00037
    00038 };
    00039
    00040 #endif